IxLoadUtils.clearChassisList(connection, sessionUrl) IxLoadUtils.log("Chassis list cleared.") IxLoadUtils.log("Adding chassis %s..." % (testSettings.chassisList)) IxLoadUtils.addChassisList(connection, sessionUrl, testSettings.chassisList) IxLoadUtils.log("Chassis added.") IxLoadUtils.log("Assigning new ports...") IxLoadUtils.assignPorts(connection, sessionUrl, testSettings.portListPerCommunity) IxLoadUtils.log("Ports assigned.") IxLoadUtils.log("Clearing command lists for agents %s..." % (list(kNewCommands))) IxLoadUtils.clearAgentsCommandList(connection, sessionUrl, list(kNewCommands)) IxLoadUtils.log("Command lists cleared.") IxLoadUtils.log("Adding new commands for agents %s..." % (list(kNewCommands))) IxLoadUtils.addCommands(connection, sessionUrl, kNewCommands) IxLoadUtils.log("Commands added.") IxLoadUtils.log("Saving repository %s..." % (IxLoadUtils.getRxfName(connection, location))) IxLoadUtils.saveRxf(connection, sessionUrl, IxLoadUtils.getRxfName(connection, location)) IxLoadUtils.log("Repository saved.") IxLoadUtils.log("Starting the test...") IxLoadUtils.runTest(connection, sessionUrl)
IxLoadUtils.log("Clearing chassis list...") IxLoadUtils.clearChassisList(connection, sessionUrl) IxLoadUtils.log("Chassis list cleared.") IxLoadUtils.log("Adding chassis %s..." % (kChassisList)) IxLoadUtils.addChassisList(connection, sessionUrl, kChassisList) IxLoadUtils.log("Chassis added.") IxLoadUtils.log("Assigning new ports...") IxLoadUtils.assignPorts(connection, sessionUrl, kPortListPerCommunityCommunity) IxLoadUtils.log("Ports assigned.") IxLoadUtils.log("Clearing command lists for agents %s..." % (kNewCommands.keys())) IxLoadUtils.clearAgentsCommandList(connection, sessionUrl, kNewCommands.keys()) IxLoadUtils.log("Command lists cleared.") IxLoadUtils.log("Adding new commands for agents %s..." % (kNewCommands.keys())) IxLoadUtils.addCommands(connection, sessionUrl, kNewCommands) IxLoadUtils.log("Commands added.") IxLoadUtils.log("Saving repository %s..." % (getRxfName())) IxLoadUtils.saveRxf(connection, sessionUrl, getRxfName()) IxLoadUtils.log("Repository saved.") IxLoadUtils.log("Starting the test...") IxLoadUtils.runTest(connection, sessionUrl) IxLoadUtils.log("Test started.")