diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-20 18:17:54 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-20 18:18:26 +0200 |
commit | f7e3f5562458da4d80b272f1524c27727799e57b (patch) | |
tree | 3f59f88f308af28e9ef9c0addc355b37806935ef /interface-definitions/include/bgp | |
parent | 2591adc9ad25906bf58b42a70409d40d8b339ed6 (diff) | |
download | vyos-1x-f7e3f5562458da4d80b272f1524c27727799e57b.tar.gz vyos-1x-f7e3f5562458da4d80b272f1524c27727799e57b.zip |
bgp: T3759: add IPv4/IPv6 unicast AFI route-map for VPN import/export
This adds the following new commands:
set protocols bgp address-family ipv4-unicast route-map vpn export foo-map-out
set protocols bgp address-family ipv4-unicast route-map vpn import foo-map-in
set protocols bgp address-family ipv6-unicast route-map vpn export foo-map-out
set protocols bgp address-family ipv6-unicast route-map vpn import foo-map-in
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r-- | interface-definitions/include/bgp/afi-route-map-vpn.xml.i | 17 | ||||
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-route-map-vpn.xml.i b/interface-definitions/include/bgp/afi-route-map-vpn.xml.i new file mode 100644 index 000000000..e6be113c5 --- /dev/null +++ b/interface-definitions/include/bgp/afi-route-map-vpn.xml.i @@ -0,0 +1,17 @@ +<!-- include start from bgp/afi-route-map-vpn.xml.i --> +<node name="route-map"> + <properties> + <help>Route-map to filter route updates to/from this peer</help> + </properties> + <children> + <node name="vpn"> + <properties> + <help>Between current address-family and VPN</help> + </properties> + <children> + #include <include/bgp/afi-route-map-export-import.xml.i> + </children> + </node> + </children> +</node> +<!-- include end --> diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 6fb9adf93..a971c52b8 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -118,6 +118,7 @@ </children> </tagNode> #include <include/bgp/afi-rd.xml.i> + #include <include/bgp/afi-route-map-vpn.xml.i> <node name="route-target"> <properties> <help>Specify route distinguisher</help> @@ -518,6 +519,7 @@ </children> </tagNode> #include <include/bgp/afi-rd.xml.i> + #include <include/bgp/afi-route-map-vpn.xml.i> <node name="redistribute"> <properties> <help>Redistribute routes from other protocols into BGP</help> |