Configuring to Disable Control Packets Exchange
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/sla/inst/sender.json
{ "slaSender": { "children": [ { "slaProbe": { "attributes": { "id": "1" }, "children": [ { "slaTcpConnect": { "attributes": { "control": "no", "destip": "1.2.3.4", "dstPort": "47131", "srcHostName": "SampleString_123", "srcPort": "47131" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <sla-items> <inst-items> <sender-items> <operation-items> <Probe-list> <id>1</id> <tcpconnect-items> <control>false</control> <destip>1.2.3.4</destip> <dstPort>47131</dstPort> <srcHostName>SampleString_123</srcHostName> <srcPort>47131</srcPort> </tcpconnect-items> </Probe-list> </operation-items> </sender-items> </inst-items> </sla-items> </System>