app-nso_manager

On this page:

setLeaf

Summary

setLeaf Task

Description

Create, update, or delete any XML leaf node in NSO's XML tree. Use with caution

Route

POST /nso_manager/setLeaf/:adapterId

Roles

admin

Parameters

DetailsExampleSchema
Name Type Required Description
adapterId string yes The host that the leaf should be applied to.
path string yes The XPath to an XML leaf node. This is in the 'key path' format. NSO documentation for this can be found in the JSON-RPC FAQ for NS If you want to use a variable, wrap it in !<variable name>!.
value string yes The value assigned to the XML leaf node specified in the path parameter. The value can have references to variables. Designate variables using their names surrounded by angle brackets and exclamation marks, such as <!bgpNeighbor!>.
variables string yes An object that defines variables referenced in the path and value parameters (wrapped with <!!>).
set boolean yes True for create/update, False for delete.
dryRun boolean yes True for dry-run, False for provision.
options string yes Allows for passing options the API will send to the Itential NSO adapter.

Return

DetailsExampleSchema
Name Type Description
result object Status of set leaf.