| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This file is required for enforcing that lm_sensors-devel is installed
when building the provider from sources.
|
|
|
|
|
|
| |
dictConfig() function of logging.config module is not present in stdlib
of python 2.6. This change replaces mentioned function call with manual
setup of handlers and modules.
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/hardware/LMI_PCIBridgeProvider.c
src/hardware/LMI_PCIBridgeSystemDeviceProvider.c
src/hardware/LMI_PCIDeviceProvider.c
src/hardware/LMI_PCIDeviceSystemDeviceProvider.c
|
| |
| |
| |
| |
| |
| | |
libuser has a mechanism to encrypt password
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| | |
log_debug() takes only 'msg' as parameter.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use CMLogMessage instead of CMTraceMessage for each message with level
> ERROR.
The logging level is now read from the config file.
The Stderr option for logging to stderr in now also honored.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
GetInstance() calls were rewritten using cleaner code. Also, the macros
that were used before were either rewritten to functions, or cleaned up
so they wouldn't return or do anything unexpected.
Helper functions now use CMPIStatus more consistently.
Some memory leaks were fixed.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Toplevel openlmi configuration file (/etc/openlmi/openlmi.conf) now
contains common configuration options for all providers. Configuration
for each provider could be overriden in provider-specific config
(/etc/openlmi/$provider/$provider.conf).
This patch also modify config file handling in python providers to
include this config file.
There is also support for C providers (in libopenlmicommon) for reading
these config files and providing default configuration options.
|
| |
| |
| |
| | |
fix possible memory leak
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
CIM_LogicalFile and CIM_UnixFile have some key properties that are not
needed when calling GetInstance(). On Linux systems, all is needed to
get information about a file is its path. Type of the filesystem that
the file resides on and the file type itself are not needed. In fact,
it's not desirable to require those when querying remote systems.
Ignore FSCreationClassName, FSName, LFCreationClassName and
CreationClassName.
This commit reverts most of the functionality of commit
5c3e1a6203e495bec37acd8c3731ca41377beb94.
|
| |
| |
| |
| |
| | |
Missing notifyAll call on a condition could cause endless waiting for
multiple threads.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reduced length of tracing messages written to log by rendering just the
first item of list, dict or set instead of whole argument. This will
also improve execution time when running in debug mode.
Fixed logging decorator of software job manager which previously
rendered informations from uninteresting frame.
|
| | |
|
| | |
|
|/
|
|
| |
Move initialize and cleanup code to the Initialize() and Cleanup() functions.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Software cli is outdated and based on pywbem. Now we have
openlmi-scripts with a complete script for software profile providing
more functionality.
Updated TODO.
|
|
|
|
|
|
|
|
| |
PyPi requires valid classifiers from:
https://pypi.python.org/pypi?%3Aaction=list_classifiers
They compared case-sensitively.
added pywbem to requires
|
|
|
|
| |
Allowed to specify a package as a nevra string.
|
|
|
|
|
| |
If repository has unaccessible metalink, some properties can not be
obtained, set them to None.
|
| |
|
|
|
|
|
|
|
|
|
| |
Separated PCI_Bridges from PCI_Devices and provided multiple additional
information related to PCI_Bridges.
New providers:
* LMI_PCIBridgeProvider
* LMI_PCIBridgeSystemDeviceProvider
|
|
|
|
|
| |
CreateInstance() has to return an objectpath to the created
instance. Returning only status made the server stall.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
|
| |
There was false assumption that lu_end doesn't free error messages.
The code is restructured to copy error message to temporary string
holder, which is freed after and error message is correctly returned,
all in one place.
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|\ |
|
| |
| |
| |
| | |
There are some new methods in CIM_ConcreteJob
|
|/ |
|
| |
|
| |
|
|
|
|
| |
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>
|
| |
| |
| |
| |
| |
| | |
This method should be used insted of intrinsic DeleteInstace.
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Mark DeleteInstance of LMI_Account as deprecated.
Delete home dir of user only if the user is owner of that directory.
Bugzilla: #999410
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|/
|
|
|
|
| |
Different error return code for every failure in function is pretty useless, so,
get rid of them. Now, if function exits successfully, 0 is returned. In case of
any problem, function returns -1 and prints warning log message.
|