cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

144
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Sample apps for OC routing policy configuration using CRUD/gNMI

Related image

Hello again,

I am happy to announce that we have uploaded new sample applications for OpenConfig routing policy configuration using the gNMI provider and the CRUD service.

 

The OC routing policy sample applications include four boilerplate apps and five custom apps as follows:

gn-create-oc-routing-policy-10-ydk.py - create boilerplate
gn-create-oc-routing-policy-22-ydk.py - accept all prefixes
gn-create-oc-routing-policy-24-ydk.py - match path/comm, set comm/lpref
gn-create-oc-routing-policy-26-ydk.py - match prefix, set comm/lpref
gn-create-oc-routing-policy-28-ydk.py - set next hop self
gn-delete-oc-routing-policy-10-ydk.py - delete boilerplate
gn-delete-oc-routing-policy-20-ydk.py - delete all policy configuration
gn-read-oc-routing-policy-10-ydk.py   - read boilerplate
gn-update-oc-routing-policy-10-ydk.py - update boilerplate

As always, you can find the python apps, JSON files, and CLI configuration files in the following link: 

https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/crud/gnmi/models/openconfig/openconfig-routing-policy

 

Happy OpenConfig day :D!! 

Content for Community-Ad
FusionCharts will render here