Comments (9)
from ixnetwork.
Thanks, Theresa. It worked!
After defining the list of mac addresses, I would like to turn on the full-mesh communication.
Can you please provide any pointer on how I should do that?
BTW, any documentation for RestPy is highly appreciated.
from ixnetwork.
from ixnetwork.
Thanks for the pointer on the documentation.
I am creating VLAN-tagged IPV4 traffic in my test. In my configuration, the src/dest IPs and src/dst mac addresses are stored in a list, e.g.,
Source IP = [A,B,C]
Dest IP = [C,D,E]
Src Mac = [X Y Z]
dst Mac = [W M N]
I'd like to send packets [A,C, X, W], [B, D, Y, M], and [C,E,Z,N]. I know how to this in IxNetwork (using one-to-one, full-mesh,.. options).
Q1: can you please point me on how to enable this in IXIA RestPy?
Q2: For debugging purposes, Is there any way to store packets (e.g., in JSON format) using the IXIA RestPy API? I would like to get something similar to IxExplorer's packet view option.
from ixnetwork.
from ixnetwork.
from ixnetwork.
Regarding Q2- you can export the traffic item to json file, then download the file to your script machine:
ixnetwork.ResourceManager.ExportConfigFile(['/traffic/trafficItem[1]/descendant-or-self::*'], False, 'json', Files('ti1.json'))
local_filename = sessions.DownloadFile('ti1.json', 'ti1_local.json')
You can view ti1_local.json file. The format will NOT be the same as Packet View in IxExplorer GUI. However, it will contain every field and it's settings. Please give it a try. If you have any issues, you can open a support ticket by sending email to [email protected]. I can help you in more detail.
from ixnetwork.
Thanks, @therkong, and @hubertgee. I will create a ticket as I got more questions.
from ixnetwork.
@therkong I created a ticket. Can you please look into it? Thanks!
Also, I was able to create the JSON based on the approach you mentioned. However, I do not fully understand the output as it is too verbose. Is it possible to generate a more readable one?
from ixnetwork.
Related Issues (20)
- new SDK does not support 8.51 HOT 1
- Why isDataCaptureRunning is false? HOT 5
- How to read vport object HOT 3
- Any timeout for one session HOT 3
- RestPy: CsvSnapshot.update doesn't work HOT 3
- What's sdmPort used for? HOT 1
- method startQuickTest in IxNetRestApiQuickTest.py not work HOT 1
- Bug in function getTrafficItemPktHeaderStackObj HOT 1
- Loadconfig.py not able to find the rfcquicktest object/href HOT 6
- TakeSnapshotPy method used by concurrent sessions can overwrite results
- Cannot start single traffic item HOT 1
- StatViewAssistant - Statistics view does not exist
- ixnetwork-restpy 1.1.5 with IxNetwork 9.20 error with InstanceId is not a string for field stack operation HOT 3
- loadQuickTest.py doesn't download all CSV files properly
- Packet capture does not capture IGMP related data HOT 1
- Incorrect snapshot file at debugging session HOT 1
- Ethernet destination field cannot be updated HOT 2
- prefixAddrStep not available to configNetworkGroup() in IxNetRestApiProtocol.py
- Create a QuickTest without configuration file (ixncfg or json)
- Route range endpoint not selected in traffic destinations HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ixnetwork.