summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* IMEventWatcher SHOULD be blockingRoman Rakus2013-05-271-1/+1
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Indication managerRoman Rakus2013-05-276-0/+1458
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* Hardware: Added Baseboard (Motherboard) ProviderPeter Schiffer2013-05-237-16/+675
| | | | | | | | | | 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
* 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-201-37/+35
| | | | | | 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-1713-1843/+189
|\
| * Remove the complex API dbus-style API from realmd providerStef Walter2013-05-178-1810/+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.
| * | 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
| |/
* / Hardware: Added Chassis providerPeter Schiffer2013-05-145-0/+485
|/ | | | | New Provider: * LMI_ChassisProvider
* service: fix mof nameVitezslav Crhonek2013-05-131-1/+1
|
* service: added dbus based service providerVitezslav Crhonek2013-05-135-1/+764
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-05-1317-256/+337
|\
| * 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.
| * Merge branch 'software-indications'Michal Minar2013-05-108-76/+305
| |\
| | * 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.
| * | Merge branch 'devel/parse-instance'Jan Safranek2013-05-102-32/+22
| |\ \
| | * | Added global function to parse InstanceID.Jan Safranek2013-05-022-32/+22
| | | |
| * | | realmd: Remove extra semi-colonsStef Walter2013-05-095-5/+5
| | | |
| * | | Remove unused functions from realmd providerStef Walter2013-05-091-137/+0
| | |/ | |/|
* / | Hardware: Better support for multi CPU systems and kvm guests.Peter Schiffer2013-05-077-74/+217
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: * Fixed problem when CPU ID from dmidecode is not unique * Use cache info from sysfs if dmi cpu info is available, but not dmi cache * When using sysfs cache, create all caches for every CPU * Fixed physical memory tag when serial number field is missing in dmidecode output * Tiny clean-up Hardware provider was tested in kvm guest with pegasus and this patch is result of the test. Now, thanks to the all fallback options, hardware provider works fine in this environment with and without selinux enabled.
* | Hardware: Added additional information to the Memory providerPeter Schiffer2013-04-304-4/+168
| | | | | | | | | | | | | | | | Added information: * detect NUMA layout * standard memory page size * all supported sizes of huge memory pages * current state of transparent huge pages
* | openlmi.common.JobManager: fix output parameter nameJan Synacek2013-04-291-1/+1
|/
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-2624-137/+6164
|\
| * fixed output parameter name of GetError methodMichal Minar2013-04-261-1/+1
| |
| * Revert "Merge branch 'software-indications' of ↵Michal Minar2013-04-261-1/+1
| | | | | | | | | | | | | | ssh://git.fedorahosted.org/git/openlmi-providers into software-indications" This reverts commit 0f9da4ac91a0acb2c53d19ca1ec345c07a5043fb, reversing changes made to 217acf2c624b99db7335acb0aa50d92efcb368a8.
| * updated doc comments for cimom callbacksMichal Minar2013-04-262-9/+114
| | | | | | | | | | cimom callbacks for filter enablement have misleading param names and miss proper doc
| * modified indication filtersMichal Minar2013-04-264-116/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And moved software static filters to shared JobManager. Indication filters now reflect the name of indication class, which is instrumented by particular provider. This ensures, that cimom knows, which provider to call and does not bother the others. So instead of selecting indication instances from general class CIM_InstModification, it will be LMI_SoftwareInstModification. This is a common pattern for indication queries. Avoided another shortcoming of sfcbmof parser: /* comment */ something useful is also ignored :-( Static filters of JobManager made more generic for any provider to use. Software jobmanager is now using them. This reduces redundation of code.
| * fixed error handling upon method params checkMichal Minar2013-04-261-1/+1
| |
| * Fixed LMI_ConcreteJob.GetError and .GetErrors to return correct CIM instance.Jan Safranek2013-04-251-11/+22
| | | | | | | | | | We should return CIMInstance instead of CIMError (which has nothing to do with CIM_Error).
| * Rename LMI_Realmd.mof to 60_LMI_Realmd.mofTomas Smetana2013-04-241-1/+1
| |
| * New provider: RealmDTomas Smetana2013-04-2419-0/+5951
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-238-10/+10
|\|
| * fixed enumeration of repository associationsMichal Minar2013-04-221-2/+2
| |
| * renamed mof files according to LMI conventionMichal Minar2013-04-226-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mof files prefixed with digits ensuring their correct order of parsing upon their installation. This avoids problems with sfcbmof compiler, which can not handle dependent classes being parsed before their antecedents. Convention is specified in mof/README. Removed inclusion of LMI_Qualifiers in LMI_Jobs. LMI_Qualifiers should be registered in cimom instead of included in dependent mof files. This allows it to be used by any other providers simultaneously. Modified references to mof files in cmake build files.
| * small logging improvementMichal Minar2013-04-221-2/+2
| |
* | Hardware: Added Physical Memory ProviderPeter Schiffer2013-04-2312-36/+873
|/ | | | | | | | | | 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/sync-job'Jan Safranek2013-04-193-105/+525
|\
| * Set default log level to INFO.Jan Safranek2013-04-161-1/+1
| | | | | | | | | | | | DEBUG is too verbose. On the other hand, we'll see no logging until something sets more verbose level, e.g. after configuration load.
| * Use UTC times for all wall clock times.Jan Safranek2013-04-161-2/+2
| | | | | | | | clocktime_of_last_state_change was in local time.
| * Remove whitespaces.Jan Safranek2013-04-161-75/+75
| |
| * Use monotonic clock for job expiration.Jan Safranek2013-04-161-21/+32
| | | | | | | | Job expiration timer should not be influenced by admin changing date or time.
| * Use TimerManager where appropriate.Jan Safranek2013-04-162-9/+18
| |
| * Add TimerManager.Jan Safranek2013-04-161-0/+400
| | | | | | | | | | | | | | | | | | | | | | | | Standard Python threading.Timer starts separate thread for each timer. That has two unpleseant consequences: - We end up with lot of sleeping threads. - If we want to use logging in thread callbacks, we must register the thread at CIMOM using AttachThread (=tedious). So let's create TimerManager - Uses only on thread. - It is possible to log stuff in timer callbacks.
* | Fix path to configured openlmi.pc fileRadek Novacek2013-04-171-1/+1
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-1713-94/+271
|\ \