diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-04-09 21:04:25 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-04-09 21:04:25 +0200 |
commit | 0327dc48255a7f27fcaea06c4cf2481a0d432b19 (patch) | |
tree | 86dadd6547ce110a362b6b2350806f6b8769d317 /interface-definitions/include/bgp | |
parent | 1ad3b2b10d1f73c509d5193ba72cbb8cc196b7d3 (diff) | |
download | vyos-1x-0327dc48255a7f27fcaea06c4cf2481a0d432b19.tar.gz vyos-1x-0327dc48255a7f27fcaea06c4cf2481a0d432b19.zip |
bgp: evpn: T1513: add support for ipv4/ipv6 prefix routes advertisements
set vrf name red protocols bgp address-family l2vpn-evpn advertise ipv4 unicast
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r-- | interface-definitions/include/bgp/bgp-afi-l2vpn-advertise.xml.i | 10 | ||||
-rw-r--r-- | interface-definitions/include/bgp/bgp-common-config.xml.i | 23 |
2 files changed, 33 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/bgp-afi-l2vpn-advertise.xml.i b/interface-definitions/include/bgp/bgp-afi-l2vpn-advertise.xml.i new file mode 100644 index 000000000..caf0b6b31 --- /dev/null +++ b/interface-definitions/include/bgp/bgp-afi-l2vpn-advertise.xml.i @@ -0,0 +1,10 @@ +<!-- include start from bgp/bgp-afi-l2vpn-advertise.xml.i --> +<node name="unicast"> + <properties> + <help>IPv4 address family</help> + </properties> + <children> + #include <include/route-map.xml.i> + </children> +</node> +<!-- include end --> diff --git a/interface-definitions/include/bgp/bgp-common-config.xml.i b/interface-definitions/include/bgp/bgp-common-config.xml.i index 14070e006..813da097c 100644 --- a/interface-definitions/include/bgp/bgp-common-config.xml.i +++ b/interface-definitions/include/bgp/bgp-common-config.xml.i @@ -215,6 +215,29 @@ <help>L2VPN EVPN BGP settings</help>
</properties>
<children>
+ <node name="advertise">
+ <properties>
+ <help>Advertise prefix routes</help>
+ </properties>
+ <children>
+ <node name="ipv4">
+ <properties>
+ <help>IPv4 address family</help>
+ </properties>
+ <children>
+ #include <include/bgp/bgp-afi-l2vpn-advertise.xml.i>
+ </children>
+ </node>
+ <node name="ipv6">
+ <properties>
+ <help>IPv6 address family</help>
+ </properties>
+ <children>
+ #include <include/bgp/bgp-afi-l2vpn-advertise.xml.i>
+ </children>
+ </node>
+ </children>
+ </node>
<leafNode name="advertise-all-vni">
<properties>
<help>Advertise All local VNIs</help>
|