| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
class2rst.py and class2uml.py was altered to use konkretmof for parsing
MOFs instead of calling CIMOM. This two modules was also renamed to
openlmi-doc-class2* and will be installed to $prefix/bin.
|
| |
|
| |
|
|
|
|
|
|
| |
of information is dmidecode program, with additional information from lscpu
program and /proc/cpuinfo file. If no output from dmidecode program is
available, fallback with only lscpu and /proc/cpuinfo is used.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
LMI_FileIdentity.Associators() was not behaving correctly -- it was returning
the object itself instead of the other one. Also, LMI_FileIdentity.References()
has been updated.
|
| |
|
|
|
|
|
| |
Add LMI_UnixSocket and LMI_RootDirectory association. LMI_RootDirectory
associates the root directory with the computer system on which it resides.
|
|
|
|
|
|
| |
* Make installation of .reg file optional
* Find openlmi-mof-register instead of hardcoding it
* Add unregister-provider target
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Resolves: #71 in openlmi trac - OpenLMI needs to be installable
without the CIMOM running
|
|
|
|
|
|
| |
made tracing message for function exit match the entry one
added threading related logging for YumDB
|
|
|
|
|
|
| |
Marking of line positions for error suppression needed finetuning
in other to make them more robust. They did not work for multiline
statements like decorated functions/methods etc.
|
|
|
|
|
|
|
|
| |
openlmi.common subpackage allows to share code accros various OpenLMI
provider packages. Currently there is a cmpi_logging.py module.
Resolves: #71 in openlmi trac -- Make common package under openlmi
namespace for utilities shared accross python providers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made separate process openlmi.software.yumdb.process.YumWorker
for calls to yum API. Its client openlmi.software.yumdb.YumDB
communicates with it via synchronnous queues - uplink and downlink.
Resolves: #63 in openlmi trac -- yum API not useable, while changing
thread_id)
Resolves: #33 in openlmi trac -- Install/remove package
Common functionality of providers moved under openlmi.software.core
subpackage to make them easily accessible from other providers without
cyclic dependencies.
Improved logging with cmpi_logging module.
openlmi.software.cimom_entry module now is the only module loadable by
cmpi-bindings. It sets up providers and maps them by their name.
New subpackages:
openlmi.software.core
openlmi.software.yumdb
|
|\ |
|
| |
| |
| |
| | |
Forgot to fix it when renaming register.sh to openlmi-mof-register
|
|/
|
|
|
| |
pylintlmi could raise an attribute error, when checking
module name
|
|
|
|
|
|
| |
allow arguments 2 characters long
allow any arguments in provider methods to be unused
- support functions spawning its arguments on multiple lines
|
|
|
|
|
|
|
|
|
|
|
| |
supressed:
* too short variable names (allowed 2 chars long)
* use of * and ** magic
* warnings about hierarchically nested classes under Values
* get_providers not required for each provider module
* too long method names
made 'i' a dummy variable
|
|
|
|
|
|
|
|
|
| |
added allow_cmpi_logging module for suppressing errors concerning
logging statements
disabled our custom C9904 warning message because of providers like
CapabilitiesProvider having no prefix
- but still checking for consistency in module name and class name
|
| |
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| | |
|
|/ |
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |\ |
|
| | | |
|
| |/
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| | |
|
|/
|
|
| |
local.
|
| |
|
| |
|
|
|
|
| |
The script is backward compatible, i.e. some ugly bash arrays needed to be used.
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| | |
Effectively it means this allows to remove user from group
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
particular tests can be selected like this:
* # runs all tests defined by this test case
./run.py -- TestSoftwarePackage
* # runs single test defined by TestSoftwarePackage TestCase
./run.py -- TestSoftwarePackage.test_get_instance
added comments for each assert
made results of tests a lot more readable
different file mode for symlinks passes like in rpm -V
increased number of packages for testing to 5
|
|/
|
|
|
| |
* handle '*' in yum repolist
* select pkg database from 5 times required number of packages
|
|\ |
|