summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorLouis Scalbert <louis.scalbert@6wind.com>2023-05-02 16:38:53 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2023-06-16 10:54:58 +0200
commit29b49f67eb3c25139bfcd27ec96a2fb9b3746b16 (patch)
treed29cc267a044d916f2e5d473c04b689bf46546e5 /python
parent73e9ce89b909419728825723b60435d92a0e2723 (diff)
bgpd: add mpls vpn nh label bind cache struct and apis
In the context of the ASBR facing an EBGP neighbor, or facing an IBGP neighbor where the BGP updates received are re-advertised with a modified next-hop, a new local label will be re-advertised too, to replace the original one. Create a binding table, in the form of a hash list, from the original labels to the new labels. Since labels can be the same on several routers, set the next-hop and the label as the keys. Add the needed API functions to manage the hash list. Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com> Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions