Martin Polednik has posted comments on this change.
Change subject: functional tests: virt: fix devices verification
......................................................................
Patch Set 1:
(1 comment)
https://gerrit.ovirt.org/#/c/43600/1//COMMIT_MSG
Commit Message:
Line 3: AuthorDate: 2015-07-14 18:06:14 +0300
Line 4: Commit: Yeela Kaplan <ykaplan(a)redhat.com>
Line 5: CommitDate: 2015-07-14 18:06:14 +0300
Line 6:
Line 7: functional tests: virt: fix devices verification
getVmList returns a list of UUIDs, so you can't use it to access
devices ke
getVmList returns
{'status': 'Up', 'kernel':
'/boot/vmlinuz-3.10.0-229.4.2.el7.x86_64', 'displayIp': '0',
'kvmEnable': 'true', 'nicModel': 'rtl8139,pv',
'smp': '1', 'vmId':
'77777777-ffff-3333-bbbb-222222222222', 'pid': '24535',
'devices': [{'device': 'memballoon', 'specParams':
{'model': 'none'}, 'type': 'balloon', 'alias':
'balloon0'}, {'device': 'virtio-serial', 'alias':
'virtio-serial0', 'type': 'controller', 'address':
{'slot': '0x03', 'bus': '0x00', 'domain':
'0x0000', 'type': 'pci', 'function': '0x0'}},
{'device': 'qxl', 'specParams': {'vram': '65536'},
'alias': 'video0', 'type': 'video', 'address':
{'slot': '0x02', 'bus': '0x00', 'domain':
'0x0000', 'type': 'pci', 'function': '0x0'}},
{'device': 'spice', 'specParams': {'displayIp':
'0'}, 'type': 'graphics', 'port': '5900',
'tlsPort': '5901'}, {'index': 2, 'iface': 'ide',
'name': 'hdc', 'format': 'raw', 'alias':
'ide0-1-0', 'readonly': 'True', 'propagateErrors':
'off', 'address': {'bus': '1', 'controller':
'0', 'type': 'drive', 'target!
': '0', 'unit': '0'}, 'device': 'cdrom',
'shared': False, 'path': '', 'truesize': 0,
'type': 'disk'}, {'device': 'usb', 'alias':
'usb0', 'type': 'controller', 'address': {'slot':
'0x01', 'bus': '0x00', 'domain': '0x0000',
'type': 'pci', 'function': '0x2'}}, {'device':
'ide', 'alias': 'ide0', 'type': 'controller',
'address': {'slot': '0x01', 'bus': '0x00',
'domain': '0x0000', 'type': 'pci', 'function':
'0x1'}}, {'device': 'unix', 'alias': 'channel0',
'type': 'channel', 'address': {'bus': '0',
'controller': '0', 'type': 'virtio-serial',
'port': '1'}}, {'device': 'unix', 'alias':
'channel1', 'type': 'channel', 'address': {'bus':
'0', 'controller': '0', 'type': 'virtio-serial',
'port': '2'}}, {'device': 'spicevmc', 'alias':
'channel2', 'type': 'channel', 'address': {'bus':
'0', 'controller': '0', 'type': 'virtio-serial',
'port': '3'}}], 'guestDiskMapping': {}, 'pauseCode':
'NOERR', 'vmType': 'kvm', 'initrd':
'/boot/initramfs-3.10.0-229.4.2.el7.x86_64.img', 'displaySecurePort': !
'5901', 'memSize': 256, 'displayPort': '5900',
'clientIp': '', 'statusTime': '4389053540',
'vmName': 'testSimpleVm', 'display': 'qxl',
'kernelArgs': 'rd.break=cmdline rd.shell rd.skipfsck'}
in current implementation of functional tests
Line 8:
Line 9: Change-Id: I774dfdb3f0bde3822df383c54060b41ba7a2cda6
--
To view, visit
https://gerrit.ovirt.org/43600
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I774dfdb3f0bde3822df383c54060b41ba7a2cda6
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Dima Kuznetsov <dkuznets(a)redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: Yeela Kaplan <ykaplan(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-HasComments: Yes