diff options
author | Christian Breunig <christian@breunig.cc> | 2023-07-12 19:56:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 19:56:51 +0200 |
commit | 64360db360a36f45083a1ff6a5d5245e192ab165 (patch) | |
tree | d7e9e56425db51d06ed5f52880c8690fffd422b9 /interface-definitions/include/bgp | |
parent | 45e39efb3955a1fff5340685674ce3c0fb6592cc (diff) | |
parent | cedf7ecfb6048cce1082d234f9d859f955b0c2cd (diff) | |
download | vyos-1x-64360db360a36f45083a1ff6a5d5245e192ab165.tar.gz vyos-1x-64360db360a36f45083a1ff6a5d5245e192ab165.zip |
Merge pull request #2085 from aapostoliuk/T5338-sagitta
bgp: T5338: Added 'protocols bgp interface <int> mpls forwarding' feature
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r-- | interface-definitions/include/bgp/protocol-common-config.xml.i | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i index 9ba38f089..07b6868ee 100644 --- a/interface-definitions/include/bgp/protocol-common-config.xml.i +++ b/interface-definitions/include/bgp/protocol-common-config.xml.i @@ -873,6 +873,36 @@ </node> </children> </node> +<tagNode name="interface"> + <properties> + <help>Enable MPLS on Interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces</script> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>Interface name</description> + </valueHelp> + <constraint> + #include <include/constraint/interface-name.xml.i> + </constraint> + </properties> + <children> + <node name="mpls"> + <properties> + <help> MPLS options</help> + </properties> + <children> + <leafNode name="forwarding"> + <properties> + <help> Enable MPLS forwarding for eBGP directly connected peers</help> + <valueless/> + </properties> + </leafNode> + </children> + </node> + </children> +</tagNode> <node name="listen"> <properties> <help>Listen for and accept BGP dynamic neighbors from range</help> |