Commit Dry-run outformat native Copy

POST {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device={{SAMPLE_IOS_DEVICE}}/config/tailf-ned-cisco-ios:interface?dry-run=native&dry-run-reverse=native

This is using an example for an IOS interface, with the configuration in the payload, but could be any config. The key thing is having the query params ?dry-run=native so NSO knows to not commit it and to respond back with the dry-run data in CLI format. Qodex has the query param in the headers tab.

Request Params

KeyDatatypeRequiredDescription
dry-runstringuncheck to actually commit
dry-run-reversestring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Content-Typestring