summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp')
-rw-r--r--interface-definitions/include/bgp/bmp-monitor-afi-policy.xml.i6
-rw-r--r--interface-definitions/include/bgp/neighbor-afi-link-state.xml.i8
-rw-r--r--interface-definitions/include/bgp/neighbor-bfd.xml.i19
-rw-r--r--interface-definitions/include/bgp/neighbor-local-role.xml.i2
-rw-r--r--interface-definitions/include/bgp/protocol-common-config.xml.i73
-rw-r--r--interface-definitions/include/bgp/remote-as.xml.i8
-rw-r--r--interface-definitions/include/bgp/solo.xml.i8
7 files changed, 114 insertions, 10 deletions
diff --git a/interface-definitions/include/bgp/bmp-monitor-afi-policy.xml.i b/interface-definitions/include/bgp/bmp-monitor-afi-policy.xml.i
index 261d60232..d4bb0093e 100644
--- a/interface-definitions/include/bgp/bmp-monitor-afi-policy.xml.i
+++ b/interface-definitions/include/bgp/bmp-monitor-afi-policy.xml.i
@@ -1,4 +1,10 @@
<!-- include start from bgp/bmp-monitor-afi-policy.xml.i -->
+<leafNode name="local-rib">
+ <properties>
+ <help>Enable BMP monitoring of local RIB</help>
+ <valueless/>
+ </properties>
+</leafNode>
<leafNode name="pre-policy">
<properties>
<help>Send state before policy and filter processing</help>
diff --git a/interface-definitions/include/bgp/neighbor-afi-link-state.xml.i b/interface-definitions/include/bgp/neighbor-afi-link-state.xml.i
new file mode 100644
index 000000000..fa31f5c46
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-afi-link-state.xml.i
@@ -0,0 +1,8 @@
+<!-- include start from bgp/neighbor-afi-link-state.xml.i -->
+<leafNode name="link-state">
+ <properties>
+ <help>Link State BGP address family</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<!-- include end -->
diff --git a/interface-definitions/include/bgp/neighbor-bfd.xml.i b/interface-definitions/include/bgp/neighbor-bfd.xml.i
index fac2a1166..6de4c9373 100644
--- a/interface-definitions/include/bgp/neighbor-bfd.xml.i
+++ b/interface-definitions/include/bgp/neighbor-bfd.xml.i
@@ -11,6 +11,25 @@
<valueless/>
</properties>
</leafNode>
+ <node name="strict">
+ <properties>
+ <help>Strict mode</help>
+ </properties>
+ <children>
+ <leafNode name="hold-time">
+ <properties>
+ <help>BFD hold time</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>BFD hold time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
<!-- include end -->
diff --git a/interface-definitions/include/bgp/neighbor-local-role.xml.i b/interface-definitions/include/bgp/neighbor-local-role.xml.i
index 6ddb4908f..472e5ab8b 100644
--- a/interface-definitions/include/bgp/neighbor-local-role.xml.i
+++ b/interface-definitions/include/bgp/neighbor-local-role.xml.i
@@ -33,7 +33,7 @@
<children>
<leafNode name="strict">
<properties>
- <help>Neighbor must send this exact capability, otherwise a role missmatch notification will be sent</help>
+ <help>Neighbor must send this exact capability, otherwise a role mismatch notification will be sent</help>
<valueless/>
</properties>
</leafNode>
diff --git a/interface-definitions/include/bgp/protocol-common-config.xml.i b/interface-definitions/include/bgp/protocol-common-config.xml.i
index 31c8cafea..f342402bb 100644
--- a/interface-definitions/include/bgp/protocol-common-config.xml.i
+++ b/interface-definitions/include/bgp/protocol-common-config.xml.i
@@ -1036,6 +1036,8 @@
<validator name="ip-address"/>
#include <include/constraint/interface-name.xml.i>
</constraint>
+ <constraintSilenceOutput/>
+ <constraintErrorMessage>BGP neighbor must be one of: IP address, IPv6 address, or interface name</constraintErrorMessage>
</properties>
<children>
<node name="address-family">
@@ -1054,6 +1056,7 @@
#include <include/bgp/neighbor-afi-ipv4-multicast.xml.i>
#include <include/bgp/neighbor-afi-ipv6-multicast.xml.i>
#include <include/bgp/neighbor-afi-l2vpn-evpn.xml.i>
+ #include <include/bgp/neighbor-afi-link-state.xml.i>
</children>
</node>
<leafNode name="advertisement-interval">
@@ -1103,12 +1106,7 @@
#include <include/bgp/peer-group.xml.i>
#include <include/bgp/remote-as.xml.i>
#include <include/bgp/neighbor-shutdown.xml.i>
- <leafNode name="solo">
- <properties>
- <help>Do not send back prefixes learned from the neighbor</help>
- <valueless/>
- </properties>
- </leafNode>
+ #include <include/bgp/solo.xml.i>
<leafNode name="enforce-first-as">
<properties>
<help>Ensure the first AS in the AS path matches the peer AS</help>
@@ -1156,6 +1154,25 @@
<help>BGP parameters</help>
</properties>
<children>
+ <leafNode name="as-notation">
+ <properties>
+ <help>BGP AS-notation output format</help>
+ <completionHelp>
+ <list>asdot asdot+</list>
+ </completionHelp>
+ <valueHelp>
+ <format>asdot</format>
+ <description>Use asdot notation only for 4 byte AS numbers</description>
+ </valueHelp>
+ <valueHelp>
+ <format>asdot+</format>
+ <description>Use asdot notation for all AS numbers</description>
+ </valueHelp>
+ <constraint>
+ <regex>(asdot\+|asdot)</regex>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="allow-martian-nexthop">
<properties>
<help>Allow Martian nexthops to be received in the NLRI from a peer</help>
@@ -1596,6 +1613,12 @@
<valueless/>
</properties>
</leafNode>
+ <leafNode name="no-ipv6-auto-ra">
+ <properties>
+ <help>Disable IPv6 automatic router advertisement</help>
+ <valueless/>
+ </properties>
+ </leafNode>
<leafNode name="no-suppress-duplicates">
<properties>
<help>Disable suppress duplicate updates if the route actually not changed</help>
@@ -1664,6 +1687,41 @@
</leafNode>
</children>
</node>
+ <node name="update-delay">
+ <properties>
+ <help>BGP update-delay read-only mode</help>
+ </properties>
+ <children>
+ <leafNode name="max-delay">
+ <properties>
+ <help>Maximum delay before exiting read-only mode</help>
+ <valueHelp>
+ <format>u32:0</format>
+ <description>Disable feature</description>
+ </valueHelp>
+ <valueHelp>
+ <format>u32:1-3600</format>
+ <description>Delay in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-3600"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="establish-wait">
+ <properties>
+ <help>Time to wait for peers to reach Established state before determining expected peers</help>
+ <valueHelp>
+ <format>u32:1-3600</format>
+ <description>Wait time in seconds</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-3600"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
<tagNode name="peer-group">
@@ -1686,6 +1744,7 @@
#include <include/bgp/neighbor-afi-ipv6-labeled-unicast.xml.i>
#include <include/bgp/neighbor-afi-ipv6-vpn.xml.i>
#include <include/bgp/neighbor-afi-l2vpn-evpn.xml.i>
+ #include <include/bgp/neighbor-afi-link-state.xml.i>
</children>
</node>
#include <include/generic-description.xml.i>
@@ -1695,7 +1754,6 @@
#include <include/bgp/neighbor-disable-connected-check.xml.i>
#include <include/bgp/neighbor-ebgp-multihop.xml.i>
#include <include/bgp/neighbor-graceful-restart.xml.i>
- #include <include/bgp/neighbor-graceful-restart.xml.i>
#include <include/bgp/neighbor-local-as.xml.i>
#include <include/bgp/neighbor-local-role.xml.i>
#include <include/bgp/neighbor-override-capability.xml.i>
@@ -1707,6 +1765,7 @@
#include <include/bgp/neighbor-update-source.xml.i>
#include <include/bgp/remote-as.xml.i>
#include <include/port-number.xml.i>
+ #include <include/bgp/solo.xml.i>
</children>
</tagNode>
<node name="srv6">
diff --git a/interface-definitions/include/bgp/remote-as.xml.i b/interface-definitions/include/bgp/remote-as.xml.i
index 79d3b95a9..4c622b831 100644
--- a/interface-definitions/include/bgp/remote-as.xml.i
+++ b/interface-definitions/include/bgp/remote-as.xml.i
@@ -3,13 +3,17 @@
<properties>
<help>Neighbor BGP AS number</help>
<completionHelp>
- <list>external internal</list>
+ <list>auto external internal</list>
</completionHelp>
<valueHelp>
<format>u32:1-4294967294</format>
<description>Neighbor AS number</description>
</valueHelp>
<valueHelp>
+ <format>auto</format>
+ <description>Automatically detect remote AS</description>
+ </valueHelp>
+ <valueHelp>
<format>external</format>
<description>Any AS different from the local AS</description>
</valueHelp>
@@ -19,7 +23,7 @@
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-4294967294"/>
- <regex>(external|internal)</regex>
+ <regex>(auto|external|internal)</regex>
</constraint>
<constraintErrorMessage>Invalid AS number</constraintErrorMessage>
</properties>
diff --git a/interface-definitions/include/bgp/solo.xml.i b/interface-definitions/include/bgp/solo.xml.i
new file mode 100644
index 000000000..2b26b5af3
--- /dev/null
+++ b/interface-definitions/include/bgp/solo.xml.i
@@ -0,0 +1,8 @@
+<!-- include start from bgp/solo.xml.i -->
+<leafNode name="solo">
+ <properties>
+ <help>Do not send back prefixes learned from the neighbor</help>
+ <valueless/>
+ </properties>
+</leafNode>
+<!-- include end -->