Closed priteshjmodi closed 4 years ago
Remove all traffic item tracking to disable instrumentation.
from ixnetwork_restpy import SessionAssistant
session_assistant = SessionAssistant(IpAddress='127.0.0.1', RestPort=11009, ClearConfig=True) vport1 = session_assistant.Ixnetwork.Vport.add() vport2 = session_assistant.Ixnetwork.Vport.add() traffic1 = session_assistant.Ixnetwork.Traffic.TrafficItem.add(TrafficType='raw') traffic1.EndpointSet.add(Sources=vport1.Protocols.find(), Destinations=vport2.Protocols.find()) tracking = traffic1.Tracking.find() tracking.TrackBy = []
Thank you! It works.
Hi there,
I am trying to completely disable auto instrumentation on a traffic item. In the IxExplorer GUI, I can see the option and remove it. Please let me know how to completely disable AutoInstrumentation from scripts.
But when I try to setup this via restpy script using below option, it does not work.
/usr/lib/python2.7/dist-packages/urllib3/connectionpool.py:794: ------------------------------------------