summaryrefslogtreecommitdiff
path: root/interface-definitions/include/accel-client-subnet.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/accel-client-subnet.xml.i')
-rw-r--r--interface-definitions/include/accel-client-subnet.xml.i16
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/include/accel-client-subnet.xml.i b/interface-definitions/include/accel-client-subnet.xml.i
new file mode 100644
index 000000000..e6dd5534c
--- /dev/null
+++ b/interface-definitions/include/accel-client-subnet.xml.i
@@ -0,0 +1,16 @@
+<!-- included start from accel-client-subnet.xml.i -->
+<leafNode name="subnet">
+ <properties>
+ <help>Client IP subnet (CIDR notation)</help>
+ <valueHelp>
+ <format>ipv4net</format>
+ <description>IPv4 address and prefix length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-prefix"/>
+ </constraint>
+ <constraintErrorMessage>Not a valid CIDR formatted prefix</constraintErrorMessage>
+ <multi />
+ </properties>
+</leafNode>
+<!-- included end -->