cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
179
Views
2
Helpful
1
Replies
rhinst001
Enthusiast

Possible to apply device-template via JSON-RPC API?

Is it possible to apply a device-template via the JSON-RPC API?

1 ACCEPTED SOLUTION

Accepted Solutions
Jan Lindblad
Cisco Employee

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.

View solution in original post

1 REPLY 1
Jan Lindblad
Cisco Employee

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.

View solution in original post