summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bgp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-23 14:27:05 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-23 14:27:05 +0100
commit6baf79a72cac9e6624d56b140511c32fad2cfbaa (patch)
tree3cda11d00999b38308bf69b43707b1854545f733 /interface-definitions/protocols-bgp.xml.in
parent0d0a495328c9bf752240e9e2d5dc605332990d86 (diff)
downloadvyos-1x-6baf79a72cac9e6624d56b140511c32fad2cfbaa.tar.gz
vyos-1x-6baf79a72cac9e6624d56b140511c32fad2cfbaa.zip
bgp: T2174: proper use ipv4net/ipv6net value helpers
Diffstat (limited to 'interface-definitions/protocols-bgp.xml.in')
-rw-r--r--interface-definitions/protocols-bgp.xml.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/interface-definitions/protocols-bgp.xml.in b/interface-definitions/protocols-bgp.xml.in
index ea879a321..3edacb0ca 100644
--- a/interface-definitions/protocols-bgp.xml.in
+++ b/interface-definitions/protocols-bgp.xml.in
@@ -269,10 +269,15 @@
</leafNode>
<tagNode name="range">
<properties>
- <help>IPv4/IPv6 prefix range</help>
- <completionHelp>
- <list>&lt;x.x.x.x/x&gt; &lt;h:h:h:h:h:h:h:h/h&gt;</list>
- </completionHelp>
+ <help>BGP dynamic neighbors listen range</help>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 dynamic neighbors listen range</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 dynamic neighbors listen range</description>
+ </valueHelp>
<constraint>
<validator name="ipv4-prefix"/>
<validator name="ipv6-prefix"/>