From 9406d9e50a3b0d183ec2d76595679eea41f0129f Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Mon, 15 May 2023 20:47:16 +0200 Subject: Make all node resource elements optional --- config-model/src/main/resources/schema/common.rnc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config-model/src/main/resources') diff --git a/config-model/src/main/resources/schema/common.rnc b/config-model/src/main/resources/schema/common.rnc index 538a8f069f5..21f3399a027 100644 --- a/config-model/src/main/resources/schema/common.rnc +++ b/config-model/src/main/resources/schema/common.rnc @@ -23,9 +23,9 @@ Nodes = element nodes { } Resources = element resources { - attribute vcpu { xsd:double { minExclusive = "0.0" } | xsd:string } & - attribute memory { xsd:string } & - attribute disk { xsd:string } & + attribute vcpu { xsd:double { minExclusive = "0.0" } | xsd:string }? & + attribute memory { xsd:string }? & + attribute disk { xsd:string }? & attribute disk-speed { xsd:string }? & attribute storage-type { xsd:string }? & attribute architecture { xsd:string }? & -- cgit v1.2.3