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

Sample apps for XR static routing config using CRUD/gNMI

deom
Cisco Employee
Cisco Employee

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!

0 Replies 0