cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjeev N (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6200) [Automation] Add support for Hyper-v in regression test test_routers.py
Date Wed, 05 Mar 2014 06:38:42 GMT
Sanjeev N created CLOUDSTACK-6200:
-------------------------------------

             Summary: [Automation] Add support for Hyper-v in regression test test_routers.py
                 Key: CLOUDSTACK-6200
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6200
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.3.0
         Environment: Cloudstack 4.3
Advanced zone with Hyper-v

            Reporter: Sanjeev N
             Fix For: 4.3.0


[Automation] Add support for Hyper-v in regression test test_routers.py

test inside class TestRouterStopCreateFW checks for dnsmasq services status inside VR. at
line no: 1270. 
Following is the code to verify it:
   1269         # For DNS and DHCP check 'dnsmasq' process status
   1270         if self.apiclient.hypervisor.lower() == 'vmware':
   1271                result = get_process_status(
   1272                                self.apiclient.connection.mgtSvr,
   1273                                22,
   1274                                self.apiclient.connection.user,
   1275                                self.apiclient.connection.passwd,
   1276                                router.linklocalip,
   1277                                'iptables -t nat -L',
   1278                                 hypervisor=self.apiclient.hypervisor
   1279                                )
   1280         else:
   1281             try:
   1282                 result = get_process_status(
   1283                     host.ipaddress,
   1284                     22,
   1285                     host.user,
   1286                     host.passwd,
   1287                     router.linklocalip,
   1288                     'iptables -t nat -L'
   1289                 )
   1290             except KeyError:
   1291                 self.skipTest("Provide a marvin config file with host credentials
to run %s" % self._testMethodName)

This code will work for vmware, xen and kvm but not for Hyper-v. So need to add support for
Hyper-v as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message