Vinzenz Feenstra has submitted this change and it was merged.
Change subject: Support for mapping image ids to physical devices
......................................................................
Support for mapping image ids to physical devices
This patch uses libudev through ctypes for systems providing
libudev due to the instable nature of sysfs. While on RHEL5
we're using sysfs we cannot for example use it on Fedora 20
with kernel 3.15 since the serial values seem not to be exposed
by sysfs.
This patch extends the disks-usage message with the 'mapping' field.
The value of the mapping field is an object {'$serial': {'name':
'$devname'}}
Change-Id: Ie8961b3703703df573dbf2f0fca2143b463ae76b
Bug-Url:
https://bugzilla.redhat.com/1127607
Signed-off-by: Vinzenz Feenstra <vfeenstr(a)redhat.com>
---
M configure.ac
M ovirt-guest-agent.rhel6.spec
M ovirt-guest-agent.spec
M ovirt-guest-agent/GuestAgentLinux2.py
M ovirt-guest-agent/GuestAgentWin32.py
M ovirt-guest-agent/Makefile.el5
M ovirt-guest-agent/OVirtAgentLogic.py
M scripts/Makefile.am
A scripts/diskmapper/Makefile.am
A scripts/diskmapper/diskmapper.el5
A scripts/diskmapper/diskmapper.libudev
11 files changed, 239 insertions(+), 5 deletions(-)
Approvals:
Nir Soffer: Looks good to me, but someone else must approve
Vinzenz Feenstra: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/31465
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ie8961b3703703df573dbf2f0fca2143b463ae76b
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-guest-agent
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Antoni Segura Puimedon <asegurap(a)redhat.com>
Gerrit-Reviewer: Liron Aravot <laravot(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek(a)redhat.com>
Gerrit-Reviewer: Michal Skrivanek <mskrivan(a)redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeenstr(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server