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
Key | Datatype | Required | Description |
---|---|---|---|
dry-run | string | uncheck to actually commit | |
dry-run-reverse | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
Content-Type | string |