update metadata
This commit is contained in:
parent
b5e8c4b927
commit
5793d9411d
|
@ -20,9 +20,12 @@ class UnitEnum(str, Enum):
|
|||
GiB = "GiB"
|
||||
TiB = "TiB"
|
||||
|
||||
class Metadata(BaseXmlModel, search_mode='ordered'):
|
||||
# wrapped("metadata", element(default=None, ns="deevirt", nsmap={'deevirt': 'https://deevirt.com/'}))
|
||||
pass
|
||||
class MetadataDeevirt(BaseXmlModel):
|
||||
company_id:UUID4 = element()
|
||||
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 archEnum(str, Enum):
|
||||
|
|
Loading…
Reference in New Issue