summaryrefslogtreecommitdiffstats
path: root/src/software/lmi/software/core/InstallationServiceCapabilities.py
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-07-06 14:33:36 +0200
committerMichal Minar <miminar@redhat.com>2013-07-23 13:52:34 +0200
commit3709d0107651af42a1e81505ed47244bb75033ae (patch)
treee759d55fc78540457939e1e4d966b5a8422721cf /src/software/lmi/software/core/InstallationServiceCapabilities.py
parentb7dcdd646832cf613d8faa85b55bcc37681fb4d3 (diff)
downloadopenlmi-providers-3709d0107651af42a1e81505ed47244bb75033ae.tar.gz
openlmi-providers-3709d0107651af42a1e81505ed47244bb75033ae.tar.xz
openlmi-providers-3709d0107651af42a1e81505ed47244bb75033ae.zip
software: using new Configuration and utility function
using system_name, system_class_name and namespace values from SoftwareConfiguration object using new_instance_name from util module
Diffstat (limited to 'src/software/lmi/software/core/InstallationServiceCapabilities.py')
-rw-r--r--src/software/lmi/software/core/InstallationServiceCapabilities.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/software/lmi/software/core/InstallationServiceCapabilities.py b/src/software/lmi/software/core/InstallationServiceCapabilities.py
index 62209bf..0de4416 100644
--- a/src/software/lmi/software/core/InstallationServiceCapabilities.py
+++ b/src/software/lmi/software/core/InstallationServiceCapabilities.py
@@ -24,6 +24,7 @@ LMI_SoftwareInstallationServiceCapabilities provider.
import pywbem
from lmi.common import cmpi_logging
+from lmi.software import util
class Values(object):
class SupportedExtendedResourceTypes(object):
@@ -144,10 +145,8 @@ class Values(object):
@cmpi_logging.trace_function
def get_path():
"""@return instance name with prefilled properties"""
- op = pywbem.CIMInstanceName(
- classname="LMI_SoftwareInstallationServiceCapabilities",
- namespace="root/cimv2")
- op['InstanceID'] = "LMI:LMI_SoftwareInstallationServiceCapabilities"
+ op = util.new_instance_name("LMI_SoftwareInstallationServiceCapabilities",
+ InstanceID="LMI:LMI_SoftwareInstallationServiceCapabilities")
return op
@cmpi_logging.trace_function