Change in vdsm[master]: functional test: boot VM with network interface device
zhshzhou at linux.vnet.ibm.com
zhshzhou at linux.vnet.ibm.com
Thu Jun 13 03:18:11 UTC 2013
Zhou Zheng Sheng has uploaded a new change for review.
Change subject: functional test: boot VM with network interface device
......................................................................
functional test: boot VM with network interface device
Change-Id: I18c350074ce2b9712c468899075e5e2e22ee2550
Signed-off-by: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
---
M tests/functional/xmlrpcTests.py
1 file changed, 8 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/33/15633/1
diff --git a/tests/functional/xmlrpcTests.py b/tests/functional/xmlrpcTests.py
index 3e5244e..9189239 100644
--- a/tests/functional/xmlrpcTests.py
+++ b/tests/functional/xmlrpcTests.py
@@ -171,8 +171,15 @@
@skipNoKVM
def testStartSmallVM(self):
+ pciAddress = {'slot': '0x03', 'bus': '0x00', 'domain': '0x0000',
+ 'function': '0x0', 'type': 'pci'}
+ interfaceDev = {'nicModel': 'virtio', 'macAddr': '52:54:00:59:F5:3F',
+ 'network': '', 'address': pciAddress,
+ 'device': 'bridge', 'type': 'interface',
+ 'linkActive': True, 'filter': 'no-mac-spoofing'}
customization = {'vmId': '77777777-ffff-3333-bbbb-222222222222',
- 'vmName': 'vdsm_testSmallVM'}
+ 'vmName': 'vdsm_testSmallVM',
+ 'devices': [interfaceDev]}
self._runVMKernelBootTemplate(customization)
--
To view, visit http://gerrit.ovirt.org/15633
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I18c350074ce2b9712c468899075e5e2e22ee2550
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Zhou Zheng Sheng <zhshzhou at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list