question

Amitsh avatar image
Amitsh asked

Changin src and dst in a streamblock using rest api

Hi all,
I am trying to change the src and dst emulateddevices in a streamblock using rest api with no success so far,
i have tried changing its children and changing the srcbinding-Targets as well but while it does change in the next get request it does not change in the session manager.
the put request was followed by apply as well.

does anyone know what needs to be modified?

streamblock:

{
    "affiliationstreamblockloadprofile-Targets": "streamblockloadprofile1",
    "IsArpResolved": "false",
    "ShowAllHeaders": "false",
    "affiliationanalyzerpreloadstreamblock-Sources": "analyzerpreloadprofile1",
    "EnableBackBoneTrafficSendToSelf": "true",
    "MbpsLoad": "31",
    "EnableBidirectionalTraffic": "false",
    "Priority": "0",
    "State": "READY",
    "AdvancedInterleavingGroup": "0",
    "TrafficPattern": "PAIR",
    "TimeStampType": "MIN",
    "children": "ipv4:ipv42 udp:udp2",
    "dstbinding-Targets": "ipv4if4",
    "Status": "None",
    "BurstSize": "1",
    "StepFrameLength": "1",
    "ConstantFillPattern": "0",
    "AllowInvalidHeaders": "false",
    "ControlledBy": "generator",
    "StreamIndex": "",
    "EnableTxPortSendingTrafficToSelf": "false",
    "InterFrameGap": "12",
    "FlowCount": "0",
    "L2Rate": "30547445",
    "Active": "true",
    "KbpsLoad": "31000",
    "PercentageLoad": "3.1",
    "InsertSig": "true",
    "RunningState": "STOPPED",
    "StreamBlockIndex": "1",
    "EndpointMapping": "ONE_TO_ONE",
    "IbgInMillisecondsLoad": "0.342684387096774",
    "parent": "port1",
    "expectedrx-Targets": "port2",
    "EnableCustomPfc": "false",
    "srcbinding-Targets": "ipv4if1",
    "EnableHighSpeedResultAnalysis": "true",
    "IbgLoad": "42835.5483870968",
    "Filter": "Device,MPLS-TP,Bfd,Rip,Lldp,Ieee1588v2,Ieee8021as,Bgp,Isis,Ldp,Stp,Ospfv3,Lacp,Pim,Rsvp,Ospfv2,FCoE,FCPlugin,FCoEVFPort,FCFPort,TwampClient,TwampServer,LspPing,Lisp,Srp,Trill Protocol,Otv,Openflow Protocol,Ancp,PppProtocol,PppoeProtocol,Vxlan,OSE,802.1x,OVSDB Protocol,Vepa,Opflex Protocol,Responder,IEEE 802.11 Protocol,Avbgen,RadarEmulation,TtwbProxy,Packet Channel,SyncE,Dhcpv4,Dhcpv6,IgmpMld,AppPerf,Cifs,Dpg,Video,CSMP,Iperf,Ntp,XMPPvJ,RawTcp,Ftp,Http,Sip,IPv4",
    "FrameLengthMode": "FIXED",
    "CustomPfcPriority": "0",
    "LoadUnit": "PERCENT_LINE_RATE",
    "IbgInNanosecondsLoad": "342684.387096774",
    "EnableResolveDestMacAddress": "true",
    "MaxFrameLength": "256",
    "affiliationframelengthdistribution-Targets": "framelengthdistribution1",
    "FrameConfig": "<frame><config><pdus><pdu name=\"ipv4_106115\" pdu=\"ipv4:IPv4\"><totalLength>20</totalLength><ttl>255</ttl><checksum>51395</checksum><sourceAddr>80.80.75.123/24</sourceAddr><destAddr>10.53.175.112</destAddr><prefixLength>24</prefixLength><destPrefixLength>24</destPrefixLength><gateway>80.80.75.254</gateway><tosDiffserv name=\"anon_4696\"><tos name=\"anon_4697\"><precedence>6</precedence><dBit>0</dBit><tBit>0</tBit><rBit>0</rBit><mBit>0</mBit><reserved>0</reserved></tos></tosDiffserv></pdu><pdu name=\"proto1\" pdu=\"udp:Udp\"><length>0</length></pdu></pdus></config></frame>",
    "Enable8023brMFrame": "false",
    "Load": "10",
    "PduInfo": "ipv4_106115,ipv4:ipv42,4695,IPv4.1 anon_4696,tosdiffserv2,4696,ToSDiffServ.1 anon_4697,tos2,4697,ToSByte.1 anon_4698,flags2,4698,ControlFlags.1 anon_4699,options2,4699,IPv4HeaderOptionsList.1 proto1,udp:udp2,4700,Udp.1",
    "EnableStreamOnlyGeneration": "true",
    "EnableControlPlane": "false",
    "BpsLoad": "31000000",
    "FixedFrameLength": "1350",
    "FpsLoad": "2828.46715328467",
    "StreamCount": "0",
    "StartDelay": "0",
    "ByPassSimpleIpSubnetChecking": "false",
    "Name": "DL_UE 2_qci_8",
    "FillType": "PRBS",
    "EnableFcsErrorInsertion": "false",
    "TimeStampOffset": "0",
    "MinFrameLength": "128"
}
Spirent TestCenter (STC)streamblockrest api
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.