different "address_index"
Signed-off-by: Yogananth Subramanian <anantyog@linux.vnet.ibm.com>
---
client/tests/kvm/kvm_scheduler.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
@@ -33,7 +33,8 @@ class scheduler:
# "Personal" worker dicts contain modifications that are applied
# specifically to each worker. For example, each worker must use a
# different environment file and a different MAC address pool.
- self.worker_dicts = [{"env": "env%d" % i} for i in range(num_workers)]
+ self.worker_dicts = [{"env": "env%d" % i, "address_index": i-1}
+ for i in range(num_workers)]
def worker(self, index, run_test_func):