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

Cisco Community Designated VIP Class of 2020

177
Views
0
Helpful
0
Replies
Highlighted
Cisco Employee

Sample apps for MPLS using OpenConfig and gNMI

Related image

Hello again,

 

I brought another set of MPLS sample apps which uses OpenConfig and gNMI with the CRUD service.

Most of the apps for CRUD service have used NETCONF provider to talk to the network device.

Compared to NETCONF, gNMI was recently developed, and it diversified the ways of network management. 

 

gn-create-oc-mpls-10-ydk.py - create boilerplate
gn-create-oc-mpls-20-ydk.py - enable RSVP-TE on interfaces
gn-create-oc-mpls-30-ydk.py - set MPLS-TE timers
gn-create-oc-mpls-32-ydk.py - enable MPLS-TE on interfaces
gn-create-oc-mpls-34-ydk.py - set affinities (admin groups)
gn-create-oc-mpls-40-ydk.py - explicit path
gn-create-oc-mpls-50-ydk.py - dynamic-path tunnel
gn-create-oc-mpls-52-ydk.py - auto-bw tunnel
gn-create-oc-mpls-54-ydk.py - protected tunnel
gn-create-oc-mpls-56-ydk.py - tunnel prio/admin-group
gn-create-oc-mpls-58-ydk.py - tunnel with path options
gn-delete-oc-mpls-10-ydk.py - delete boilerplate
gn-delete-oc-mpls-20-ydk.py - delete all MPLS configuration
gn-read-oc-mpls-10-ydk.py   - read boilerplate
gn-update-oc-mpls-10-ydk.py - update boilerplate

 

If you wanna find the python apps, JSON data, and CLI data, you can find them in the following directory:

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

 

Enjoy!

Everyone's tags (6)
Content for Community-Ad
FusionCharts will render here