summaryrefslogtreecommitdiff
path: root/interface-definitions/include/address-ipv4-ipv6.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/address-ipv4-ipv6.xml.i')
-rw-r--r--interface-definitions/include/address-ipv4-ipv6.xml.i17
1 files changed, 17 insertions, 0 deletions
diff --git a/interface-definitions/include/address-ipv4-ipv6.xml.i b/interface-definitions/include/address-ipv4-ipv6.xml.i
new file mode 100644
index 000000000..a891085bd
--- /dev/null
+++ b/interface-definitions/include/address-ipv4-ipv6.xml.i
@@ -0,0 +1,17 @@
+<leafNode name="address">
+ <properties>
+ <help>IP address</help>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 address and prefix length</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6net</format>
+ <description>IPv6 address and prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ip-host"/>
+ </constraint>
+ <multi/>
+ </properties>
+</leafNode>