summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorSebastien Merle <sebastien@netdef.org>2020-01-28 11:59:57 +0000
committerGalaxyGorilla <sascha@netdef.org>2020-08-31 09:09:12 +0000
commitef3e0d04766a11d1b976807c42da8207e887174e (patch)
tree23fec16883e5ebdbb60dd6f9685cd28337be13e8 /lib/command_py.c
parentf663c5819c7ce9b3b5b37255c9bb7c752eafb60e (diff)
bgpd: Add support for SR-TE Policies in route-maps
Example configuration: route-map SET_SR_POLICY permit 10 set sr-te color 1 ! router bgp 1 bgp router-id 1.1.1.1 neighbor 2.2.2.2 remote-as 1 neighbor 2.2.2.2 update-source lo address-family ipv4 unicast neighbor 2.2.2.2 next-hop-self neighbor 2.2.2.2 route-map SET_SR_POLICY in exit-address-family ! ! Learned BGP routes from 2.2.2.2 are mapped to the SR-TE Policy which is uniquely determined by the BGP nexthop (2.2.2.2 in this case) and the SR-TE color in the route-map. Co-authored-by: Renato Westphal <renato@opensourcerouting.org> Co-authored-by: GalaxyGorilla <sascha@netdef.org> Co-authored-by: Sebastien Merle <sebastien@netdef.org> Signed-off-by: Sebastien Merle <sebastien@netdef.org>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions