From 799ef58667aeacfd8c55376b4f616b05466e6e2e Mon Sep 17 00:00:00 2001 From: brent s Date: Thu, 31 Oct 2019 22:35:31 -0400 Subject: [PATCH] checking in - xsd doesn't seem to properly detect duplicate pv/lv elems --- aif.xsd | 163 ++++++++++++++++++++--------------------------- docs/urls | 5 ++ examples/aif.xml | 34 ++++++---- 3 files changed, 94 insertions(+), 108 deletions(-) create mode 100644 docs/urls diff --git a/aif.xsd b/aif.xsd index 2b2327c..0eb5f22 100644 --- a/aif.xsd +++ b/aif.xsd @@ -324,7 +324,7 @@ maxOccurs="unbounded" type="aif:t_part_flags"/> - @@ -361,7 +361,7 @@ - + @@ -401,9 +401,9 @@ - + - + @@ -417,94 +417,74 @@ - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - + + - - - + + - + + + + + + + - - - - - - - - - + + + - - - + - - - - - + + + + + + + + + + - - - - - - - + + + - + + + + + + + + + + + + + + @@ -516,12 +496,12 @@ - - + @@ -537,10 +517,6 @@ - - - - @@ -557,12 +533,15 @@ - + - + + + + @@ -748,6 +727,10 @@ + + + + @@ -771,10 +754,6 @@ - - - - @@ -828,10 +807,6 @@ - - - - diff --git a/docs/urls b/docs/urls new file mode 100644 index 0000000..a9da2b4 --- /dev/null +++ b/docs/urls @@ -0,0 +1,5 @@ +libblockdev/python gobject-introspection ("gi") API reference: +https://lazka.github.io/pgi-docs/ + +example of using above for LVM: +https://github.com/storaged-project/libblockdev/blob/master/tests/lvm_test.py \ No newline at end of file diff --git a/examples/aif.xml b/examples/aif.xml index 920859d..7ff7575 100644 --- a/examples/aif.xml +++ b/examples/aif.xml @@ -55,20 +55,26 @@ - - - - - - - - data - - - - - - + + + data + misc + + + + + + + + + + + + + + + +