@@ -878,7 +878,7 @@ def test_redundantVR_internals(self):
878878 )
879879 else :
880880 result = get_process_status (
881- host .ipaddress ,
881+ master_host .ipaddress ,
882882 self .services ['host' ]["publicport" ],
883883 self .services ['host' ]["username" ],
884884 self .services ['host' ]["password" ],
@@ -914,7 +914,7 @@ def test_redundantVR_internals(self):
914914 )
915915 else :
916916 result = get_process_status (
917- host .ipaddress ,
917+ backup_host .ipaddress ,
918918 self .services ['host' ]["publicport" ],
919919 self .services ['host' ]["username" ],
920920 self .services ['host' ]["password" ],
@@ -1107,7 +1107,7 @@ def test_stopMasterRvR(self):
11071107
11081108 self .debug ("Stopping the MASTER router" )
11091109 try :
1110- cmd = stopRouter .stopRouter ( cmd )
1110+ cmd = stopRouter .stopRouterCmd ( )
11111111 cmd .id = master_router .id
11121112 self .apiclient .stopRouter (cmd )
11131113 except Exception as e :
@@ -1234,7 +1234,7 @@ def test_stopBackupRvR(self):
12341234
12351235 self .debug ("Stopping the BACKUP router" )
12361236 try :
1237- cmd = stopRouter .stopRouter ( cmd )
1237+ cmd = stopRouter .stopRouterCmd ( )
12381238 cmd .id = backup_router .id
12391239 self .apiclient .stopRouter (cmd )
12401240 except Exception as e :
@@ -1355,7 +1355,7 @@ def test_rebootMasterRvR(self):
13551355
13561356 self .debug ("Rebooting the master router" )
13571357 try :
1358- cmd = rebootRouter .rebootRouter ( cmd )
1358+ cmd = rebootRouter .rebootRouterCmd ( )
13591359 cmd .id = master_router .id
13601360 self .apiclient .rebootRouter (cmd )
13611361 except Exception as e :
@@ -1449,7 +1449,7 @@ def test_rebootBackupRvR(self):
14491449
14501450 self .debug ("Rebooting the backuo router" )
14511451 try :
1452- cmd = rebootRouter .rebootRouter ( cmd )
1452+ cmd = rebootRouter .rebootRouterCmd ( )
14531453 cmd .id = backup_router .id
14541454 self .apiclient .rebootRouter (cmd )
14551455 except Exception as e :
@@ -1543,7 +1543,7 @@ def test_stopBackupRvR_startInstance(self):
15431543
15441544 self .debug ("Stopping the backup router" )
15451545 try :
1546- cmd = stopRouter .stopRouter ( cmd )
1546+ cmd = stopRouter .stopRouterCmd ( )
15471547 cmd .id = backup_router .id
15481548 self .apiclient .stopRouter (cmd )
15491549 except Exception as e :
@@ -1574,9 +1574,9 @@ def test_stopBackupRvR_startInstance(self):
15741574 accountid = self .account .name ,
15751575 domainid = self .account .account .domainid ,
15761576 serviceofferingid = self .service_offering .id ,
1577- networkids = [str (network .id )]
1577+ networkids = [str (self . network .id )]
15781578 )
1579- self .debug ("Deployed VM in network: %s" % network .id )
1579+ self .debug ("Deployed VM in network: %s" % self . network .id )
15801580
15811581 vms = VirtualMachine .list (
15821582 self .apiclient ,
0 commit comments