summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-23 14:26:41 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-23 14:26:41 +0100
commit0d0a495328c9bf752240e9e2d5dc605332990d86 (patch)
tree310017ec046dcac4cf9271c648c9e66434902e64
parent8926edf6b64adc550ee2f6bee9a78a43d46a2053 (diff)
downloadvyos-1x-0d0a495328c9bf752240e9e2d5dc605332990d86.tar.gz
vyos-1x-0d0a495328c9bf752240e9e2d5dc605332990d86.zip
isis: T2495: proper use ipv4net/ipv6net value helpers
-rw-r--r--interface-definitions/protocols-isis.xml.in17
1 files changed, 13 insertions, 4 deletions
diff --git a/interface-definitions/protocols-isis.xml.in b/interface-definitions/protocols-isis.xml.in
index 8c5691ecf..4ac378977 100644
--- a/interface-definitions/protocols-isis.xml.in
+++ b/interface-definitions/protocols-isis.xml.in
@@ -257,7 +257,7 @@
<valueless/>
</properties>
</leafNode>
-<!--
+<!--
<node name="inter-as">
<properties>
<help>MPLS traffic engineering inter-AS support</help>
@@ -394,9 +394,18 @@
<tagNode name="prefix">
<properties>
<help>Static IPv4/IPv6 prefix segment/label mapping</help>
- <completionHelp>
- <list>&lt;x.x.x.x/x&gt; &lt;h:h:h:h:h:h:h:h/h&gt;</list>
- </completionHelp>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 prefix segment</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 prefix segment</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-prefix"/>
+ <validator name="ipv6-prefix"/>
+ </constraint>
</properties>
<children>
<node name="absolute">