diff --git a/deevirt_schema/libvirt/dom/config.py b/deevirt_schema/libvirt/dom/config.py index cdbd1ab..3fe7677 100644 --- a/deevirt_schema/libvirt/dom/config.py +++ b/deevirt_schema/libvirt/dom/config.py @@ -128,6 +128,10 @@ class SysinfoOEMStrings(BaseXmlModel, search_mode='ordered'): entry:List[SysinfoEntry] = element(default=None) class Sysinfo(BaseXmlModel, search_mode='ordered'): + class typeEnum(str, Enum): + smbios = "smbios" + + type:typeEnum = element(default=typeEnum.smbios) bios:Optional[SysinfoBIOS] = element(default=None) system:Optional[SysinfoSystem] = element(default=SysinfoSystem()) baseBoard:Optional[SysinfoBaseBoard] = element(default=None) diff --git a/setup.py b/setup.py index d77dc70..c94e092 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='deevirt_schema', - version='0.1.11', + version='0.1.12', description='Deevirt Schema', url='https://git.celeonet.fr/Deevirt/deevirt_schema.git', author='Celeonet',