diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-09 10:03:51 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-09 10:03:51 +0200 |
commit | 1a278c1143b8d7a9fe43a6bc098d12ca5db19a32 (patch) | |
tree | da2034cdd5b221db5a1ec1f2a23d9d98821af55e /data | |
parent | 4cdb1f8b25f46297cb286923e9e9116964189a31 (diff) | |
download | vyos-1x-1a278c1143b8d7a9fe43a6bc098d12ca5db19a32.tar.gz vyos-1x-1a278c1143b8d7a9fe43a6bc098d12ca5db19a32.zip |
bgp: T3530: add hyphen support for peer-group names
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/frr/bgpd.frr.tmpl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/frr/bgpd.frr.tmpl b/data/templates/frr/bgpd.frr.tmpl index 57b9ba8d6..5edd3f97d 100644 --- a/data/templates/frr/bgpd.frr.tmpl +++ b/data/templates/frr/bgpd.frr.tmpl @@ -404,6 +404,7 @@ router bgp {{ local_as }} {{ 'vrf ' ~ vrf if vrf is defined and vrf is not none {% endif %} {% if parameters.bestpath.as_path is defined and parameters.bestpath.as_path is not none %} {% for option in parameters.bestpath.as_path %} +{# replace is required for multipath-relax option #} bgp bestpath as-path {{ option|replace('_', '-') }} {% endfor %} {% endif %} |