summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp
diff options
context:
space:
mode:
authorWered <kylem@serverforge.org>2023-05-19 18:13:47 +0000
committerWered <kylem@serverforge.org>2023-05-19 18:13:47 +0000
commitc9497253cb40e75d09e89d91fa08ffc36be8eb5c (patch)
treeb1c487da2faa934a2fd3716dce08775f6cd915c8 /interface-definitions/include/bgp
parenta66648596dc126b7bed37d8119ee8faa14909613 (diff)
downloadvyos-1x-c9497253cb40e75d09e89d91fa08ffc36be8eb5c.tar.gz
vyos-1x-c9497253cb40e75d09e89d91fa08ffc36be8eb5c.zip
T5230: Added missing enforce-first-as option to bgp protocol common config and frr bgp jinja template.
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i6
1 files changed, 6 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 2d36f7de6..d69fd7dab 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -1016,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>