aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@verizonmedia.com>2020-03-26 18:20:39 +0100
committerJon Bratseth <bratseth@verizonmedia.com>2020-03-26 18:20:39 +0100
commita82614e0ae27b6aa0875c1d92b2b3116db1bbc63 (patch)
treeee2740ab937979069a09c268160911e9dc42a160 /config-model/src/main/resources
parent2f2412562cbdacb9d17396f3f6515aa19cbf1bae (diff)
Allow vcpu ranges and propagate error
Diffstat (limited to 'config-model/src/main/resources')
-rw-r--r--config-model/src/main/resources/schema/common.rnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/resources/schema/common.rnc b/config-model/src/main/resources/schema/common.rnc
index 51a1d5f36b9..878faabfec1 100644
--- a/config-model/src/main/resources/schema/common.rnc
+++ b/config-model/src/main/resources/schema/common.rnc
@@ -24,7 +24,7 @@ Nodes = element nodes {
}
Resources = element resources {
- attribute vcpu { xsd:double { minExclusive = "0.0" } } &
+ attribute vcpu { xsd:double { minExclusive = "0.0" } | xsd:string } &
attribute memory { xsd:string } &
attribute disk { xsd:string } &
attribute disk-speed { xsd:string }? &