I don't think you should need to default the interface first. If you do a PUT it should overwrite whatever is in place with what is in the PUT.
As an alternative, you could also look at using the YANG Patch media type for the RESTCONF request. A YANG Patch allows you to perform multiple actions within a single transaction in NSO, and they don't necessarily have to be the same type of action (so for example, you could delete the description and access-group from an interface and add a new BGP peer in a single RESTCONF command). It takes a little more effort to work out the correct data to send, but is a much more flexible way to implement changes.
To use a YANG Patch, you should send a PATCH request to /restconf/data with a Content-Type header of application/yang-patch+xml and an Accept header of application/yang-data+xml. Below is an example of a YANG Patch data body:
The NSO Config Monitor is targeted to discover and report unmanaged device configurationsas well as configuration changes that were introduced outside of NSO. It is designed to work as plug-in package named config-monitor, which can be installed and used&...
Today we have added a Key Link to our Network and Service Assurance solution from Accedian (Solution Plus Partner). Henrik Nydell, Senior Product Manager at Accedian presented at Automation Developer Days in May. If you missed it, you will find the l...
Hi DevNet Folks, If you are studying for any DevNet certs (specifically SPAUTO or DevNet Expert) which expects you to work with Cisco NSO and you want to find an easy way to get started with NSO, I have created a following repo, where you find two im...
NSO BGP optimization with Crosswork Cloud Traffic Analysis
Wei Yan • email@example.com • CXPM Architect
Dan Backman • firstname.lastname@example.org • Crosswork Cloud
This session was only presented at the virtual event.
Link To Recording
Use a Robot for network automation
(Getting more value from your NSO Test Automation)
Scott Barvick, CTO North America, Data Ductus
This session was only presented at the Virtual event.
Link To Recording
As you build ...