Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

curl -i -H "Content-Type:application/json" -X GET -u admin:admin http://127.0.0.1:8183/restconf/operational/vesagent:vesagent/config

Info
titleConfigure the VES mode to 'demo' and 40%

...

packet loss

...

curl -i -H "Content-Type:application/json" --data '{"mode":{"working-mode":"demo","base-packet-loss":40}}' -X POST -u admin:admin http://127.0.0.1:8183/restconf/config/vesagent:vesagent
Info
iconfalse
titleDelete the VES mode (need to delete before changing it via Honeycomb)

...

curl -i -H "Content-Type:application/json"  -X DELETE -u admin:admin http://127.0.0.1:8183/restconf/config/vesagent:vesagent/mode
Info
iconfalse
titleQuery the VES mode configuration

...

curl -i -H "Content-Type:application/json" -X GET -u admin:admin http://127.0.0.1:8183/restconf/operational/vesagent:vesagent/mode