diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-17 19:09:47 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-17 19:14:17 +0200 |
commit | 1faa8728239cc5309cdaa82453b886710ad83699 (patch) | |
tree | 9d082305607044068a3ebe39696ad207329a706c /interface-definitions/include/bgp | |
parent | 387732762169a11e9502d89b08c728f0c40c4953 (diff) | |
download | vyos-1x-1faa8728239cc5309cdaa82453b886710ad83699.tar.gz vyos-1x-1faa8728239cc5309cdaa82453b886710ad83699.zip |
bgp: T3759: add l3vpn import/export vpn command for IPv4/IPv6 AFI
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r-- | interface-definitions/include/bgp/afi-export-import.xml.i | 28 | ||||
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 2 |
2 files changed, 30 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/afi-export-import.xml.i b/interface-definitions/include/bgp/afi-export-import.xml.i new file mode 100644 index 000000000..ad54c723e --- /dev/null +++ b/interface-definitions/include/bgp/afi-export-import.xml.i @@ -0,0 +1,28 @@ +<!-- include start from bgp/afi-export-import.xml.i --> +<node name="export"> + <properties> + <help>Export routes from this address-family</help> + </properties> + <children> + <leafNode name="vpn"> + <properties> + <help>to/from default instance VPN RIB</help> + <valueless/> + </properties> + </leafNode> + </children> +</node> +<node name="import"> + <properties> + <help>Import routes to this address-family</help> + </properties> + <children> + <leafNode name="vpn"> + <properties> + <help>to/from default instance VPN RIB</help> + <valueless/> + </properties> + </leafNode> + </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 7ec320b61..da32fcc52 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -478,6 +478,7 @@ </tagNode> </children> </node> + #include <include/bgp/afi-export-import.xml.i> <tagNode name="network"> <properties> <help>BGP network</help> @@ -638,6 +639,7 @@ </tagNode> </children> </node> + #include <include/bgp/afi-export-import.xml.i> <tagNode name="network"> <properties> <help>Import BGP network/prefix into multicast IPv6 RIB</help> |