| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
"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.
|
|
|
|
|
|
|
|
| |
Added information:
* detect NUMA layout
* standard memory page size
* all supported sizes of huge memory pages
* current state of transparent huge pages
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
sfcbd v 1.4.4 failed to compile LMI_Jobs.mof due to missing class
qualifiers.
|
|/
|
|
|
|
|
|
|
|
| |
New Providers:
* LMI_PhysicalMemoryProvider
* LMI_PhysicalMemoryRealizesProvider
Other Changes:
* Fixed InstanceID in hardware to match the rest of the providers
* Removed some unused variables
|
|
|
|
|
| |
Added new provider:
* LMI_MemoryProvider
|
|\
| |
| |
| | |
Merging reviewed code.
|
| |
| |
| |
| |
| |
| |
| | |
Only static indication filters listed in
mof/LMI_SoftwareIndicationFilters.mof are supported. They should be
installed at rpm package installation, so user can use them for
subscriptions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IndicationManager python module is useful for many providers across
OpenLMI project. That's why it's landing in openlmi.common subpackage
from openlmi-storage. It supports checking for static filters
IndicationManager allows to check and install static filters at broker
at runtime
- but it should be avoided
filters should work also under sfcbd
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added two new providers:
* LMI_ProcessorChipProvider
* LMI_ProcessorChipRealizesProvider
Other Changes:
* Added Association qualifier to the association classes in Hardware mof file
* Removed initialization for static strings used in snprintf() function
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
New Providers:
* LMI_ProcessorCacheMemoryProvider
* LMI_AssociatedProcessorCacheMemoryProvider
Other Changes:
* Optimized usage of string constats
* Fixed wrong usage of pointers in dmidecode.c
* Filled unknown mandatory fields in providers with "Unknown" value
* Replaced hard coded numbers with LMI constants
* Minor optimization - don't gather data which won't be used
|
|
|
|
|
|
| |
Providers added:
* LMI_ProcessorCapabilitiesProvider
* LMI_ProcessorElementCapabilitiesProvider
|
|
|
|
|
|
|
| |
added provider:
* LMI_SoftwareInstallationServiceAffectsElement
associating SoftwareInstallationService to Linux_ComputerSystem
and SoftwareIdentity
|
|
|
|
|
|
| |
new providers:
* LMI_AssociatedSoftwareInstallationServiceCapabilities
* LMI_HostedSoftwareInstallationService
|
| |
|
|
|
|
| |
removed redundant spaces in mof
|
|
|
|
|
|
|
|
| |
openlmi-mof-register script now allows to register just the mof files
without any providers
LMI_Qualifiers.mof should be included in dependent mof files with
# pragma include ("LMI_Qualifiers.mof")
|
|
|
|
|
|
|
|
|
|
| |
providers added:
* LMI_AffectedSoftwareJobElement
* LMI_AssociatedSoftwareJobMethodResult
* LMI_OwningSoftwareJobElement
* LMI_SoftwareMethodResult
subclassed job classes defined in LMI_Jobs.mof
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/software/cli/software.py
src/software/openlmi/__init__.py
src/software/openlmi/software/LMI_HostedSoftwareIdentityResource.py
src/software/openlmi/software/LMI_SoftwareFileCheck.py
src/software/openlmi/software/LMI_SoftwareInstalledPackage.py
src/software/openlmi/software/LMI_SoftwarePackage.py
src/software/openlmi/software/__init__.py
src/software/openlmi/software/cimom_entry.py
src/software/openlmi/software/core/ComputerSystem.py
src/software/openlmi/software/core/SoftwareFileCheck.py
src/software/openlmi/software/core/SoftwareInstalledPackage.py
src/software/openlmi/software/core/SoftwarePackage.py
src/software/openlmi/software/core/SoftwarePackageChecks.py
src/software/openlmi/software/core/__init__.py
src/software/openlmi/software/util/__init__.py
src/software/openlmi/software/yumdb/__init__.py
src/software/openlmi/software/yumdb/errors.py
src/software/openlmi/software/yumdb/jobs.py
src/software/openlmi/software/yumdb/packagecheck.py
src/software/openlmi/software/yumdb/packageinfo.py
src/software/openlmi/software/yumdb/process.py
src/software/test/base.py
src/software/test/rpmcache.py
src/software/test/run.py
src/software/test/test_software_file_check.py
src/software/test/test_software_installed_package.py
src/software/test/test_software_package.py
|
| | |
|
| |
| |
| |
| |
| |
| | |
of information is dmidecode program, with additional information from lscpu
program and /proc/cpuinfo file. If no output from dmidecode program is
available, fallback with only lscpu and /proc/cpuinfo is used.
|
| |
| |
| |
| |
| | |
Add LMI_UnixSocket and LMI_RootDirectory association. LMI_RootDirectory
associates the root directory with the computer system on which it resides.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
new providers:
LMI_SoftwareInstallationJob
LMI_SoftwareInstallationService
|
| |
| |
| |
| | |
simplified writing references() method of any association provider
|
| |
| |
| |
| | |
now it's possible to list and manage repositories
|
| | |
|
|/
|
|
|
| |
currently only a subset of Software Inventory profile is supported
* listing available packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Made separate process openlmi.software.yumdb.process.YumWorker
for calls to yum API. Its client openlmi.software.yumdb.YumDB
communicates with it via synchronnous queues - uplink and downlink.
Resolves: #63 in openlmi trac -- yum API not useable, while changing
thread_id)
Resolves: #33 in openlmi trac -- Install/remove package
Common functionality of providers moved under openlmi.software.core
subpackage to make them easily accessible from other providers without
cyclic dependencies.
Improved logging with cmpi_logging module.
openlmi.software.cimom_entry module now is the only module loadable by
cmpi-bindings. It sets up providers and maps them by their name.
New subpackages:
openlmi.software.core
openlmi.software.yumdb
|
| |
|
|
|
|
|
|
|
|
|
| |
also modified mof, so it's better parseable
greatly reduced pylint errors and warnings
LMI_SoftwareInstalledPackage now returns reference to
Linux_ComputerSystem instead of CIM_ComputerSystem
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checkum property of LMI_SoftwareFileCheck had different type than
in base class. This prevented registration.
- Solved by renaming:
Checksum -> FileChecksum
ExpectedChecksum -> ExpectedFileChecksum
ChecksumType -> FileChecksumType
fixed filtering of found available and installed packages
- search by nevra replaced with search for particular keys
|
| |
|
|
|
|
|
| |
corrected some corner cases, when getting/modifying instance with
wrong or missing keys
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Roman Rakus <rrakus@redhat.com>
|
|/
|
|
|
|
|
|
|
|
| |
renamed LMI_Yum* to LMI_Software*
removed attributes GroupString and LicenseString from LMI_SoftwarePackage
modified attributes Group, Architecture and License of
LMI_SoftwarePackage to return string instead of Uints
- because values and valuemaps would need frequent updates
|
|
|
|
|
|
| |
in such case epoch is assumed to be 0
bumped Yum version
|
|
|
|
|
|
|
|
|
| |
currently testing data are suitable only for Fedora 17
added README for tests
lot of bug fixes
support for Remove method in LMI_YumPackage provider
|
|
|
|
|
|
|
| |
added LMI_YumPackageFile as association between LMI_YumPackage
and LMI_FileCheck
using overrides in mof
|
|
|
|
|
|
|
|
|
|
|
|
| |
enumerating YumPackage now yields all available packages
- removed update, delete and check_integrity methods
- added Install method
- SoftwareElementState now equals to:
1 ("Installable") - for not installed and available package
2 ("Executable") - for installed package
enumerating YumInstalledPackage now yields all installed packages
- added update, delete and check_integrity methods
|