mirror of https://github.com/apache/cloudstack.git
Merge pull request #1026 from ekholabs/fix/test_ssvm-CLOUDSTACK-9021
CLOUDSTACK-9021 - Add right interface when test is executed against HyperV/VMwareThe test now check the IP taking into account the right interface for VMware/HyperV (eth1). @karuturi could you please have a look? Unfortunately, I do not have HyperV/VMware test environment. * pr/1026: CLOUDSTACK-9021 - Add right interface when test is executed against HyperV/VMware Signed-off-by: Rajani Karuturi <rajani.karuturi@citrix.com>
This commit is contained in:
commit
0c62c611dd
|
|
@ -490,7 +490,7 @@ class TestSSVMs(cloudstackTestCase):
|
|||
self.apiclient.connection.user,
|
||||
self.apiclient.connection.passwd,
|
||||
ssvm.privateip,
|
||||
"cat /var/cache/cloud/cmdline | xargs | sed \"s/ /\\n/g\" | grep eth0ip= | sed \"s/\=/ /g\" | awk '{print $2}'",
|
||||
"cat /var/cache/cloud/cmdline | xargs | sed \"s/ /\\n/g\" | grep eth1ip= | sed \"s/\=/ /g\" | awk '{print $2}'",
|
||||
hypervisor=self.hypervisor
|
||||
)
|
||||
else:
|
||||
|
|
@ -625,7 +625,7 @@ class TestSSVMs(cloudstackTestCase):
|
|||
self.apiclient.connection.user,
|
||||
self.apiclient.connection.passwd,
|
||||
cpvm.privateip,
|
||||
"cat /var/cache/cloud/cmdline | xargs | sed \"s/ /\\n/g\" | grep eth0ip= | sed \"s/\=/ /g\" | awk '{print $2}'",
|
||||
"cat /var/cache/cloud/cmdline | xargs | sed \"s/ /\\n/g\" | grep eth1ip= | sed \"s/\=/ /g\" | awk '{print $2}'",
|
||||
hypervisor=self.hypervisor
|
||||
)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in New Issue