Hello again,
This is another set of sample applications for Multiprotocol Label Switching (MPLS) Operations, Administration, and Maintenance (OAM) configuration.
The following sample apps include four boilerplate and four custom apps to configure MPLS OAM for XR data model using the gNMI provider and the CRUD service:
gn-create-xr-mpls-oam-cfg-10-ydk.py - Create boilerplate
gn-create-xr-mpls-oam-cfg-20-ydk.py - Enable MPLS OAM
gn-create-xr-mpls-oam-cfg-22-ydk.py - Disable vendor extension
gn-create-xr-mpls-oam-cfg-24-ydk.py - Disable vendor ext and reply mode
gn-delete-xr-mpls-oam-cfg-10-ydk.py - Delete boilerplate
gn-delete-xr-mpls-oam-cfg-20-ydk.py - Delete all MPLS OAM config
gn-read-xr-mpls-oam-cfg-10-ydk.py - Read boilerplate
gn-update-xr-mpls-oam-cfg-10-ydk.py - Update boilerplate
Please visit the following link to get access to the CLI configuration, JSON files, and python files for this set of sample applications: https://github.com/deom119/ydk-py-samples/tree/xr-mpls-oam/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-mpls-oam-cfg
Enjoy! :D