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

Sample apps for XR BGP using CRUD/gNMI

deom
Cisco Employee
Cisco Employee

ydk-white-256.png

Hello Community,

Here is another new set of sample applications which configures the device's BGP for XR data model using the CRUD service and the gNMI provider.

This set consists of four boilerplate applications and seven custom applications as follows:

gn-create-xr-ipv4-bgp-cfg-10-ydk.py - create boilerplate
gn-create-xr-ipv4-bgp-cfg-40-ydk.py - iBGP IPv4 neighbor grp w/o policy
gn-create-xr-ipv4-bgp-cfg-41-ydk.py - iBGP IPv6 neighbor grp w/o policy
gn-create-xr-ipv4-bgp-cfg-42-ydk.py - iBGP IPv4 neighbor grp w/ policy
gn-create-xr-ipv4-bgp-cfg-43-ydk.py - iBGP IPv6 neighbor group w/ policy
gn-create-xr-ipv4-bgp-cfg-44-ydk.py - eBGP IPv4 neighbor grp w/ policy
gn-create-xr-ipv4-bgp-cfg-45-ydk.py - eBGP IPv6 neighbor grp w/ policy
gn-delete-xr-ipv4-bgp-cfg-10-ydk.py - delete boilerplate
gn-delete-xr-ipv4-bgp-cfg-20-ydk.py - delete all BGP configuration
gn-read-xr-ipv4-bgp-cfg-10-ydk.py   - read boilerplate
gn-update-xr-ipv4-bgp-cfg-10-ydk.py - update boilerplate

Please visit the link below to find python files, JSON files, and CLI config files for this XR BGP:

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

 

Have fun! 

0 Replies 0