summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Hardware: Another conversion fix.Robin Hack2014-01-311-1/+1
|
* Hardware: Fix conversion to LMI data format.Robin Hack2014-01-311-1/+1
|
* Hardware: Added some documentation to README file.Robin Hack2014-01-311-0/+8
|
* Hardware: Fixes from review.Robin Hack2014-01-311-10/+15
|
* Hardware: Fixes from review.Robin Hack2014-01-312-61/+130
|
* Hardware: Upstream testsuite from QA.Robin Hack2014-01-313-0/+707
|
* Hardware: mentioned disk capacity in hardware documentationPeter Schiffer2014-01-311-0/+1
|
* Hardware: added disk capacity to LMI_DiskDriveProviderPeter Schiffer2014-01-306-14/+75
|
* Hardware: add cpu cores and threads fallbackPeter Schiffer2014-01-281-9/+9
| | | | | If dmidecode doesn't report correct cpu cores or cpu threads, use the values from lscpu.
* Hardware: added documentation for disk drive classesPeter Schiffer2014-01-272-0/+58
|
* Hardware: fixed memory leak in dmidecode.cPeter Schiffer2014-01-271-4/+4
|
* Hardware: updated description of LMI_Processor classPeter Schiffer2014-01-271-1/+1
|
* Hardware: detect subsystem id and vendor for PCI BridgesPeter Schiffer2014-01-241-2/+7
| | | | PCI Bridges have subsystem id and vendor stored in capabilities, not in header.
* software: added tests for non-ascii charactersMichal Minar2014-01-243-46/+180
| | | | Test that unicode characters work at least for package files.
* tests: compare encoded values of keysMichal Minar2014-01-241-0/+8
| | | | | | When comparing instance names, treat unicode and str objects the same. Byte strings are supposed to use utf-8 encoding. Therefor unicode strings need to be encoded before comparison.
* Hardware: updated LMI_PhysicalMemoryProviderPeter Schiffer2014-01-222-21/+22
| | | | | | * be more picky when choosing bank locator * take into account Configured Clock Speed field from dmidecode * display speed only if the data is available
* Use %%cmake in commentKlaus Kämpf2014-01-221-1/+1
|
* indicationmanager: Handle EOF in inotify readRadek Novacek2014-01-211-0/+6
|
* spec: fix openlmi-pcp spec scriptsRadek Novacek2014-01-211-16/+14
| | | | | | | | This commit disables automatic registration of openlmi-pcp because the mof and reg files don't exist when package is installed It also adds a check if the openlmi-pcp provider is installed when uninstalling.
* fan: make the sprintf_chip_name() thread-safeMichal Minar2014-01-211-10/+6
| | | | Resolves: rhbz#1031650
* Hardware: Removed upstream test suite for hw provider.Robin Hack2014-01-213-550/+0
| | | | | | No standard review process was reached. No review process was reached.
* Hardware: Added upstream test suite.Robin Hack2014-01-213-0/+550
|
* service: add methods description into mof fileVitezslav Crhonek2014-01-201-2/+26
|
* Updated copyright yearsPeter Schiffer2014-01-16279-282/+282
| | | | Updated copyright years to include new year 2014.
* Remove trailing spacesPeter Schiffer2014-01-1664-1649/+1649
| | | | This patch removes trailing spaces from source files.
* service: wait for finish of systemd method call and return proper resultVitezslav Crhonek2014-01-162-10/+91
|
* Hardware: fixed typos in commentsPeter Schiffer2014-01-151-2/+2
|
* Hardware: renamed LMI_ATAProtocolEndpointProviderPeter Schiffer2014-01-155-66/+68
| | | | | | Renamed LMI_ATAProtocolEndpointProvider to LMI_DiskDriveATAProtocolEndpointProvider so the name matches the pattern used in all disk drive classes.
* Hardware: added LMI_DiskDriveDeviceSAPImplementationProviderPeter Schiffer2014-01-142-0/+294
| | | | | New provider: * LMI_DiskDriveDeviceSAPImplementationProvider
* Hardware: added LMI_DiskDriveATAPortProviderPeter Schiffer2014-01-145-17/+457
| | | | | New provider: * LMI_DiskDriveATAPortProvider
* account: Use lckpwdf() to protect passwd filesTomas Bzatek2014-01-145-0/+83
| | | | | | | | | Glibc provides convenient lock functions to protect passwd and shadow files. This commit makes use of them for any write operation. Read access is still unprotected for the time being for performance reasons. https://fedorahosted.org/openlmi/ticket/205
* Hardware: added DiskDriveSAPAvailableForElementProviderPeter Schiffer2014-01-102-0/+289
| | | | | New provider: * LMI_DiskDriveSAPAvailableForElement
* logicalfile: don't automatically fill FSName and FSCreationClassNameJan Synacek2014-01-106-38/+53
| | | | | Set there properties on output, meaning when GetInstance() is invoked, only when they are empty. Otherwise leave them unchanged.
* software: SoftwareIdentityFileCheck test fixesMichal Minar2014-01-091-0/+3
| | | | | Under some environments umask may be set to 0077 which caused unexpected results in tests. File mode checks did not pass.
* logicalfile: replace thread-unsafe functionsJan Synacek2014-01-092-83/+100
| | | | | | | Some functions, such as readdir() and dirname(), are not thread-safe. Use equivalent glib functions. trac: #173
* spec: sync changes from Fedora downstream spec fileRadek Novacek2014-01-091-0/+11
| | | | | Add a couple of changes that were in the Fedora spec file and not upstream. They should differ as little as possible.
* spec: mark 0.4.1 as OpenLMI 1.0.1Radek Novacek2014-01-091-3/+3
| | | | | | Update OpenLMI 1.0.1 metapackage definition to contain openlmi-providers = 0.4.2, openlmi-networking >= 0.2.2 and openlmi-storage >= 0.7.1
* spec: prevent version mismatch caused by openlmi metapackageRadek Novacek2014-01-091-66/+70
| | | | | | | | | | When openlmi metapackage defines its Version and Release, it overrides %{version} and %{release} globals and all it usages will be replaced by version and release of metapackage instead of version and release of openlmi-providers package as was expected. This patch introduces new globals that ensures that the correct version and release are used in the requirements and scripts.
* Use re-entrant version of strerror() for thread safetyTomas Bzatek2014-01-0911-36/+60
|
* Hardware: added ATAProtocolEndpointProviderPeter Schiffer2014-01-093-0/+279
| | | | | New Provider: * LMI_ATAProtocolEndpoint
* tests: ensure the use of exceptions is well definedMichal Minar2014-01-084-7/+12
| | | | | | | | | | | | | | | Some tests expect that exceptions won't be thrown out of LMIShell's functions. Others prefers them and enable them globally. This causes problems when running under nosetests all provider tests at once. Tests that modified enablement of exception throws globally caused others to fail. This patch makes sure that each TestCase has defined use of exceptions. Default state is to have them disabled. If a TestCase prefers having them enabled, just one variable needs to be overriden in its body: class AccountBase(lmibase.LmiTestCase): USE_EXCEPTIONS = True
* tests: Add missing import.Jan Safranek2014-01-081-0/+1
|
* Prepare 0.4.2 releaseJan Safranek2014-01-082-3/+6
|
* indmanager: Properly bump soname versionTomas Bzatek2014-01-071-2/+2
| | | | | The previous commit b915ee1ef9a4ebe bumped minor version number instead of major one that is more suitable for symbol hiding case.
* service: Port tests to lmishell baseTomas Bzatek2014-01-071-35/+23
|
* software: fix example in documentationMichal Minar2014-01-061-1/+1
| | | | | | | | There is wrong prefix before LMI_SoftwareInstallationService class making verification example not working. Related: rhbz#1027681 upstream track ticket: #175
* software: fixed possible deadlock in session managerMichal Minar2014-01-061-10/+20
| | | | | | * peak() method used to lock wrong mutex, which could cause a deadlock. * pop_reply() method could block if non-blocking access had been requested.
* software: test improvementsMichal Minar2014-01-069-24/+45
| | | | | | | | | | * Suppress warnings when removing testing packages that may have been modified by finished test. Whe some installed file were missing, rpm produced ugly warnings and errors. * Set LC_ALL=C when running yum and parsing its output. Otherwise numbers get localized, which confuses the parser. * Allow to run tests from another directory. * Minor cleanups and docstrings corrections.
* spec: %cmake in SUSE creates build subdirKlaus Kaempf2014-01-061-5/+16
| | | | | | | | The spec %cmake macro creates a build sub directory, conflicting with Fedora's %cmake. This patch introduces a target_builddir macro which equals %{_target_platform}/build for SUSE and %{_target_platform} else.
* spec: SUSE compatible RequiresKlaus Kaempf2014-01-061-0/+35
|