08-13-2018 05:37 AM
I have to do collection profile on juniper device, but there is no live status api for this device in NSO.
Please let me know How to execute commands for netconf devices on nso.
I am using NSO 4.2 NED id for juniper-junos 3.2.11
Solved! Go to Solution.
08-13-2018 05:41 AM
Juniper devices have RPC:s
admin@ncs% request devices device pe2 rpc rpc-
Possible completions:
rpc-clear-bgp-neighbor rpc-clear-log
rpc-file-archive rpc-file-compare
rpc-file-copy rpc-file-delete
rpc-file-get rpc-file-list
rpc-file-put rpc-file-rename
rpc-file-show rpc-get-alarm-information
rpc-get-chassis-inventory rpc-get-environment-information
rpc-get-environment-re-information rpc-get-fpc-information
rpc-get-pic-detail rpc-get-pic-information
rpc-get-power-usage-information rpc-get-route-information
rpc-get-routing-task-replication-state rpc-get-snapshot-information
rpc-get-software-information rpc-get-support-information
rpc-get-system-alarm-information rpc-get-system-storage
rpc-get-system-uptime-information rpc-op-script
rpc-ping rpc-request-package-add
rpc-request-reboot rpc-request-snapshot
rpc-traceroute
08-13-2018 05:41 AM
Juniper devices have RPC:s
admin@ncs% request devices device pe2 rpc rpc-
Possible completions:
rpc-clear-bgp-neighbor rpc-clear-log
rpc-file-archive rpc-file-compare
rpc-file-copy rpc-file-delete
rpc-file-get rpc-file-list
rpc-file-put rpc-file-rename
rpc-file-show rpc-get-alarm-information
rpc-get-chassis-inventory rpc-get-environment-information
rpc-get-environment-re-information rpc-get-fpc-information
rpc-get-pic-detail rpc-get-pic-information
rpc-get-power-usage-information rpc-get-route-information
rpc-get-routing-task-replication-state rpc-get-snapshot-information
rpc-get-software-information rpc-get-support-information
rpc-get-system-alarm-information rpc-get-system-storage
rpc-get-system-uptime-information rpc-op-script
rpc-ping rpc-request-package-add
rpc-request-reboot rpc-request-snapshot
rpc-traceroute
08-13-2018 05:52 AM
As Håkan points out, on a Juniper device, you have to use the rpc:s it publishes rather than live status. You can find the list of supported rpc:s inside the Junos NED in the file junos-rpc.yang.
If you are feeling a bit adventurous, and can upgrade to the latest NSO versions, you can (probably) start using the native Junos native YANG model instead of the one supplied in the Tail-f Juniper NED. The Juniper YANGs cover all the officially existing rpc:s. Feel free to contact me directly if you want to experiment with this.
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