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

Sample apps for OC routing policy configuration using CRUD/gNMI

deom
Cisco Employee
Cisco Employee

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!! 

0 Replies 0