show configuration(IOS-XR) in YDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021 05:26 AM
Hello Everyone,
Is there a way to see loaded configuration before commiting it ? I'm making an analogy with Junos PyEZ library where it is possible to see difference between the running configuration and candidate one before commit.
- Labels:
-
YANG Development Kit (YDK)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021 12:14 PM
If device capabilities support candidate datastore, then device configuration consists of 2 phases: 1) building configuration in candidate datastore; 2) committing configuration from candidate to running datastore. When using NetconfServiceProvider with CrudService, these 2 phases performed automatically one after another. But with NetconfService the user has full control of the phases, and can validate configuration before committing it to running datastore. Please check this documentation for details. Also you can find multiple examples in the unit test code.
YDK Solutions
