zvma10 wrapper module

Created a python module that has everything needed for comms with ZVMA version 10 in a seperate class. It does not have full api coverage, but is enough to start refactoring the exporter to use the class for ZVMa10
This commit is contained in:
2023-12-08 11:05:50 -05:00
parent b51a7bd068
commit 0911a4eccc
11 changed files with 806 additions and 348 deletions
+3
View File
@@ -16,8 +16,11 @@ from tinydb import TinyDB, Query
from tinydbstorage.storage import MemoryStorage
from version import VERSION
from zvma10.vcenter import vcsite
from zvma10.zvma import zvmsite
from posthog import Posthog
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
callhomestats = os.getenv("CALL_HOME_STATS", 'True').lower() in ('false', '0', 'f')
verifySSL = os.getenv("VERIFY_SSL", 'False').lower() in ('true', '1', 't')
zvm_url = os.environ.get('ZVM_HOST', '192.168.50.60')
zvm_port = os.environ.get('ZVM_PORT', '443')