Cisco NSO icon

Cisco NSO

Interact with Cisco Network Services Orchestrator (NSO) via RESTCONF API

Device → Get

AI-generated

Summary

Retrieve details about a specific device in Cisco NSO.

Inputs

  • deviceName (required) — Name of the device.
  • additionalOptions — Optional configurations such as commit queue mode, subtree depth, dry run options, whether to skip networking, and response format.

Output shape

a JSON object containing the device details or error message

Returns device information in JSON format by default; can also return in XML format if specified. Optional fields apply based on additional options.

Examples

Example 1: Retrieve the details of a device named 'router1' with a dry run validation and response in JSON format.

deviceName = 'router1'; additionalOptions = {'dryRun': ''};

Discussion