update metadata
This commit is contained in:
parent
b5e8c4b927
commit
5793d9411d
|
@ -20,9 +20,12 @@ class UnitEnum(str, Enum):
|
||||||
GiB = "GiB"
|
GiB = "GiB"
|
||||||
TiB = "TiB"
|
TiB = "TiB"
|
||||||
|
|
||||||
class Metadata(BaseXmlModel, search_mode='ordered'):
|
class MetadataDeevirt(BaseXmlModel):
|
||||||
# wrapped("metadata", element(default=None, ns="deevirt", nsmap={'deevirt': 'https://deevirt.com/'}))
|
company_id:UUID4 = element()
|
||||||
pass
|
datacenter_id:UUID4 = element()
|
||||||
|
|
||||||
|
class Metadata(BaseXmlModel):
|
||||||
|
instance:Optional[MetadataDeevirt] = element(default=None, ns="deevirt", nsmap={'deevirt': 'https://deevirt.fr/schema/1.0'})
|
||||||
|
|
||||||
class OSType(BaseXmlModel, search_mode='ordered'):
|
class OSType(BaseXmlModel, search_mode='ordered'):
|
||||||
class archEnum(str, Enum):
|
class archEnum(str, Enum):
|
||||||
|
|
Loading…
Reference in New Issue