summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-local-role.xml.i
diff options
context:
space:
mode:
authorKyle McClammy <kylem@serverforge.org>2023-02-04 00:54:35 +0000
committerKyle McClammy <kylem@serverforge.org>2023-02-04 00:54:35 +0000
commit8a75e92d9172309f76b3a292f4419d68b5ed5eb8 (patch)
tree68750aa8984581708e666a152ee9758c611ab965 /interface-definitions/include/bgp/neighbor-local-role.xml.i
parentbcee46aaed5b612f39e3b34776d3353a2fd1d42e (diff)
downloadvyos-1x-8a75e92d9172309f76b3a292f4419d68b5ed5eb8.tar.gz
vyos-1x-8a75e92d9172309f76b3a292f4419d68b5ed5eb8.zip
T4817 added support for RFC 9234
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-local-role.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-local-role.xml.i42
1 files changed, 42 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/neighbor-local-role.xml.i b/interface-definitions/include/bgp/neighbor-local-role.xml.i
new file mode 100644
index 000000000..3f15802b1
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-local-role.xml.i
@@ -0,0 +1,42 @@
+<!-- include start from bgp/neigbhor-local-role.xml.i -->
+<tagNode name="local-role">
+ <properties>
+ <help>Local role for this bgp session.</help>
+ <completionHelp>
+ <list>customer peer provider rs-client rs-server</list>
+ </completionHelp>
+ <valueHelp>
+ <format>customer</format>
+ <description>Using Transit</description>
+ </valueHelp>
+ <valueHelp>
+ <format>peer</format>
+ <description>Public/Private Peering</description>
+ </valueHelp>
+ <valueHelp>
+ <format>provider</format>
+ <description>Providing Transit</description>
+ </valueHelp>
+ <valueHelp>
+ <format>rs-client</format>
+ <description>RS Client</description>
+ </valueHelp>
+ <valueHelp>
+ <format>rs-server</format>
+ <description>Route Server</description>
+ </valueHelp>
+ <constraint>
+ <regex>(provider|rs-server|rs-client|customer|peer)</regex>
+ </constraint>
+ <constraintErrorMessage>Invalid Option</constraintErrorMessage>
+ </properties>
+ <children>
+ <leafNode name="strict">
+ <properties>
+ <help>Your neighbor must send you Capability with the value of his role. Otherwise, a Role Mismatch Notification will be sent.</help>
+ <valueless/>
+ </properties>
+ </leafNode>
+ </children>
+</tagNode>
+<!-- include end -->