summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| |\ \
| | * | 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
| | | |
| * | | Add configuration file for ReviewBoardStephen Gallagher2013-05-091-0/+2
| | | | | | | | | | | | | | | | | | | | Adds a hidden configuration file in the root of the git repository to simplify submission of patches using the RBTools 'post-review' command.
* | | | 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.
* | / Fix wrong condition when registering providerRadek Novacek2013-05-071-2/+2
| |/ |/|
* | replaced "debugging" hostname with something more obvious0.0.21Michal Minar2013-05-021-5/+5
| | | | | | | | | | | | | | "kvm-fedora18" is a host name of some unknown virtual machine; - replaced with "HOSTNAME" This value actually doesn't matter, cimom substitutes it for correct name, but previous one was too debugginglish.
* | fixed checking for long options in openlmi-mof-registerMichal Minar2013-05-021-1/+1
| |
* | Hardware: Added additional information to the Memory providerPeter Schiffer2013-04-305-4/+188
| | | | | | | | | | | | | | | | 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-2631-172/+8416
|\
| * registration script now allows to specify cimomMichal Minar2013-04-261-26/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now openlmi-mof-register operated on both sfcbd and tog-pegasus if present on system. This fails when we target namespace present only in one of them (like "root/interop" for sfcbd or "root/PG_InterOp" for tog-pegasus). This patch adds "-c" option allowing to specify target cimom. For example: openlmi-mof-register -n root/PG_InterOp -c tog-pegasus \ --just-mofs unregister mof/70_LMI_SoftwareIndicationFilters.mof Removes instances of indication filters only from tog-pegasus.
| * openlmi-cimmof used by openlmi-mof-registerMichal Minar2013-04-262-0/+6
| | | | | | | | Also appended for installation to libexec with cmake.
| * added script for online modification of pegasus repoMichal Minar2013-04-261-0/+340
| | | | | | | | | | | | | | | | | | This allows to create and delete instances and classes specified in mof files on-line. Complements cimmof application, which can not do "delete". With this we are able to unregister static filters and classes from pegasus on package removal - if the pegasus is running :-(.
| * 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-265-129/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| |
| * Add the provider howto documentTomas Smetana2013-04-251-0/+1213
| |
| * 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-2422-1/+6581
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-2319-24/+52
|\|
| * fixed enumeration of repository associationsMichal Minar2013-04-221-2/+2
| |
| * renamed mof files according to LMI conventionMichal Minar2013-04-2217-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * added Association qualifier to classes, that missed itMichal Minar2013-04-221-1/+3
| | | | | | | | | | sfcbd v 1.4.4 failed to compile LMI_Jobs.mof due to missing class qualifiers.
| * small logging improvementMichal Minar2013-04-221-2/+2
| |
* | Hardware: Added Physical Memory ProviderPeter Schiffer2013-04-2313-36/+888
|/ | | | | | | | | | 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-1715-94/+293
|\ \
| * | Support for using libopenlmicommon by external providersRadek Novacek2013-04-1713-35/+189
| |/ | | | | | | | | | | | | | | | | * 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
| * Fixed missing brace.Jan Safranek2013-04-161-1/+1
| |
| * Fixed subscription check, the new IndicationManager has additional parameter.Jan Safranek2013-04-161-1/+2
| |
| * Removed logging from indication sender thread.Jan Safranek2013-04-161-1/+0
| | | | | | | | | | | | When the method starts, the indication thread is not yet registered at CIMOM, that's done inside the method using AttachThread(). Therefore we should not log anything.
| * Added a log decorator to IndicationManager.__init__Jan Safranek2013-04-161-0/+1
| |
| * Updated the filter queries to match those in software provider.Jan Safranek2013-04-161-21/+20
| | | | | | | | Both Storage and Software providers should use the same CQL filters for all job-realted indications.
| * Synchronize JobManager with storage.Jan Safranek2013-04-121-35/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | JobManager here is older version of the one in openlmi-storage. Let's sync it with the storage so I can use it from there. The patch includes: Fixed job expiration under SFCB. Added LMI_StorageJob.JobInParameters and .JobOutParameters properties. Allow python to exit the provider even if there are threads running. Fixed job returning an error Added possibility to set AffectedElements when a job finishes. Added workaround for rhbz#920763