| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Multiple where config options is not supported, tests is used instead.
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
| |
KReturn2 now supports valist so we don't need to use temp variables
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
| |
New providers:
* LMI_SystemSlotProvider
* LMI_SystemSlotContainerProvider
|
|
|
|
|
|
| |
New providers:
* LMI_PortPhysicalConnectorProvider
* LMI_PortPhysicalConnectorContainerProvider
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Use newly available libuser's functions for homedir manipulation
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libuser returns -1 for empty fields. Handle the -1 on missing places.
Added macro definitions for -1 and 99999 values.
Fixes Ticket #113: LMI_Account instance enumeration fails with "DateTime is out of range"
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
New providers:
* LMI_ProcessorChipContainer
* LMI_MemorySlot
* LMI_MemorySlotContainer
* LMI_MemoryPhysicalPackage
* LMI_MemoryPhysicalPackageInConnector
* LMI_PhysicalMemoryContainer
This commmit brings also provider for memory slot, and memory physical package,
which is plugged in memory slot.
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
| |
It seems there's no way how to load instantiable unit file that is not
active (i.e. not instantiated) in order to get its properties. Let's
ignore such services for the moment to be able to enumerate instances.
https://fedorahosted.org/openlmi/ticket/114
|
|
|
|
|
| |
When error occurs in service_get_properties() we may run into freeing
uninitialized struct elements.
|
|
|
|
|
| |
I constantly find myself typing --help instead of -h, this is just
hardcoded in my brain. Let's support this commandline option as well.
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
New Providers:
* LMI_BaseboardProvider
* LMI_BaseboardContainerProvider
Other Changes:
* Removed useless providers_SRCS from CMakeLists.txt
* Better, human friendly chassis name if type is not avaiable
|
| |
|
|
|
|
| |
pos -> post
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
openlmi-mof-register should be able to deregister mof files and providers
also when Pegasus is not running.
This patch starts Pegasus without any listening to network, so little harm
can be done. Still, if there are indications subscribed, some indications
may be sent!
|
|
|
|
| |
So we don't end up with removed classes but their providers still registered.
|
| |
|
|
|
|
|
|
| |
instances from Pegasus
Our openlmi-cimmof seems to be error prone and pywbem works just fine.
|
|
|
|
| |
Pegasus complains about "Non-association class contains reference property".
|
| |
|
|
|
|
|
|
|
| |
Fixes Coverity issues:
* 10153
* 10154
* 10155
|
|
|
|
|
| |
Previous commit renamed LMI_ConcreteJob to LMI_PowerConcreteJob but
didn't rename some symbols in power.c causing compilation to fail.
|
|
|
|
|
|
| |
There is collision with LMI_ConcreteJob provided by 30_LMI_Jobs.mof.
This is just workaround, proper fix would be to use the jobs properly.
The jobs in power provider were just an attempt and need to be fixed.
|
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
This just fixes the crash, correct solution would be to support registration
without pegasus running.
|
| | |
| | |
| | |
| | |
| | | |
CMake automatically search for C++ compiler, we have to specify that
we're C only project.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As discussed, we want to expose a simple API for starters here
with just a few methods and properties. If we need to grow from
there it should be in the future when we have more experience
modeling an appropriate CIM model which integrates well with the
patterns and style of other CIM models.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We should cleanly shut down all threads when the provider is unloaded,
just to be nice to CIMOMs.
|
| | |/
| |/|
| | |
| | | |
It's defined in 30_LMI_Jobs.mof.
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
konkretcmpi_generate macro can now take more MOF files for generating
providers. Also MOF files can be included in generation but the provider
sources will not be generated out of them.
This is required to use MOF files 05_LMI_Qualifiers.mof and
30_LMI_Jobs.mof as dependencies.
|
| | |
| | |
| | |
| | |
| | | |
Files 05_LMI_Qualifiers.mof and 30_LMI_Jobs.mof are now found runtime
and can be further used.
|
| | |
| | |
| | |
| | | |
To make sure that storage provider runs in separate process.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The PG_ProviderModule.ProviderModuleName is now taken from 'group:' field from
sfcbd .reg file. This makes sure that various Python providers, which use the
same libpyCmpiProvider.so, have different PG_ProviderModule.
|
| | |
| | |
| | |
| | | |
The vendor is OpenLMI, not RedHat.
|
| |/
| |
| |
| |
| | |
When cim2uml gets an error on GetInstance() call, it now shows better message
than "error getting instance", so user knows which instance/class is wrong.
|