IxNetwork Change Logs - ixiaautomation/IxNetwork GitHub Wiki

1/2/2018: 8.40 ReST API changes

Description:
8.40 has some ReST API changes that may effect your scripts. If you are verifying protocol sessionStatus,
you need to add "?includes=<attribute name>" to the end of the object syntax:
/api/v1/sessions/1/ixnetwork/topology/1/deviceGroup/1/ethernet/1/ipv4/1?includes=sessionStatus

Updated module:
    * IxNetRestApiProtocols.py

Changes:
The following APIs changed:
   * verifyAllProtocolSessionsInternal()                                                                               
   * getNgpfGatewayIpMacAddress()
   * showTopologies()                                                                                                  
   * verifyArp()                                                                                                       
                                                                                                                       
   * NOTE: For bgpIpv4Peer object: The attribute LocalIpv4Ver2 for getting the localIpAddress is removed.

12/16/2017: configTrafficItem parameter enhancements

Description:
This change allows you to create as many endpoints as you need and allows you to configure each flow group (endpoints)
config elements differently.  For example.  Before, configuring framesize 128 applies to all flow groups within the
Traffic Item that you are creating. Now you could configure each flow group with different config elements.

Updated module:
    IxNetRestApiTraffic.py

Changes:
The endpoint parameter is changed to take in a list containing a group of two elements:

Before:
endpoints = [{'name':'Flow-Group-1', 'sources': [topologyObj1], 'destinations': [topologyObj2]}]

Now:
endpoints = [({'name':'Flow-Group-1', 'sources': [topologyObj1], 'destinations': [topologyObj2]},
{'highLevelStreamElements': None})]

Example: For bi-directional traffic, you could configure individual traffic elements:
endpoints = [({'name':'Flow-Group-1', 'sources': [topologyObj1], 'destinations': [topologyObj2]},
               {'highLevelStreamElements': [
                     ({'transmissionType': 'fixedFrameCount',
                       'frameCount': 10000,
                       'frameRate': 18,
                      'frameRateType': 'percentLineRate',
                        frameSize': 128}),
                     ({
                       'transmissionType': 'fixedFrameCount',
                       'frameCount': 20000,
                       'frameRate': 28,
                       'frameRateType': 'percentLineRate',
                       'frameSize': 228})
               ]
           })]