Debian Codegraph @

src/a10_plugin/json_configs/bgp.py

raw
1 bgp_advertisement_path = '/axapi/v3/router/bgp/'
2
3 def bgp_advertisement(ip_addr):
4 route_advertisement = {
5 "bgp":
6 {
7 "network": {
8 "ip-cidr-list": [
9 {
10 "network-ipv4-cidr":ip_addr+"/32",
11 }
12 ]
13 },
14 }
15 }
16 return route_advertisement