aboutsummaryrefslogtreecommitdiff
path: root/scripts/up-down-schema.rng
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/up-down-schema.rng')
-rw-r--r--scripts/up-down-schema.rng9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/up-down-schema.rng b/scripts/up-down-schema.rng
index b3044378..50425637 100644
--- a/scripts/up-down-schema.rng
+++ b/scripts/up-down-schema.rng
@@ -97,16 +97,19 @@
<attribute name="resource_set_as">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,0-9]*</param>
</data>
</attribute>
<attribute name="resource_set_ipv4">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,/.0-9]*</param>
</data>
</attribute>
<attribute name="resource_set_ipv6">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,/:0-9a-fA-F]*</param>
</data>
</attribute>
<optional>
@@ -127,6 +130,7 @@
<attribute name="req_resource_set_as">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,0-9]*</param>
</data>
</attribute>
</optional>
@@ -134,6 +138,7 @@
<attribute name="req_resource_set_ipv4">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,/.0-9]*</param>
</data>
</attribute>
</optional>
@@ -141,6 +146,7 @@
<attribute name="req_resource_set_ipv6">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,/:0-9a-fA-F]*</param>
</data>
</attribute>
</optional>
@@ -167,6 +173,7 @@
<attribute name="req_resource_set_as">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,0-9]*</param>
</data>
</attribute>
</optional>
@@ -174,6 +181,7 @@
<attribute name="req_resource_set_ipv4">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,/.0-9]*</param>
</data>
</attribute>
</optional>
@@ -181,6 +189,7 @@
<attribute name="req_resource_set_ipv6">
<data type="string">
<param name="maxLength">512000</param>
+ <param name="pattern">[\-,/:0-9a-fA-F]*</param>
</data>
</attribute>
</optional>