diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-23 14:26:41 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-23 14:27:28 +0100 |
commit | 916fdd8cb612676a5685d093cef853eb03f2ec35 (patch) | |
tree | b649d570a83f08efc78e64bdf8eb518996d0cdee | |
parent | ece3796409b33c4255285ee872550e21edb4a9ba (diff) | |
download | vyos-1x-916fdd8cb612676a5685d093cef853eb03f2ec35.tar.gz vyos-1x-916fdd8cb612676a5685d093cef853eb03f2ec35.zip |
isis: T2495: proper use ipv4net/ipv6net value helpers
(cherry picked from commit 0d0a495328c9bf752240e9e2d5dc605332990d86)
-rw-r--r-- | interface-definitions/protocols-isis.xml.in | 17 |
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><x.x.x.x/x> <h:h:h:h:h:h:h:h/h></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"> |