I have a package, called 'service1', in NSOv4.6 which is using resource-manager v3.3.0 to allocate id. In service1, my main.py looks like :
..some code.. # Create an allocation request.
# After calling this function, you have to call response_ready
# to check the availability of the allocated ID.
# Returns the allocated ID or None
my_index = id_allocator.id_read(username=tctx.username,
if not my_index:
self.log.info('Index not YET allocated')
return ..some code..
Now I need to push my service using three flags : commit-queue async, no-out-of-sync-check and atomic false. Unfortunately, if I perform a commit with those flags (in cli), it doesn't work : my id is well allocated but my service (service1) is not pushed to my device. There is an heritage problem of flags I think.
So how to handle this issue (if it is one, maybe it was done on purpose) ?
Do you have experiences that you think will benefit the NSO developer community?
Take the opportunity to give a talk at Developer Days in June while joining industry peers from around the world for our days of learning and collaboration.
Call for P...
Hi All I am new to developing as you will see from my code :P, I am a network engineer trying to learn Devops, and I am struggling a bit with create services that apply configs to multiple devices.I am trying to create my own code to create a l3vpn s...
We are proud to announce the release of the latest version of the Cisco VNF MANO solution, including Cisco NSO Network Function Virtualization Orchestrator (NFVO) 4.2 and Cisco Elastic Services Controller (ESC) 5.1. These are used in many of our NSO custo...
If you missed the event or did not have time to attend all sessions I recommend checking out the Cisco Live content calendar. One of my favorites is Hank Prestons Working 9 to 5 as NetDevOps Engineer and Expand your automation journey with new C...
Unable to write xml file in NSO 5.3 CDB using maapi.load_config with below command"maapi.load_config(m['s'],m['th'], maapi.CONFIG_XML, "Test.xml")"
Creating the transaction object as, th = _ncs.maapi.start_trans(s, _ncs.RUNNING ,_ncs.READ_WRITE)