summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix nosetests discoveryRadek Novacek2013-06-271-3/+1
| | | | Multiple where config options is not supported, tests is used instead.
* Add ldconfig post and postun for indmanager subpkgRadek Novacek2013-06-171-0/+3
|
* Add FindOpenLMIIndManager cmake moduleRadek Novacek2013-06-173-0/+23
|
* constify CMPIBroker in ind_managerRadek Novacek2013-06-172-5/+7
|
* Account: Use asprintf instead of snprintfRoman Rakus2013-06-128-37/+30
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Account: Use KReturn2 instead of CMReturnWithCharsRoman Rakus2013-06-124-130/+94
| | | | | | KReturn2 now supports valist so we don't need to use temp variables Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Hardware: Added system slot providerPeter Schiffer2013-06-066-0/+847
| | | | | | New providers: * LMI_SystemSlotProvider * LMI_SystemSlotContainerProvider
* Hardware: Added chassis ports providerPeter Schiffer2013-06-066-0/+744
| | | | | | New providers: * LMI_PortPhysicalConnectorProvider * LMI_PortPhysicalConnectorContainerProvider
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-06-034-21/+40
|\
| * Account: Properly create/delete homedirsRoman Rakus2013-06-032-11/+15
| | | | | | | | | | | | Use newly available libuser's functions for homedir manipulation Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * Release 0.0.250.0.25Roman Rakus2013-06-031-1/+4
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
| * Account: Correctly handle empty fields in shadow fileRoman Rakus2013-05-302-9/+21
| | | | | | | | | | | | | | | | | | 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>
* | Hardware: Connect processor(s) and memory with chassisPeter Schiffer2013-05-3012-29/+1622
|/ | | | | | | | | | | | | 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.
* Include Indication manager in spec fileRoman Rakus2013-05-281-2/+28
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* service-dbus: Ignore instantiable servicesTomas Bzatek2013-05-271-1/+2
| | | | | | | | 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
* service-dbus: Properly initialize local struct variablesTomas Bzatek2013-05-271-1/+1
| | | | | When error occurs in service_get_properties() we may run into freeing uninitialized struct elements.
* openlmi-mof-register: Handle --helpTomas Bzatek2013-05-271-0/+4
| | | | | I constantly find myself typing --help instead of -h, this is just hardcoded in my brain. Let's support this commandline option as well.
* IMEventWatcher SHOULD be blockingRoman Rakus2013-05-271-1/+1
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Indication managerRoman Rakus2013-05-277-0/+1459
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Hardware: Added Baseboard (Motherboard) ProviderPeter Schiffer2013-05-238-16/+690
| | | | | | | | | | 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
* Don't install nonexisting openlmi-cimmof fileRadek Novacek2013-05-231-1/+0
|
* Fix typo in spec fileRadek Novacek2013-05-231-1/+1
| | | | pos -> post
* Remove openlmi-cimmof also from the spec file.Jan Safranek2013-05-221-2/+8
|
* Remove obsolete openlmi-cimmof script, we use pywbem mofcomp.Jan Safranek2013-05-221-342/+0
|
* Start Pegasus when deregistering providers.Jan Safranek2013-05-221-0/+28
| | | | | | | | | 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!
* Deregister provider first and classes afterwards.Jan Safranek2013-05-221-1/+1
| | | | So we don't end up with removed classes but their providers still registered.
* Use group: to find out module name in Pegasus.Jan Safranek2013-05-221-1/+1
|
* Use mofcomp from pywbem to parse MOF files and remove all its classes and ↵Jan Safranek2013-05-221-5/+1
| | | | | | instances from Pegasus Our openlmi-cimmof seems to be error prone and pywbem works just fine.
* Fixed PowerManagement.mof to be readable by Pegasus.Jan Safranek2013-05-221-1/+1
| | | | Pegasus complains about "Non-association class contains reference property".
* Fix comment end in Software.mofJan Safranek2013-05-221-0/+1
|
* Fix memory leaksStephen Gallagher2013-05-203-3/+24
| | | | | | | Fixes Coverity issues: * 10153 * 10154 * 10155
* power: fix undefined symbols in power provider0.0.23Radek Novacek2013-05-201-13/+13
| | | | | Previous commit renamed LMI_ConcreteJob to LMI_PowerConcreteJob but didn't rename some symbols in power.c causing compilation to fail.
* power: Rename LMI_ConcreteJob to LMI_PowerConcreteJobRadek Novacek2013-05-202-37/+40
| | | | | | 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.
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-05-1722-2325/+313
|\
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-05-172-0/+4
| |\
| | * Fix crash in openlmi-cimmof when pegasus is not runningRadek Novacek2013-05-161-0/+2
| | | | | | | | | | | | | | | This just fixes the crash, correct solution would be to support registration without pegasus running.
| | * Set project name and dont require C++ compilerRadek Novacek2013-05-161-0/+2
| | | | | | | | | | | | | | | CMake automatically search for C++ compiler, we have to specify that we're C only project.
| * | Remove the complex API dbus-style API from realmd providerStef Walter2013-05-179-2248/+36
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge branch 'devel/stop-threads'Jan Safranek2013-05-173-31/+129
| |\ \
| | * | Add method to stop the running thread to all Managers.Jan Safranek2013-05-163-31/+129
| | | | | | | | | | | | | | | | | | | | | | | | We should cleanly shut down all threads when the provider is unloaded, just to be nice to CIMOMs.
| * | | Remove LMI_ConcreteJob definition from LMI_PowerManagement.mofJan Safranek2013-05-171-5/+0
| | |/ | |/| | | | | | | It's defined in 30_LMI_Jobs.mof.
| * | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersJan Safranek2013-05-164-25/+99
| |\ \ | | |/ | |/|
| | * Add ReturnInstance macro to be used instead of KReturnInstanceRadek Novacek2013-05-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Handle error cases properly in getFQDN functionRadek Novacek2013-05-161-2/+14
| | |
| | * Support more MOFs and MOF include for konkret generateRadek Novacek2013-05-161-23/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Extend FindOpenLMI.cmake to find common MOF filesRadek Novacek2013-05-161-0/+14
| | | | | | | | | | | | | | | Files 05_LMI_Qualifiers.mof and 30_LMI_Jobs.mof are now found runtime and can be further used.
| * | Added group: to openlmi-software.Jan Safranek2013-05-141-0/+20
| | | | | | | | | | | | To make sure that storage provider runs in separate process.
| * | Updated register-pegasus script to generate better ProviderModuleName.Jan Safranek2013-05-141-14/+18
| | | | | | | | | | | | | | | | | | | | | 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.
| * | Updated PG_ProviderModule.Vendor of generated provider registrations.Jan Safranek2013-05-141-1/+1
| | | | | | | | | | | | The vendor is OpenLMI, not RedHat.
| * | cim2uml now shows detailed message on GetInstance error.Jan Safranek2013-05-141-1/+6
| |/ | | | | | | | | 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.