summaryrefslogtreecommitdiffstats
path: root/src/hardware
Commit message (Collapse)AuthorAgeFilesLines
* Hardware: added VirtualMachine field to the Chassis providerPeter Schiffer2014-02-144-1/+97
|
* Hardware: added temperature to the DiskDriveProviderPeter Schiffer2014-02-103-1/+17
|
* Hardware: minor CPU provider updatesPeter Schiffer2014-02-062-6/+20
| | | | | * added cpu name fallback to ProcessorChip class * added stepping fallback for virtual CPUs to Processor class
* Hardware: use unknown RPM value if real value is unavailablePeter Schiffer2014-02-051-3/+8
|
* Hardware: don't set ConfiguredMemoryClockSpeed if it's unknownPeter Schiffer2014-02-051-2/+4
|
* Hardware: better cpu name fallbackPeter Schiffer2014-02-041-1/+5
|
* Hardware: fixed memory leakPeter Schiffer2014-02-041-0/+2
|
* Hardware: updated tests READMEPeter Schiffer2014-02-041-7/+10
|
* 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: added disk capacity to LMI_DiskDriveProviderPeter Schiffer2014-01-305-10/+67
|
* 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: 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.
* 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
* 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
|
* Updated copyright yearsPeter Schiffer2014-01-1662-62/+62
| | | | Updated copyright years to include new year 2014.
* Remove trailing spacesPeter Schiffer2014-01-1623-943/+943
| | | | This patch removes trailing spaces from source files.
* Hardware: fixed typos in commentsPeter Schiffer2014-01-151-2/+2
|
* Hardware: renamed LMI_ATAProtocolEndpointProviderPeter Schiffer2014-01-154-62/+64
| | | | | | Renamed LMI_ATAProtocolEndpointProvider to LMI_DiskDriveATAProtocolEndpointProvider so the name matches the pattern used in all disk drive classes.
* Hardware: added LMI_DiskDriveDeviceSAPImplementationProviderPeter Schiffer2014-01-141-0/+284
| | | | | New provider: * LMI_DiskDriveDeviceSAPImplementationProvider
* Hardware: added LMI_DiskDriveATAPortProviderPeter Schiffer2014-01-144-17/+414
| | | | | New provider: * LMI_DiskDriveATAPortProvider
* Hardware: added DiskDriveSAPAvailableForElementProviderPeter Schiffer2014-01-101-0/+279
| | | | | New provider: * LMI_DiskDriveSAPAvailableForElement
* Use re-entrant version of strerror() for thread safetyTomas Bzatek2014-01-094-7/+13
|
* Hardware: added ATAProtocolEndpointProviderPeter Schiffer2014-01-092-0/+245
| | | | | New Provider: * LMI_ATAProtocolEndpoint
* Hardware: added DiskDriveElementSoftwareIdentity associationPeter Schiffer2013-12-191-0/+274
| | | | | New provider: * LMI_DiskDriveElementSoftwareIdentity
* Hardware: added DiskDriveSoftwareIdentity providerPeter Schiffer2013-12-174-0/+248
| | | | | New provider: * LMI_DiskDriveSoftwareIdentity
* Hardware: register SNIA profile with LMI_DiskDrive providerPeter Schiffer2013-12-121-0/+25
|
* Hardware: use lsblk as primary source for disksPeter Schiffer2013-12-107-176/+122
| | | | | | | | This patch makes lsblk primary source for information about disks instead of smartctl. This change was needed because in virtual environment some disks might be recognized by smartctl while others not, and in this case, some disks would be missing in LMI classes. With lsblk, all disks are always listed. Smartctl is used as source of additional information if avaiable.
* Hardware: honour command return code in run_command() functionPeter Schiffer2013-12-103-7/+14
|
* Hardware: added association class DiskDriveSystemDevicePeter Schiffer2013-12-061-0/+286
| | | | | New provider: * LMI_DiskDriveSystemDeviceProvider
* Hardware: added association class DiskDriveRealizesPeter Schiffer2013-12-031-0/+290
| | | | | New provider: * LMI_DiskDriveRealizes
* Hardware: Created DiskDrive providerPeter Schiffer2013-12-037-14/+530
| | | | | | | New provider: * LMI_DiskDriveProvider Also, added missing config init to disk providers.
* Hardware: register SNIA profile with LMI_DiskPhysicalPackage providerPeter Schiffer2013-11-201-0/+25
|
* Hardware: Added LMI_DiskPhysicalPackageContainer associationPeter Schiffer2013-11-203-4/+298
| | | | | | | Added LMI_DiskPhysicalPackageContainer association between LMI_DiskPhysicalPackage and LMI_Chassis. Also, added default values for disk manufacturer and model.
* Fix missing format stringsRadek Novacek2013-11-186-6/+6
| | | | Missing format strings are considered a vulnerability.
* Hardware: added lsblk fallback for physical disksPeter Schiffer2013-11-187-20/+360
| | | | | | | | | Smartctl doesn't work in virtual machine environment. Lsblk program reads sysfs filesystem and outputs data about block devices. Advantage in using lsblk instead of reading sysfs is, that it's not easy to distinguish between cd-roms, disks, partitions, lvm.. Lsblk is doing some magic when determining the type of device, so instead of duplicating the code, I'm using it's output. Lsblk is part of the util-linux package, so no new dependency was introduced.
* Hardware: added "Implemented(true)" qualifier for all supported propertiesPeter Schiffer2013-11-111-0/+1
|
* Hardware: Added Physical Disk ProviderPeter Schiffer2013-11-058-13/+555
| | | | | New Provider: * LMI_DiskPhysicalPackage
* Add lmi_get_computer_system function and fix lmi_get_system_nameRadek Novacek2013-10-3136-210/+150
| | | | | | | | | | | | | | PG_ComputerSystem has different method how to get hostname than our providers. In order to create the associations to this class we need to enumerate it. The downside is that all providers must supply CMPIContext to the lmi_init function. New function lmi_get_computer_system returns CMPIObjectPath to the configured CIM_ComputerSystem subclass instance. This object should be used in all references with ComputerSystem. Function lmi_get_system_name has been altered to return same value as ComputerSystem "Name" property.
* Rework documentation.Jan Safranek2013-10-187-725/+0
| | | | | | | | | | - Everything is in openlmi-providers/doc/admin directory. - 'make doc' automatically builds documentation of all enabled providers. - Documentation shares one 'conf.py' for sphinx. - All documentation uses the same directory structure. There is only one CMakefile.txt to generate all the docs.
* Hardware: Created documentationPeter Schiffer2013-10-167-0/+725
|
* hardware: allow compilation for older cim-schemaMichal Minar2013-10-101-0/+10
| | | | | | | Compilation fails with older schema (preceding 2.38.0) because of missing Values in CIM_Processor::Family's qualifiers. Let's check whether the values get generated by konkret and fallback to custom defines.
* hardware: fix buildJan Synacek2013-10-091-2/+0
| | | | | This commit sort of reverts commit 657e5bfee810e4a51b33ffd401aa307862491423.