NSO Sample API Requests

Number of APIs: 44

This only covers a sub-set of the RESTCONF Northbound API, since auto-generated swagger from the application is 200,000 lines of documentation.

Created using https://github.com/NSO-developer/nso-vagrant as a localhost NSO testing environment.

  1. Always-On Read Only Requests-NSO Root of the App Hierarchy Level Queries Copy - Root Level NSO XML returned GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data

  2. Always-On Read Only Requests-View Device Config - All Devices in Device List: Show Running-config Devices Device GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device

  3. Always-On Read Only Requests-View Device Config - Single Device Config - Show devices device DEVICENAME GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device={{SAMPLE_IOS_DEVICE}}

  4. Always-On Read Only Requests-View Device Config - Single Device HW / SW Platform Info GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device={{SAMPLE_IOS_DEVICE}}/platform

  5. Always-On Read Only Requests-View Device Config - show interface Gig 4 config GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device={{SAMPLE_IOS_DEVICE}}/config/tailf-ned-cisco-ios:interface/GigabitEthernet=4

  6. Always-On Read Only Requests-NSO Device Groups - List Device Groups GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device-group

  7. Always-On Read Only Requests-NSO Device Groups - List Device Single Device Group Details GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device-group=IOS-DEVICES

  8. Always-On Read Only Requests-View Existing NSO Service Instances - Get List of Service Instances for a Service GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/svi_verify_example:svi_verify_example

  9. Always-On Read Only Requests-View Existing NSO Service Instances - Get Service Info For Single Service Instance GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/svi_verify_example:svi_verify_example=first-instance

  10. Always-On Read Only Requests-Operational Data - View NSO Live Status Capabilities GET {{PROTOCOL}}://{{NSO_IP}}:{{NSO_HTTP_PORT}}/restconf/data/tailf-ncs:devices/device={{SAMPLE_IOS_DEVICE}}/live-status