cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
189
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Sample apps for XR static routing config using CRUD/gNMI

ydk-white-256.png

Hello everyone,

I would like to introduce a new set of sample applications which configures static routing for XR data model using the CRUD service and the gNMI provider.

This set of sample applications include the following four boilerplate applications and ten custom applications:

gn-create-xr-ip-static-cfg-10-ydk.py - create boilerplate
gn-create-xr-ip-static-cfg-20-ydk.py - IPv4 route to next-hop address
gn-create-xr-ip-static-cfg-21-ydk.py - IPv6 route to next-hop address
gn-create-xr-ip-static-cfg-22-ydk.py - IPv4 route to Null0
gn-create-xr-ip-static-cfg-23-ydk.py - IPv6 route to Null0
gn-create-xr-ip-static-cfg-24-ydk.py - IPv4 route with attributes
gn-create-xr-ip-static-cfg-25-ydk.py - IPv6 route with attributes
gn-delete-xr-ip-static-cfg-10-ydk.py - delete boilerplate
gn-delete-xr-ip-static-cfg-20-ydk.py - delete all static routes
gn-delete-xr-ip-static-cfg-30-ydk.py - delete all IPv4 static routes
gn-delete-xr-ip-static-cfg-31-ydk.py - delete all IPv6 routes
gn-delete-xr-ip-static-cfg-40-ydk.py - delete IPv4 route
gn-read-xr-ip-static-cfg-10-ydk.py   - read boilerplate
gn-update-xr-ip-static-cfg-10-ydk.py - update boilerplate

If you want to access to the python files, the JSON files, and the CLI config files, please check them out in the following Github directory:

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

 

Enjoy!

Everyone's tags (5)
Content for Community-Ad
August's Community Spotlight Awards