You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our team typically uses IxExplorer to setup traffic streams & run tests. I am automating some of my work using IxNetwork RestPy. I have discovered that doing so will clear any IxExplorer streams on the physical ports used by my RestPy script. How do I prevent this from happening? If this is not possible, we will not be able to adopt ixnetwork_restpy.
To reproduce this issue:
Login to the chassis through IxExplorer, and create a stream on a port
Run an ixnetwork_restpy script which attaches that port to a vport
Exit IxExplorer, as it shows outdated information at this point
Login to the chassis via IxExplorer again, and discover the stream is missing
A minimal ixnetwork_restpy script:
importjsonfromixnetwork_restpyimportSessionAssistant, Files# create a test tool sessionsession_assistant=SessionAssistant(
IpAddress=CHASSIS_IP,
LogLevel=SessionAssistant.LOGLEVEL_INFO,
ClearConfig=False,
)
ixnetwork=session_assistant.Ixnetwork# create a virtual portvirtual_port=ixnetwork.Vport.add()
# create dict of physical port to bind to# will bind to card 2 port 2 in this examplephysical_port_info= {
"Arg1": CHASSIS_IP,
"Arg2": 2,
"Arg3": 2,
}
# following assign_ports.py sample from https://openixia.github.io/ixnetwork_restpy/#/samplesconnected_ports=ixnetwork.AssignPorts([physical_port_info], [], [virtual_port], False)
From the script logs, I see we are Using IxNetwork api server version 9.31.2302.4. The IxExplorer version is IxExplorer 9.31.3201.13 Patch1.
The text was updated successfully, but these errors were encountered:
Hello,
Our team typically uses IxExplorer to setup traffic streams & run tests. I am automating some of my work using IxNetwork RestPy. I have discovered that doing so will clear any IxExplorer streams on the physical ports used by my RestPy script. How do I prevent this from happening? If this is not possible, we will not be able to adopt ixnetwork_restpy.
To reproduce this issue:
A minimal ixnetwork_restpy script:
From the script logs, I see we are
Using IxNetwork api server version 9.31.2302.4
. The IxExplorer version isIxExplorer 9.31.3201.13 Patch1
.The text was updated successfully, but these errors were encountered: