This commit is contained in:
Mickael BOURNEUF 2024-11-07 14:54:15 +01:00
parent f87313eef9
commit 00235f0084
2 changed files with 6 additions and 1 deletions

View File

@ -630,6 +630,9 @@ class Devices(BaseXmlModel, search_mode='ordered'):
tpm:Optional[TPM] = element(default=None)
class Dom(BaseXmlModel, tag='domain', search_mode='ordered'):
class typeEnum(str, Enum):
kvm = "kvm"
class on_poweroffEnum(str, Enum):
destroy = "destroy"
restart = "restart"
@ -650,6 +653,8 @@ class Dom(BaseXmlModel, tag='domain', search_mode='ordered'):
pause = "pause"
ignore = "ignore"
type:typeEnum = attr(default=typeEnum.kvm)
# General metadata
uuid:Optional[UUID4] = element(default=None)
genid:Optional[UUID4] = element(default=None)

View File

@ -2,7 +2,7 @@ from setuptools import find_packages, setup
setup(
name='deevirt_schema',
version='0.1.14',
version='0.1.15',
description='Deevirt Schema',
url='https://git.celeonet.fr/Deevirt/deevirt_schema.git',
author='Celeonet',