Tue, Jan 19, 2016 at 03:09:57PM IST, olichtne(a)redhat.com wrote:
From: Ondrej Lichtner <olichtne(a)redhat.com>
After creating all the soft interfaces specified in the recipe, the
Controller will now wait until the associated Device object on the Slave
is initialized - this means waiting until there are no more devices left
in the _tmp_mapping dictionary of InterfaceManager.
To do this we introduced a new NetTestSlave method - wait_interface_init
that only returns after the InterfaceManager is ready.
This method is also called every time you create a device from inside a
This should avoid potential race conditions that we've experienced.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Tested-by: Jiri Pirko <jiri(a)mellanox.com>
Thanks for taking care of this Ondrej!