summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/protocol-common-config.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp/protocol-common-config.xml.i')
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i9
1 files changed, 7 insertions, 2 deletions
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i
index 527eaf991..d69fd7dab 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -940,8 +940,7 @@
<description>Interface name</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
#include <include/constraint/interface-name.xml.i>
</constraint>
</properties>
@@ -1017,6 +1016,12 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="enforce-first-as">
+ <properties>
+ <help>Ensure the first AS in the AS path matches the peer AS</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<leafNode name="strict-capability-match">
<properties>
<help>Enable strict capability negotiation</help>