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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide