09-12-2017 07:35 AM - edited 03-01-2019 03:59 AM
Is it possible to apply a device-template via the JSON-RPC API?
Solved! Go to Solution.
09-13-2017 12:45 AM
Yes, the apply (device) template action is defined in nso/4.4.2/src/ncs/yang/tailf-ncs-devices.yang . Look there for details on which arguments to provide (name, variable bindings, etc). In general, anything you can do in the NSO WebUI is also possible over JSON-RPC, since that is what the WebUI uses.
09-13-2017 12:45 AM
Yes, the apply (device) template action is defined in nso/4.4.2/src/ncs/yang/tailf-ncs-devices.yang . Look there for details on which arguments to provide (name, variable bindings, etc). In general, anything you can do in the NSO WebUI is also possible over JSON-RPC, since that is what the WebUI uses.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: