summaryrefslogtreecommitdiffstats
path: root/src/software/openlmi/software/core/InstallationService.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/software/openlmi/software/core/InstallationService.py')
-rw-r--r--src/software/openlmi/software/core/InstallationService.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/software/openlmi/software/core/InstallationService.py b/src/software/openlmi/software/core/InstallationService.py
index 56063f1..2935849 100644
--- a/src/software/openlmi/software/core/InstallationService.py
+++ b/src/software/openlmi/software/core/InstallationService.py
@@ -30,11 +30,6 @@ from openlmi.software.core import SystemCollection
from openlmi.software.yumdb import errors
from openlmi.software.yumdb import YumDB
-#UNSUPPORTED_INSTALL_OPTIONS = {
-# { "Defer_target_system_reset", "Force_installation",
-# "Reboot", "Password", "Log", "Silent_Mode", "Administrative_Mode",
-# "Schedule_Install_At", "DMTF_Reserved" }
-
class InstallationError(Exception):
"""This exception shall be raised upon any error within
install_or_remove_package() function.
@@ -555,6 +550,7 @@ def get_path():
op["Name"] = "LMI:SoftwareInstallationService"
return op
+@cmpi_logging.trace_function
def check_path(env, service, prop_name):
"""
Checks instance name of SoftwareInstallationService.
@@ -585,6 +581,7 @@ def check_path(env, service, prop_name):
prop_name, key, service[key], our_service[key]))
return True
+@cmpi_logging.trace_function
def check_path_property(env, op, prop_name):
"""
Checks, whether prop_name property of op object path is correct.
@@ -595,6 +592,7 @@ def check_path_property(env, op, prop_name):
"Missing %s key property!" % prop_name)
return check_path(env, op[prop_name], prop_name)
+@cmpi_logging.trace_function
def _check_target_and_collection(env, src_type, target, collection):
"""
Checks Target and Collection parameters of provider's installation
@@ -625,6 +623,7 @@ def _check_target_and_collection(env, src_type, target, collection):
if src_type == "identity" else
"Missing Target parameter.")
+@cmpi_logging.trace_function
def _install_or_remove_check_params(
env, src_type, source, target, collection,
install_options,
@@ -685,6 +684,7 @@ def _install_or_remove_check_params(
, values.InstallOptions.Force_installation in options
, values.InstallOptions.Repair in options)
+@cmpi_logging.trace_function
def install_or_remove_package(env, src_type, source, target, collection,
install_options,
install_options_values):