Continuing with our OpenConfig theme for this week, check out five new custom apps to configure BGP using OpenConfig:
nc-create-config-bgp-41-ydk.py - IPv6 iBGP neighbor group without policy
nc-create-config-bgp-42-ydk.py - IPv4 iBGP neighbor group with policy
nc-create-config-bgp-43-ydk.py - IPv6 iBGP neighbor group with policy
nc-create-config-bgp-44-ydk.py - IPv4 eBGP neighbor group with policy
nc-create-config-bgp-45-ydk.py - IPv6 eBGP neighbor group with policy
You can find all sample apps for OpenConfig BGP at:
https://github.com/CiscoDevNet/ydk-py-samples/tree/master/samples/basic/ydk/models/bgp
Note these apps don't configure the routing policies. Those policies need to be configured before running the BGP apps. If you want to use OpenConfig, see:
Sample apps for OpenConfig routing policy
If you want to configure using the XR native model, see:
How to configure routing policies
Enjoy!