summaryrefslogtreecommitdiffstats
path: root/mof
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Hardware: Added additional information to the Memory providerPeter Schiffer2013-04-301-0/+20
| | | | | | | | Added information: * detect NUMA layout * standard memory page size * all supported sizes of huge memory pages * current state of transparent huge pages
* Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-262-13/+530
|\
| * modified indication filtersMichal Minar2013-04-261-13/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * New provider: RealmDTomas Smetana2013-04-241-0/+519
| |
* | Merge branch 'master' of ssh://git.fedorahosted.org/git/openlmi-providersPeter Schiffer2013-04-2311-14/+42
|\|
| * renamed mof files according to LMI conventionMichal Minar2013-04-2211-13/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Hardware: Added Physical Memory ProviderPeter Schiffer2013-04-231-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 System Memory ProviderPeter Schiffer2013-04-151-0/+17
| | | | | Added new provider: * LMI_MemoryProvider
* Merge branch 'software-indications' (early part)Michal Minar2013-04-113-0/+123
|\ | | | | | | Merging reviewed code.
| * added support for indications to software providersMichal Minar2013-04-112-0/+19
| | | | | | | | | | | | | | 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.
| * added indication manager to openlmi.commonMichal Minar2013-04-111-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Hardware: Added Processor Chip ProviderPeter Schiffer2013-04-101-2/+17
| | | | | | | | | | | | | | | | | | | | 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
* | Hardware: Added Processor Cache Memory ProviderPeter Schiffer2013-04-041-0/+15
|/ | | | | | | | | | | | | 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
* Hardware: added new providersPeter Schiffer2013-03-261-0/+15
| | | | | | Providers added: * LMI_ProcessorCapabilitiesProvider * LMI_ProcessorElementCapabilitiesProvider
* added association providerMichal Minar2013-03-262-0/+21
| | | | | | | added provider: * LMI_SoftwareInstallationServiceAffectsElement associating SoftwareInstallationService to Linux_ComputerSystem and SoftwareIdentity
* new association providersMichal Minar2013-03-262-0/+38
| | | | | | new providers: * LMI_AssociatedSoftwareInstallationServiceCapabilities * LMI_HostedSoftwareInstallationService
* added LMI_SoftwareInstallationServiceCapabilities providerMichal Minar2013-03-262-0/+35
|
* small comments and spaces cleanup, removed tabsMichal Minar2013-03-261-69/+69
| | | | removed redundant spaces in mof
* support the registration of mof files only0.0.20Michal Minar2013-03-222-0/+23
| | | | | | | | 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")
* added new providersMichal Minar2013-03-212-38/+54
| | | | | | | | | | providers added: * LMI_AffectedSoftwareJobElement * LMI_AssociatedSoftwareJobMethodResult * LMI_OwningSoftwareJobElement * LMI_SoftwareMethodResult subclassed job classes defined in LMI_Jobs.mof
* added Jobs mof file with base classes for job managementMichal Minar2013-03-211-0/+123
|
* Merge remote-tracking branch 'origin/master' into software-smashMichal Minar2013-03-207-14/+179
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Happy New Year! (better later than never)Jan Synacek2013-03-136-6/+6
| |
| * Created LMI_ProcessorProvider providing basic information about CPU. Main sourcePeter Schiffer2013-03-061-8/+103
| | | | | | | | | | | | 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.
| * LogicalFile: add socket file type and root directory associationJan Synacek2013-02-141-0/+18
| | | | | | | | | | Add LMI_UnixSocket and LMI_RootDirectory association. LMI_RootDirectory associates the root directory with the computer system on which it resides.
| * Fix some typosJan Synacek2013-02-121-1/+1
| |
| * LogicalFile: add forgotten mof fileJan Synacek2013-02-121-0/+52
| |
* | added new providers, allowed for asynchronous jobsMichal Minar2013-03-202-0/+337
| | | | | | | | | | | | new providers: LMI_SoftwareInstallationJob LMI_SoftwareInstallationService
* | added association providers for SoftwareIdentityResourceMichal Minar2013-03-042-0/+36
| | | | | | | | simplified writing references() method of any association provider
* | added LMI_SoftwareIdentityResource providerMichal Minar2013-02-182-14/+172
| | | | | | | | now it's possible to list and manage repositories
* | new association provider LMI_InstalledSoftwareIdentityMichal Minar2013-02-132-0/+17
| |
* | initial phase of rewrite for SMASH profileMichal Minar2013-02-132-271/+66
|/ | | | | currently only a subset of Software Inventory profile is supported * listing available packages
* rewritten for safe execution of transactionsMichal Minar2013-02-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | 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
* New provider: HardwareTomas Smetana2013-01-151-0/+35
|
* fixed most of pylint errorsMichal Minar2012-11-291-25/+22
| | | | | | | | | 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
* Added 'Implemented' qualifier.Jan Safranek2012-11-221-0/+4
|
* Relicence all sources from GPLv2+ to LGPLv2+0.0.15Radek Novacek2012-11-125-60/+71
|
* Account: Account modification of password expirations0.0.12Roman Rakus2012-10-251-3/+3
| | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* modified for used under tog-pegasusMichal Minar2012-10-241-5/+5
| | | | | | | | | | | | 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
* Change project name from Cura to OpenLMIRadek Novacek2012-10-226-34/+34
|
* renamed LMI_SoftwarePackage{File,Checks}Michal Minar2012-10-131-2/+2
| | | | | corrected some corner cases, when getting/modifying instance with wrong or missing keys
* Merge branch 'master' of ssh://git.fedorahosted.org/git/cura-providersMichal Minar2012-10-101-4/+10
|\
| * Account: Password and user expirationRoman Rakus2012-10-101-4/+10
| | | | | | | | Signed-off-by: Roman Rakus <rrakus@redhat.com>
* | renamed yum package providers to softwareMichal Minar2012-10-104-640/+338
|/ | | | | | | | | | 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
* accept SoftwareElementID without epoch part0.0.8Michal Minar2012-10-071-1/+2
| | | | | | in such case epoch is assumed to be 0 bumped Yum version
* tests rewritten to pywhon scriptsMichal Minar2012-10-061-2/+10
| | | | | | | | | 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
* working associationsMichal Minar2012-10-032-15/+23
| | | | | | | added LMI_YumPackageFile as association between LMI_YumPackage and LMI_FileCheck using overrides in mof
* update/delete methods done on YumInstalledPackageMichal Minar2012-10-031-38/+63
| | | | | | | | | | | | 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