update
This commit is contained in:
parent
f87313eef9
commit
00235f0084
|
@ -630,6 +630,9 @@ class Devices(BaseXmlModel, search_mode='ordered'):
|
||||||
tpm:Optional[TPM] = element(default=None)
|
tpm:Optional[TPM] = element(default=None)
|
||||||
|
|
||||||
class Dom(BaseXmlModel, tag='domain', search_mode='ordered'):
|
class Dom(BaseXmlModel, tag='domain', search_mode='ordered'):
|
||||||
|
class typeEnum(str, Enum):
|
||||||
|
kvm = "kvm"
|
||||||
|
|
||||||
class on_poweroffEnum(str, Enum):
|
class on_poweroffEnum(str, Enum):
|
||||||
destroy = "destroy"
|
destroy = "destroy"
|
||||||
restart = "restart"
|
restart = "restart"
|
||||||
|
@ -650,6 +653,8 @@ class Dom(BaseXmlModel, tag='domain', search_mode='ordered'):
|
||||||
pause = "pause"
|
pause = "pause"
|
||||||
ignore = "ignore"
|
ignore = "ignore"
|
||||||
|
|
||||||
|
type:typeEnum = attr(default=typeEnum.kvm)
|
||||||
|
|
||||||
# General metadata
|
# General metadata
|
||||||
uuid:Optional[UUID4] = element(default=None)
|
uuid:Optional[UUID4] = element(default=None)
|
||||||
genid:Optional[UUID4] = element(default=None)
|
genid:Optional[UUID4] = element(default=None)
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='deevirt_schema',
|
name='deevirt_schema',
|
||||||
version='0.1.14',
|
version='0.1.15',
|
||||||
description='Deevirt Schema',
|
description='Deevirt Schema',
|
||||||
url='https://git.celeonet.fr/Deevirt/deevirt_schema.git',
|
url='https://git.celeonet.fr/Deevirt/deevirt_schema.git',
|
||||||
author='Celeonet',
|
author='Celeonet',
|
||||||
|
|
Loading…
Reference in New Issue