params = { "ixChassisIp": "192.168.70.128", "portList": [["192.168.70.128", "1", "1"], ["192.168.70.128", "1", "2"] ], "topology": [ { "name": "Topology-1", "ports": [["192.168.70.128", "1", "1"]], "deviceGroup": [ { "name": "DG-1", "multiplier": 1, "ethernet": [ { "name": "Ethernet-1", "macAddress": {"start": "00:01:01:00:00:01", "direction": "increment", "step": "00:00:00:00:00:01"}, "macAddressPortStep": "disabled", "vlanId": {"start": 101, "direction": "increment", "step": 0}, "ipv4": [ { "name": "ipv4-2", "address": {"start": "1.1.1.1", "direction": "increment", "step": "0.0.0.1"}, "ipv4AddressPortStep": "disabled", "gateway": {"start": "1.1.1.2", "direction": "increment", "step": "0.0.0.1"}, "gatewayPortStep": "disabled", "prefix": 24 } ] } ] } ] }, { "name": "Topology-2", "ports": [["192.168.70.128", "1", "2"]], "deviceGroup": [ { "name": "DG-2", "multiplier": 1, "ethernet": [ { "name": "Ethernet-2", "macAddress": {"start": "00:01:01:00:00:02", "direction": "increment", "step": "00:00:00:00:00:01"}, "macAddressPortStep": "disabled", "vlanId": {"start": 101, "direction": "increment", "step": 0}, "ipv4": [ { "name": "ipv4-2", "address": {"start": "1.1.1.2", "direction": "increment", "step": "0.0.0.1"}, "ipv4AddressPortStep": "disabled", "gateway": {"start": "1.1.1.1", "direction": "increment", "step": "0.0.0.1"}, "gatewayPortStep": "disabled", "prefix": 24 } ] } ] } ] } ], "trafficItems": [ { "name": "Port1 to Port2", "trafficType": "ipv4", "bidirectional": True, "trackBy": ["flowGroup0", "vlanVlanId0"], "endpoints": [{"name": "FlowGroup-1", "sources": ["/topology/1"], "destinations": ["/topology/2"] } ], "configElements": [ { "transmissionType": "fixedPacketCount", "duration": 30, "frameCount": 2000000, "frameRate": 100, "frameRateType": "percentLineRate", "frameSizeType": 'fixed', "frameSize": 64 } ] } ] }