| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Use NULL terminated array instead of obtaining array length using sizeof
(which doesn't work in this case).
|
|
|
|
| |
Updated copyright years to include new year 2014.
|
| |
|
|
|
|
| |
library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PG_ComputerSystem has different method how to get hostname than our
providers. In order to create the associations to this class we need to
enumerate it. The downside is that all providers must supply CMPIContext
to the lmi_init function.
New function lmi_get_computer_system returns CMPIObjectPath to the
configured CIM_ComputerSystem subclass instance. This object should be
used in all references with ComputerSystem.
Function lmi_get_system_name has been altered to return same value as
ComputerSystem "Name" property.
|
|
|
|
|
|
|
| |
And get rid of sblim-cmpi-base dependency.
It would be nice if our tests have an option to select Linux_ComputerSystem
or PG_ComputerSystem in the future...
|
|
|
|
|
|
|
|
|
|
| |
Setting an error on top of an existing error is considered a programmer's
bug, possibly leaking memory. So do proper cleanup before reusing that
variable.
Also, errors set while retrieving keys and values are not checked anywhere
so let's just don't set them. Returned NULL values in case of error should
be enough to skip the particular value.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
INFO and WARNING debug levels are swapped.
|
| |
|
|
* add FindOpenLMI.cmake module
* add pkgconfig for OpenLMI
* add openlmi.c/h with exported functions
* add symlink with major version to openlmicommon library
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=948948
|