summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-isis.xml.in
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:27:28 +0100
commit916fdd8cb612676a5685d093cef853eb03f2ec35 (patch)
treeb649d570a83f08efc78e64bdf8eb518996d0cdee /interface-definitions/protocols-isis.xml.in
parentece3796409b33c4255285ee872550e21edb4a9ba (diff)
downloadvyos-1x-916fdd8cb612676a5685d093cef853eb03f2ec35.tar.gz
vyos-1x-916fdd8cb612676a5685d093cef853eb03f2ec35.zip
isis: T2495: proper use ipv4net/ipv6net value helpers
(cherry picked from commit 0d0a495328c9bf752240e9e2d5dc605332990d86)
Diffstat (limited to 'interface-definitions/protocols-isis.xml.in')
-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">