summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-13 15:54:27 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-13 15:55:00 +0100
commitdd039ae58e170af891a31ece50868b3abc27ce2d (patch)
tree565afc01091d9f1835cbac3e8902f3eaa0450ab0 /interface-definitions/protocols-bgp.xml.in
parent2f24ecbdfc8667288e998742cc91877b36d4915c (diff)
downloadvyos-1x-dd039ae58e170af891a31ece50868b3abc27ce2d.tar.gz
vyos-1x-dd039ae58e170af891a31ece50868b3abc27ce2d.zip
bgp: T2174: bugfix FRR template generation
Diffstat (limited to 'interface-definitions/protocols-bgp.xml.in')
-rw-r--r--interface-definitions/protocols-bgp.xml.in43
1 files changed, 39 insertions, 4 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index b9f67f188..e461fde29 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -192,9 +192,9 @@
#include <include/bgp-afi-redistribute-metric-route-map.xml.i>
</children>
</node>
- <node name="rip">
+ <node name="ripng">
<properties>
- <help>Redistribute RIP routes into BGP</help>
+ <help>Redistribute RIPng routes into BGP</help>
</properties>
<children>
#include <include/bgp-afi-redistribute-metric-route-map.xml.i>
@@ -742,8 +742,43 @@
<help>BGP peer-group address-family parameters</help>
</properties>
<children>
- #include <include/bgp-peer-group-afi-ipv4-unicast.xml.i>
- #include <include/bgp-peer-group-afi-ipv6-unicast.xml.i>
+ <node name="ipv4-unicast">
+ <properties>
+ <help>IPv4 BGP peer group parameters</help>
+ </properties>
+ <children>
+ <node name="capability">
+ <properties>
+ <help>Advertise capabilities to this peer-group</help>
+ </properties>
+ <children>
+ #include <include/bgp-afi-capability-orf.xml.i>
+ #include <include/bgp-afi-ipv6-capability-dynamic.xml.i>
+ </children>
+ </node>
+ #include <include/bgp-afi-ipv4-prefix-list.xml.i>
+ #include <include/bgp-afi-common.xml.i>
+ </children>
+ </node>
+ <node name="ipv6-unicast">
+ <properties>
+ <help>IPv6 BGP peer group parameters</help>
+ </properties>
+ <children>
+ <node name="capability">
+ <properties>
+ <help>Advertise capabilities to this peer-group</help>
+ </properties>
+ <children>
+ #include <include/bgp-afi-capability-orf.xml.i>
+ #include <include/bgp-afi-ipv6-capability-dynamic.xml.i>
+ </children>
+ </node>
+ #include <include/bgp-afi-ipv6-nexthop-local.xml.i>
+ #include <include/bgp-afi-ipv6-prefix-list.xml.i>
+ #include <include/bgp-afi-common.xml.i>
+ </children>
+ </node>
</children>
</node>
<leafNode name="bfd">