summaryrefslogtreecommitdiffstats
path: root/src/software/lmi/software/core/AssociatedInstallationServiceCapabilities.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/software/lmi/software/core/AssociatedInstallationServiceCapabilities.py')
-rw-r--r--src/software/lmi/software/core/AssociatedInstallationServiceCapabilities.py35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/software/lmi/software/core/AssociatedInstallationServiceCapabilities.py b/src/software/lmi/software/core/AssociatedInstallationServiceCapabilities.py
new file mode 100644
index 0000000..cb1b24e
--- /dev/null
+++ b/src/software/lmi/software/core/AssociatedInstallationServiceCapabilities.py
@@ -0,0 +1,35 @@
+# -*- encoding: utf-8 -*-
+# Software Management Providers
+#
+# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+"""
+Just a common functionality related to associated class
+LMI_AssociatedInstallationServiceCapabilities.
+"""
+
+import pywbem
+
+class Values(object):
+ class Characteristics(object):
+ Default = pywbem.Uint16(2)
+ Current = pywbem.Uint16(3)
+ # DMTF_Reserved = ..
+ # Vendor_Specific = 32768..65535
+ _reverse_map = {
+ 2: 'Default',
+ 3: 'Current'
+ }