| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
KReturnInstance macro calls return directly on failure which is bad
because there is no possibility to do cleanups or other error handling.
ReturnInstance macro returns plain boolean to indicate if the instance
is returned properly.
|
|
* 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
|