summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-vrf.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/protocols-vrf.xml.in')
-rw-r--r--interface-definitions/protocols-vrf.xml.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/protocols-vrf.xml.in b/interface-definitions/protocols-vrf.xml.in
index e9ef5dc2a..e40edb16c 100644
--- a/interface-definitions/protocols-vrf.xml.in
+++ b/interface-definitions/protocols-vrf.xml.in
@@ -27,6 +27,21 @@
#include <include/static-route6.xml.i>
</children>
</node>
+ <tagNode name="bgp" owner="${vyos_conf_scripts_dir}/protocols_bgp.py $VAR(../@)">
+ <properties>
+ <help>Border Gateway Protocol (BGP)</help>
+ <valueHelp>
+ <format>u32:1-4294967294</format>
+ <description>Autonomous System Number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967294"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/bgp/bgp-common-config.xml.i>
+ </children>
+ </tagNode>
<node name="ospf" owner="${vyos_conf_scripts_dir}/protocols_ospf.py $VAR(../@)">
<properties>
<help>Open Shortest Path First (OSPF)</help>