Actions19
Service → Create
AI-generatedSummary
Create a new service instance in Cisco NSO.
Inputs
- servicePath (required) — Path to the service in YANG format, e.g., /router:router or /l3vpn:l3vpn.
- dataJson (required) — JSON data for the service instance to be created.
- additionalOptions — Optional parameters for the create operation, including commit queue mode, depth, dry run options, and response format.
Output shape
a success message or the created service instance data
Returns the response in JSON or XML format based on the specified response option.
Examples
Example 1: Creating a service instance with a specific data payload.
Set servicePath to /router:router and provide the relevant dataJson.