Configuring the Data-Pattern
DME
YANG
Copy
POST http://<mgmt0_IP>/api/mo/sys/sla/inst/sender.json
{ "slaSender": { "children": [ { "slaProbe": { "attributes": { "id": "1" }, "children": [ { "slaUdpEcho": { "attributes": { "control": "yes", "dataPattern": "SampleString_123", "destip": "1.1.1.1", "dstPort": "123" }}}]}}]}}
Response
{ imdata:[] }
Copy
<System> <sla-items> <inst-items> <sender-items> <operation-items> <Probe-list> <id>1</id> <udpecho-items> <control>true</control> <dataPattern>SampleString_123</dataPattern> <destip>1.1.1.1</destip> <dstPort>123</dstPort> </udpecho-items> </Probe-list> </operation-items> </sender-items> </inst-items> </sla-items> </System>