Cisco NSO icon

Cisco NSO

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

Action → Execute

AI-generated

Summary

Execute a specified action or RPC on Cisco NSO via a RESTCONF API call.

Inputs

  • actionPath (required) — Path to the action/RPC to execute, e.g., /tailf-ncs:devices/device=router1/sync-from.
  • actionInput — Input parameters for the action in JSON format.
  • additionalOptions — Additional configurations for the action execution, such as commit queue mode, depth limits, dry run options, and response format.

Output shape

a JSON object containing the response from the action execution

Includes fields based on response format specified. Handles errors, returning an error message if execution fails.

Examples

Example 1: Execute a sync action from a specific device.

Set actionPath to /tailf-ncs:devices/device=router1/sync-from and provide any necessary actionInput.

Discussion