Fix 'Number of new ports: 2' failure mode on test_hotplug_nic
After change ce34d2fcf10 merged became evident that this test fails because
there are 'too' many ports that match the server id. Looking closer this is
due to the fact that we compare the entire port dictionaries instead of just
uuids. This may lead to spurious failures, when some port attributes (like
the STATUS) changes during the test execution.
It should suffice comparing uuids rather than dictionaries.
Change-Id: I5fd25689ad73258b092cef62e5657871eedd8b30
Closes-bug: #1321207
1 file changed