summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-07-12 19:56:51 +0200
committerGitHub <noreply@github.com>2023-07-12 19:56:51 +0200
commit64360db360a36f45083a1ff6a5d5245e192ab165 (patch)
treed7e9e56425db51d06ed5f52880c8690fffd422b9 /interface-definitions/include/bgp
parent45e39efb3955a1fff5340685674ce3c0fb6592cc (diff)
parentcedf7ecfb6048cce1082d234f9d859f955b0c2cd (diff)
downloadvyos-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.i30
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>