diff options
author | Christian Breunig <christian@breunig.cc> | 2025-03-29 11:21:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-29 11:21:36 +0100 |
commit | 55abc8214574d7098cceba39c347bf98e02d370a (patch) | |
tree | 846249af0b24d83b677c77f2bdf4469a9cb2030d /data/templates | |
parent | 3306de1c89388825576b51130ede2018c98aedda (diff) | |
parent | c11daec3b06aaeaa0647fa13a3375e422b54735c (diff) | |
download | vyos-1x-55abc8214574d7098cceba39c347bf98e02d370a.tar.gz vyos-1x-55abc8214574d7098cceba39c347bf98e02d370a.zip |
Merge pull request #4416 from sever-sever/T7286
T7286: Add CLI option to disable LDP establish packets
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/frr/ldpd.frr.j2 | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/data/templates/frr/ldpd.frr.j2 b/data/templates/frr/ldpd.frr.j2 index 9a893cc55..b8fb0cfc7 100644 --- a/data/templates/frr/ldpd.frr.j2 +++ b/data/templates/frr/ldpd.frr.j2 @@ -82,8 +82,11 @@ mpls ldp {% endfor %} {% endif %} {% if ldp.interface is vyos_defined %} -{% for interface in ldp.interface %} +{% for interface, iface_config in ldp.interface.items() %} interface {{ interface }} +{% if iface_config.disable_establish_hello is vyos_defined %} + disable-establish-hello +{% endif %} exit {% endfor %} {% endif %} @@ -135,8 +138,11 @@ mpls ldp {% endfor %} {% endif %} {% if ldp.interface is vyos_defined %} -{% for interface in ldp.interface %} +{% for interface, iface_config in ldp.interface.items() %} interface {{ interface }} +{% if iface_config.disable_establish_hello is vyos_defined %} + disable-establish-hello +{% endif %} {% endfor %} {% endif %} exit-address-family |