Fixed Min-Max admin values checking && set proxmox vmid as readonly

This commit is contained in:
Adolfo Gómez García 2021-11-08 13:18:58 +01:00
parent c5071cf348
commit f403d4ff3e

View File

@ -170,13 +170,14 @@ class ProxmoxProvider(
# Just reset _api connection variable
self._api = None
# All proxmox use same UniqueId generator
self._vmid_generator = UniqueIDGenerator('vmid', 'proxmox', 'proxmox')
if values is not None:
self.timeout.value = validators.validateTimeout(self.timeout.value)
logger.debug(self.host.value)
# All proxmox use same UniqueId generator
self._vmid_generator = UniqueIDGenerator('vmid', 'proxmox', 'proxmox')
def testConnection(self) -> bool:
"""
Test that conection to Proxmox server is fine