diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-09-18 21:35:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-18 21:35:42 +0200 |
commit | 877047b9d36f9a2ef029cc6f05c1467d1a0d6e3f (patch) | |
tree | 31ee3c43176cdbe9cf6557833618f5c2749f272b /data/templates/frr | |
parent | dcf755594d3ce63239af407f71ceae295a12ed75 (diff) | |
parent | 6ce3b50be62a0e8a676419fc94bc49d7ecdbb2fa (diff) | |
download | vyos-1x-877047b9d36f9a2ef029cc6f05c1467d1a0d6e3f.tar.gz vyos-1x-877047b9d36f9a2ef029cc6f05c1467d1a0d6e3f.zip |
Merge pull request #1543 from Cheeze-It/current
isis: T4693: Fix ISIS segment routing configurations, part deux
Diffstat (limited to 'data/templates/frr')
-rw-r--r-- | data/templates/frr/isisd.frr.j2 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/data/templates/frr/isisd.frr.j2 b/data/templates/frr/isisd.frr.j2 index 709484c98..e0f3b393e 100644 --- a/data/templates/frr/isisd.frr.j2 +++ b/data/templates/frr/isisd.frr.j2 @@ -127,8 +127,7 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is vyos_defined }} segment-routing prefix {{ prefix }} absolute {{ prefix_config.absolute.value }} {% if prefix_config.absolute.explicit_null is vyos_defined %} segment-routing prefix {{ prefix }} absolute {{ prefix_config.absolute.value }} explicit-null -{% endif %} -{% if prefix_config.absolute.no_php_flag is vyos_defined %} +{% elif prefix_config.absolute.no_php_flag is vyos_defined %} segment-routing prefix {{ prefix }} absolute {{ prefix_config.absolute.value }} no-php-flag {% endif %} {% endif %} @@ -138,8 +137,7 @@ router isis VyOS {{ 'vrf ' + vrf if vrf is vyos_defined }} segment-routing prefix {{ prefix }} index {{ prefix_config.index.value }} {% if prefix_config.index.explicit_null is vyos_defined %} segment-routing prefix {{ prefix }} index {{ prefix_config.index.value }} explicit-null -{% endif %} -{% if prefix_config.index.no_php_flag is vyos_defined %} +{% elif prefix_config.index.no_php_flag is vyos_defined %} segment-routing prefix {{ prefix }} index {{ prefix_config.index.value }} no-php-flag {% endif %} {% endif %} |