diff --git a/lnst/Controller/SlavePool.py b/lnst/Controller/SlavePool.py index 53ad362..7879af6 100644 --- a/lnst/Controller/SlavePool.py +++ b/lnst/Controller/SlavePool.py @@ -451,7 +451,7 @@ class SetupMapper(object): #map compatible pool machine stack_top["current_match"] = pool_m_id pool_ifs = self._pool[pool_m_id]["interfaces"].keys() - stack_top["unmatched_pool_ifs"] = list(pool_ifs) + stack_top["unmatched_pool_ifs"] = sorted(list(pool_ifs)) self._unmatched_pool_machines.remove(pool_m_id) break @@ -550,7 +550,7 @@ class SetupMapper(object): machine_match["if_stack"] = [] machine = self._mreqs[machine_match["m_id"]] - machine_match["unmatched_ifs"] = machine["interfaces"].keys() + machine_match["unmatched_ifs"] = sorted(machine["interfaces"].keys()) machine_match["unmatched_pool_ifs"] = [] if self._virtual_matching: