I think the problem is more related to python than to NSO.
NSO is trying to start the python VM for your service package, but the lines that you added to the python code are not using the same indentation as some other lines on the same file, and python reports this as an error
Check the indentation on your python code. Make sure that the indentations are uniform across the file (e.g. use either tabs or spaces, use same number of tabs or spaces for each indent).
One line is enough if it's not indented in the same way the others are.
The editor you're using might make it easier or harder to get into those corners.
Try deleting your line and editing the line you commented out instead of creating a new line.
You can also have a look in your logs directory (under your runtime directory) for the ncs-python-vm.log file and a similar file with your package name for more details, but if indeed you only changed that line (and your editor is not trying to set indentation on its own in a weird way), then that should be the issue.
If you are an NSO user, you are probably aware that when you write and read data from any of the NSO northbound interface agents, such as NETCONF, RESTCONF, CLI, MAAPI, etc., those agents are going through the NSO transaction manager before reaching the C...
NSO Developer Days is an opportunity for both new and experienced customers to come together and network, share best practices, meet engineering and learn more about what is coming next for NSO. Join service provider and enterprise network automation pro...
I have a simple service to configure an IP under loopback interface, but how do I delete the IP, if the one I am going to configure is pre-existing on another interface or at least give a warning that this IP is already in use?
Here is m...
Hi, As I understand, when I source ncsrc then it inserts pyang version 1.5 in my path and won't be the use the one I had installed on my system. I'm still facing the same errors every time when executing pyang : ❯ pyang test01....
A great question! Before I finalize the NSO Developer Days agenda and share the details, I'd like to make a final call to get your input!
Like most things in life, Network Automation is not a trivial thing. Since you are here you have probably decided tha...