06-17-2020 08:51 AM
I am experimenting with using the RFC8072 YANG Patch method to make changes to device configurations through NSO, and was trying to perform a dry-run to view the expected results of the operation. However, while sending the dry-run query parameter prevented the changes from being pushed to the network device, it only returned the following message, and not a dry-run of the changes:
<yang-patch-status xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-patch"> <patch-id>test-patch</patch-id> <ok/> * Connection #0 to host localhost left intact </yang-patch-status>
Is there a way to view the actual dry-run for a YANG patch operation in NSO (version 5.2.0.1)?
Solved! Go to Solution.
06-25-2020 01:20 PM
You would need to upgrade your NSO,
In 5.3.2/5.2.1 CHANGE file, I see:
- restconf: Parameter dry-run did not work for YANG Patch requests, but
with this fix it does work.
06-25-2020 01:20 PM
You would need to upgrade your NSO,
In 5.3.2/5.2.1 CHANGE file, I see:
- restconf: Parameter dry-run did not work for YANG Patch requests, but
with this fix it does work.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the NSO Developer community: