Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I'm trying to build a netconf NED with a netsim directory, so instead of using the normal build-ned command, I would like to use make-development-ned. It fails with admin@ncs# netconf-ned-builder project ngbac-mini 2.0 make-development-ned in-direct...
I have a puzzle that I don’t manage to solve. I want to create an IPSLA configuration: The first step here is to reserve a MEP-ID for every service access. I’m using the resource manager to reserve such an ID and assign it (highlighted in green). Wor...
How can I (dynamically) create resource pools that assign resources on a per-device basis? Basically, I'd like to generate a pool for every device that assigns an index to some of the device's interfaces. The following will re-use the same indexes fo...
I'd like to use the 'ipaddress' python library in an NSO package. Normally, I'd do 'pip2 install ipaddress' in a virtualenv to install the library and then import it using 'import ipaddress' in my python code.
How can external Python libraries be a...
Hi Roque
Can you please give an example for the "if-ned-id-match"? Whatever I do, I always get an error
Invalid parameters for processing instruction if-ned-id-match
I just figured out another reason for this symptom: I'm using the MacOS version of NSO to develop. To install and run NSO on ARM64-based devices, the "Rosetta" x86-emulation needs to be used. For this, I have made a copy of my terminal application fo...
No, the ids are stored outside the service instance. In the case above, I have these assignments: admin@ncs% run show resource-pools id-pool mepid_VS0.000.000.003NAME ID ERROR ID-----------------------------------------------------mepid_VS0.000.000.0...
Indeed, thanks! The following works just fine: pool_name = service.deviceidpool = root.ralloc__resource_pools.idalloc__id_pool#Check if pool exists, if not, create new oneif not pool_name in idpool: idpool.create(pool_name) self.log.info('Generatin...
Thanks. I added the path to my library to PYTHONPATH in $NCS_DIR/bin/ncs-start-python-vm:
#!/bin/sh
pypath="${NCS_DIR}/src/ncs/pyapi"ipaddrpath="/Users/tgdgyma/ipaddr/lib/python2.7/site-packages"
# Make sure everyone finds the NCS Python librarie...