summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-path-attribute.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-27 22:43:26 +0200
committerChristian Breunig <christian@breunig.cc>2023-03-27 22:47:02 +0200
commitd9fa39a370c06d8add22a7018d14984e5ac14fc8 (patch)
tree7e6734779ca330e3425a20424ffac8e0d13912a9 /interface-definitions/include/bgp/neighbor-path-attribute.xml.i
parent35126e6b41b212aafb2784dee7577b0682bb3af5 (diff)
downloadvyos-1x-d9fa39a370c06d8add22a7018d14984e5ac14fc8.tar.gz
vyos-1x-d9fa39a370c06d8add22a7018d14984e5ac14fc8.zip
bgp: T5114: add "neighbor path-attribute discard"
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-path-attribute.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-path-attribute.xml.i21
1 files changed, 21 insertions, 0 deletions
diff --git a/interface-definitions/include/bgp/neighbor-path-attribute.xml.i b/interface-definitions/include/bgp/neighbor-path-attribute.xml.i
new file mode 100644
index 000000000..f4f2fcfa9
--- /dev/null
+++ b/interface-definitions/include/bgp/neighbor-path-attribute.xml.i
@@ -0,0 +1,21 @@
+<!-- include start from bgp/neighbor-path-attribute.xml.i -->
+<node name="path-attribute">
+ <properties>
+ <help>Manipulate path attributes from incoming UPDATE messages</help>
+ </properties>
+ <children>
+ <leafNode name="discard">
+ <properties>
+ <help>Drop specified attributes from incoming UPDATE messages</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Attribute number</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ </children>
+</node>
+<!-- include end -->