cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
423
Views
2
Helpful
1
Replies

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

rhinst001
Level 4
Level 4

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

1 Accepted Solution

Accepted Solutions

Jan Lindblad
Cisco Employee
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
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.

Getting Started

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: