summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* / Hardware: Added Chassis providerPeter Schiffer2013-05-146-0/+494
|/ | | | | New Provider: * LMI_ChassisProvider
* service: remove unused helper scripts from .spec fileVitezslav Crhonek2013-05-131-2/+0
|
* service: fix mof nameVitezslav Crhonek2013-05-131-1/+1
|
* service: added dbus based service providerVitezslav Crhonek2013-05-136-3/+766
|
* Added .spec file, mainly for nightly builds.Radek Novacek2013-05-131-0/+509
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-05-1319-330/+430
|\
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providers0.0.22Michal Minar2013-05-101-30/+0
| |\
| | * Removed duplicate definitions of LMI_PhysicalMemory and ↵Jan Safranek2013-05-101-30/+0
| | | | | | | | | | | | LMI_PhysicalMemoryRealizes.
| * | fixed GetInstance on AffectedSoftwareJobElementMichal Minar2013-05-101-1/+1
| | | | | | | | | | | | | | | passed wrong parameter to function, when handling association to Linux_ComputerSystem
| * | fixed method invocation of SoftwareInstallationServiceMichal Minar2013-05-101-11/+10
| | | | | | | | | | | | | | | Undefined variable used in logging statement would generate error for installation from URI.
| * | made software mof file more organizedMichal Minar2013-05-101-74/+91
| |/ | | | | | | just added few comments and grouped various classes under them
| * Merge branch 'software-indications'Michal Minar2013-05-109-76/+335
| |\
| | * support for method parameters and pre/post indicationsMichal Minar2013-05-108-76/+305
| | | | | | | | | | | | | | | | | | | | | | | | Added input and output parameters to LMI_SoftwareInstallationJob. Added PreCallIndication and PostCallIndication properties to LMI_SoftwareMethodResult containg CIM_InstMethodCall indication instances - that are rather useless but mandatory by Job Control Profile.
| | * Hardware: Added Physical Memory ProviderPeter Schiffer2013-05-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Providers: * LMI_PhysicalMemoryProvider * LMI_PhysicalMemoryRealizesProvider Other Changes: * Fixed InstanceID in hardware to match the rest of the providers * Removed some unused variables
| | * Hardware: Added Physical Memory ProviderPeter Schiffer2013-05-101-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Providers: * LMI_PhysicalMemoryProvider * LMI_PhysicalMemoryRealizesProvider Other Changes: * Fixed InstanceID in hardware to match the rest of the providers * Removed some unused variables
| * | Merge branch 'devel/parse-instance'Jan Safranek2013-05-102-32/+22
| |\ \