diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-22 17:38:00 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-22 19:37:26 +0100 |
commit | ed482498b0baffe0d0c6aecefebb806f09c1f0a7 (patch) | |
tree | 80c6c4a99aa35ca7dba49c5036d538246c638e0a | |
parent | bb260747096bb5072b0cf78f1ab2ff57cd0f43e8 (diff) | |
download | vyos-1x-ed482498b0baffe0d0c6aecefebb806f09c1f0a7.tar.gz vyos-1x-ed482498b0baffe0d0c6aecefebb806f09c1f0a7.zip |
bgp: T1875: update CLI description under protocols and template indention level
-rw-r--r-- | data/templates/frr/bgp.frr.tmpl | 6 | ||||
-rw-r--r-- | interface-definitions/protocols-bgp.xml.in | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/frr/bgp.frr.tmpl b/data/templates/frr/bgp.frr.tmpl index 68731abab..6fe88151f 100644 --- a/data/templates/frr/bgp.frr.tmpl +++ b/data/templates/frr/bgp.frr.tmpl @@ -292,8 +292,8 @@ router bgp {{ asn }} {% if timers is defined and timers.keepalive is defined and timers.holdtime is defined %} timers bgp {{ timers.keepalive }} {{ timers.holdtime }} {% endif %} - ! +! {% if route_map is defined and route_map is not none %} - ip protocol bgp route-map {{ route_map }} +ip protocol bgp route-map {{ route_map }} {% endif %} - ! +! diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in index 12437128c..ea879a321 100644 --- a/interface-definitions/protocols-bgp.xml.in +++ b/interface-definitions/protocols-bgp.xml.in @@ -5,7 +5,7 @@ <children> <tagNode name="bgp" owner="${vyos_conf_scripts_dir}/protocols_bgp.py"> <properties> - <help>Border Gateway Protocol (BGP) parameters</help> + <help>Border Gateway Protocol (BGP)</help> <valueHelp> <format>u32:1-4294967294</format> <description>AS number</description> |