]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Change the half of the bridge name used for ports
authorKevin Benton <blak111@gmail.com>
Wed, 1 Jul 2015 20:06:38 +0000 (13:06 -0700)
committerKevin Benton <kevinbenton@buttewifi.com>
Wed, 1 Jul 2015 21:22:57 +0000 (21:22 +0000)
commitf1771131a85a2fe633126f354364205554ef71d1
treeafe7c8d4d7e0633e5040e506b5436b24652df70e
parent5e9ea5acefa516a4ca969d578bac63e6cc58190e
Change the half of the bridge name used for ports

The code to generate the names of the patch ports
was based on a chunk of the bridge name starting from
the beginning. With the long suffix, this ended up
excluding all of the random characters in the name.
(e.g. br-int374623235 would create an interface br-in-patch-tun).

This meant that if two tests using patch interfaces ran together,
they would have a name collision and one would fail.

This patch updates the patch port name generation to use the
randomized back portion of the name.

Change-Id: I172e0b2c0b53e8c7151bd92f0915773ea62c0c6a
Closes-Bug: #1470637
neutron/tests/functional/agent/test_l2_ovs_agent.py