diff options
Diffstat (limited to 'src/software/openlmi/software/cimom_entry.py')
-rw-r--r-- | src/software/openlmi/software/cimom_entry.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/software/openlmi/software/cimom_entry.py b/src/software/openlmi/software/cimom_entry.py index 4dd0d40..7d39a21 100644 --- a/src/software/openlmi/software/cimom_entry.py +++ b/src/software/openlmi/software/cimom_entry.py @@ -28,7 +28,7 @@ from multiprocessing import Queue from openlmi.common import cmpi_logging from openlmi.common import JobManager from openlmi.common.IndicationManager import IndicationManager -from openlmi.software.core import InstallationJob +from openlmi.software.core import Job from openlmi.software.LMI_SoftwareIdentity import LMI_SoftwareIdentity from openlmi.software.LMI_SystemSoftwareCollection import \ LMI_SystemSoftwareCollection @@ -55,8 +55,7 @@ from openlmi.software.LMI_HostedSoftwareInstallationService import \ LMI_HostedSoftwareInstallationService from openlmi.software.LMI_SoftwareInstallationServiceAffectsElement import \ LMI_SoftwareInstallationServiceAffectsElement -from openlmi.software.LMI_SoftwareInstallationJob import \ - LMI_SoftwareInstallationJob +from openlmi.software.LMI_SoftwareJob import LMI_SoftwareJob from openlmi.software.LMI_SoftwareMethodResult import \ LMI_SoftwareMethodResult from openlmi.software.LMI_AffectedSoftwareJobElement import \ @@ -80,8 +79,7 @@ def get_providers(env): # jobmanager does not understand CIM models, give it a way to transform # job to CIMIndication instance - jobmanager.JOB_TO_MODEL = lambda job: \ - InstallationJob.job2model(job, keys_only=False) + jobmanager.JOB_TO_MODEL = lambda job: Job.job2model(job, keys_only=False) providers = { "LMI_SoftwareIdentity" : LMI_SoftwareIdentity(env), @@ -104,9 +102,11 @@ def get_providers(env): LMI_HostedSoftwareInstallationService(env), "LMI_SoftwareInstallationServiceAffectsElement" : \ LMI_SoftwareInstallationServiceAffectsElement(env), - "LMI_SoftwareInstallationJob" : LMI_SoftwareInstallationJob(env), - "LMI_SoftwareInstCreation" : LMI_SoftwareInstallationJob(env), - "LMI_SoftwareInstModification" : LMI_SoftwareInstallationJob(env), + "LMI_SoftwareJob" : LMI_SoftwareJob(env), + "LMI_SoftwareInstallationJob" : LMI_SoftwareJob(env), + "LMI_SoftwareVerificationJob" : LMI_SoftwareJob(env), + "LMI_SoftwareInstCreation" : LMI_SoftwareJob(env), + "LMI_SoftwareInstModification" : LMI_SoftwareJob(env), "LMI_SoftwareMethodResult" : LMI_SoftwareMethodResult(env), "LMI_AffectedSoftwareJobElement" : LMI_AffectedSoftwareJobElement(env), "LMI_AssociatedSoftwareJobMethodResult" : \ @@ -121,6 +121,7 @@ def get_providers(env): im = IndicationManager.get_instance( env, "Software", "root/cimv2", queue=Queue()) JobManager.register_filters("LMI_SoftwareInstallationJob", im) + JobManager.register_filters("LMI_SoftwareVerificationJob", im) return providers |