cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
0
Replies

Sample apps for XR SR mapping configuration

deom
Cisco Employee
Cisco Employee

Related image

Hello Community,

 

I have added a new set of sample applications which configure segment routing SID mappings (IPv4 and IPv6) for XR data model using the gNMI provider and the CRUD service.

This set of sample applications includes the following four boilerplate apps and five custom apps: 

gn-create-xr-segment-routing-ms-cfg-10-ydk.py - create boilerplate
gn-create-xr-segment-routing-ms-cfg-20-ydk.py - IPv4 single mapping
gn-create-xr-segment-routing-ms-cfg-21-ydk.py - IPv6 single mapping
gn-create-xr-segment-routing-ms-cfg-22-ydk.py - IPv4 multiple mappings
gn-create-xr-segment-routing-ms-cfg-23-ydk.py - IPv6 multiple mappings
gn-delete-xr-segment-routing-ms-cfg-10-ydk.py - delete boilerplate
gn-delete-xr-segment-routing-ms-cfg-20-ydk.py - delete all mapping cfg
gn-read-xr-segment-routing-ms-cfg-10-ydk.py   - read boilerplate
gn-update-xr-segment-routing-ms-cfg-10-ydk.py - update boilerplate

 These python files, JSON files, and CLI config files are all located in the following directory: 

https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-segment-routing-ms-cfg

 

Start your day with YDK-py sample apps!

Best,

0 Replies 0