The itential_tools package exposes a set of actions that Platform workflows use to interact with NSO via JSON-RPC. These actions cover device configuration, interface management, NED translation, and configuration staging.
Actions are invoked from a workflow using the runAction task from the NSO adapter. The task takes the action path and a params object as inputs.
Navigate to Workflows in Automation Studio and create a new workflow.
Each example shows the complete params variable as entered in the runAction task dialog. The path field identifies the action endpoint on the NSO server.
Admin-down all admin-up interfaces on a device.
Admin-down specific interfaces on a device. Interfaces are passed as a JSON-encoded array string.
Admin-up specific interfaces on a device.
Return the namespace URI for a given prefix.
Retrieve the current configuration from a device. The format field controls whether config is returned in NATIVE format or another supported format.
Load configuration XML onto a device. The action field controls the merge strategy (MERGE, REPLACE, etc.).
Use the NED to convert native CLI configuration into XPath format.
Push a native CLI configuration string to a device. The dryRun field specifies the output format for a dry-run operation (cli, native, etc.). Omit dryRun to commit the change.
Push configuration using a transaction object. The transaction tracks old and new values and supports multi-step rollback.
Stage a device in NSO from a native CLI configuration string. Used to pre-provision device configuration before onboarding.
Translate a native CLI configuration string into set-format commands. The strategy field controls the translation approach.
Verify that the NED can parse a given native CLI configuration string. Useful for validating configuration before pushing it to a device.