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

Sample apps for XR OSPFv2 using CRUD/gNMI

deom
Cisco Employee
Cisco Employee

ydk-white-256.png

Hello YDK folk,

 

I would like to introduce a new set of sample apps for ipv4 Open Shortest Path First version 2 (OSPFv2) configuration for XR using the gNMI provider and the CRUD service.

 

This set of OSPFv2 sample apps includes four boilerplate apps and five custom apps to configure OSPF (single- and inter-area routing):

gn-create-xr-ipv4-ospf-cfg-10-ydk.py - create boilerplate
gn-create-xr-ipv4-ospf-cfg-20-ydk.py - single-area IPv4 routing
gn-create-xr-ipv4-ospf-cfg-30-ydk.py - IPv4 ABR
gn-create-xr-ipv4-ospf-cfg-32-ydk.py - IPv4 ABR with stub area
gn-create-xr-ipv4-ospf-cfg-34-ydk.py - IPv4 ABR with totally stub area
gn-delete-xr-ipv4-ospf-cfg-10-ydk.py - delete boilerplate
gn-delete-xr-ipv4-ospf-cfg-20-ydk.py - delete all OSPFv2 config
gn-read-xr-ipv4-ospf-cfg-10-ydk.py   - read boilerplate
gn-update-xr-ipv4-ospf-cfg-10-ydk.py - update boilerplate

If you want to check out CLI configuration, JSON files, and all of the python files for XR ipv4 OSPFv2 sample applications, please visit the following link:

https://github.com/CiscoDevNet/ydk-py-samples/blob/master/samples/basic/crud/gnmi/models/cisco-ios-xr/Cisco-IOS-XR-ipv4-ospf-cfg

 

Give it a try!! :D 

0 Replies 0