[Libosinfo] [osinfo-db PATCH 1/4] schema: Add "maximum" resources

Fabiano Fidêncio fidencio at redhat.com
Wed Nov 14 15:54:12 UTC 2018


In the same way OSes have minimum and recommended resources, let's add
support for "maximum" resources.

https://gitlab.com/libosinfo/osinfo-db/issues/11

Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
---
 data/schema/osinfo.rng.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/data/schema/osinfo.rng.in b/data/schema/osinfo.rng.in
index 6693391..e8a1a34 100644
--- a/data/schema/osinfo.rng.in
+++ b/data/schema/osinfo.rng.in
@@ -298,6 +298,11 @@
             <ref name='resource-attr'/>
           </element>
         </optional>
+        <optional>
+          <element name='maximum'>
+            <ref name='resource-attr'/>
+          </element>
+        </optional>
       </interleave>
     </element>
   </define>
-- 
2.19.1




More information about the Libosinfo mailing list