NETVIRT-1065 Handle new bridges 99/67399/4
authorJosh <jhershbe@redhat.com>
Tue, 16 Jan 2018 15:59:35 +0000 (17:59 +0200)
committerSam Hague <shague@redhat.com>
Mon, 22 Jan 2018 22:20:05 +0000 (22:20 +0000)
commita9794fb3b835682615ea35dd766a9b3a490b77aa
treec4322f0d03308aa5e0188b4cad1ed2a43ff20040
parentea57247a8a6ffe154ae6c52472ee4d970e7b1b1a
NETVIRT-1065 Handle new bridges

If a provider network's value is a bridge name we
patch it to br-int. If the bridge does not exist prior
to the discovery of the provider mapping ODL will assume
the provider net is a local port and add it to br-int.
However, a user can remove that port and then add the bridge
and now the code will detect that addition and create the
patch ports.

Change-Id: Ieae1a37ccf90caa51566864be14d840319429e61
Signed-off-by: Josh <jhershbe@redhat.com>
(cherry picked from commit 216a424f69d254cbafe86a06cd90a42ed7fb6d2e)
vpnservice/elanmanager/elanmanager-impl/src/main/java/org/opendaylight/netvirt/elan/internal/ElanBridgeManager.java
vpnservice/elanmanager/elanmanager-impl/src/main/java/org/opendaylight/netvirt/elan/internal/ElanOvsdbNodeListener.java