diff options
author | Christian Breunig <christian@breunig.cc> | 2023-12-10 21:12:55 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-12-11 18:21:26 +0100 |
commit | af46fe54e56cf85d13b62ee771bec3d80f225ac5 (patch) | |
tree | bc2ed06230616dc60fa8a343311d85582e95617c /src | |
parent | fedb2ee0c677dca23de24d9e70ff239e7556da28 (diff) | |
download | vyos-1x-af46fe54e56cf85d13b62ee771bec3d80f225ac5.tar.gz vyos-1x-af46fe54e56cf85d13b62ee771bec3d80f225ac5.zip |
bgp: T591: add SRv6 support from FRR
set protocols bgp sid vpn per-vrf export '99'
set protocols bgp srv6 locator 'foo'
set protocols bgp system-as '100'
Will generate in FRR config
router bgp 100
no bgp ebgp-requires-policy
no bgp default ipv4-unicast
no bgp network import-check
!
segment-routing srv6
locator foo
exit
sid vpn per-vrf export 99
exit
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/protocols_bgp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/protocols_bgp.py b/src/conf_mode/protocols_bgp.py index 00015023c..557f0a9e9 100755 --- a/src/conf_mode/protocols_bgp.py +++ b/src/conf_mode/protocols_bgp.py @@ -93,6 +93,7 @@ def get_config(config=None): tmp = conf.get_config_dict(['policy']) # Merge policy dict into "regular" config dict bgp = dict_merge(tmp, bgp) + return bgp |