This is the codebase for the NSO Explorer Visual Studio Code extension.
Pre-requisites
Ensure the following are installed
JDK 11 is installed
Python is installed
Supported functionalily
NSO explorer allows the user to connect to running instance of NSO and navigate the CDB within VSCode.
Please see detailed information below for supported functionality.
NSO Explorer
NSO Explorer allows user to connect to and inspect the live NSO instance from within VSCode.
In the activity bar on left hand side, click on the NSO Icon
This will open the NSO Explorer
If no NSO instance has been configured, welcome screen will be displayed and user will be provided an option to "Add NSO Instance"
Upon clicking "Add NSO Instance", Settings editor will be displayed, and link will appear prompting user to edit settings.json file to add NSO instance
Click link to edit settings.json and add the following information
If settings have been configured correctly, NSO explorer will attempt to connect to running NSO instance and if successful, will display NSO Configuration
Using the explorer, user can drill down and inspect the CDB tree
Several functions are available to the user:
Clicking on the "i" icon on top of explorer pane or inline next to an element will display information about the selected element. User will be able to copy Xpath and KeyPath from the popup box.
{KP} icon will copy the keypath for the selected node
{XP} icon will copy the XPath for the selected node
"XML" icon will retrieve the XML configuration for the selected node and copy the XML Configuration to clipboard
If data has changed in NSO, refresh button at top of explorer pane can be used to fetch data again from NSO