VMs on tennant vlan network not getting an IP when spwaned after 91/70991/4
authorAswin Suryanarayanan <asuryana@redhat.com>
Fri, 13 Apr 2018 15:34:30 +0000 (21:04 +0530)
committerSam Hague <shague@redhat.com>
Fri, 27 Apr 2018 11:14:20 +0000 (11:14 +0000)
commit325a3fb38a295574f2cb7076f7941c5737fc66fb
tree1a8aee3ef44c17ef035714c4641d747079674383
parent1e948c771b5217b752832fa22297112cd2c3e2e4
VMs on tennant vlan network not getting an IP when spwaned after
the networks are added to the router.

The router port elandpnlist didn't have a state. So when the first port
is router port in the list, the elan flows fails.

Check is added to skip router port while checking if a port is the first
one in the list.

NETVIRT-1208 An Instance doesn't get an IP after when a network is added
to a router

Change-Id: I25ea20759eefc3043f1616e7907b0c6916fe90e5
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
elanmanager/impl/src/main/java/org/opendaylight/netvirt/elan/internal/ElanInterfaceManager.java
elanmanager/impl/src/main/java/org/opendaylight/netvirt/elan/utils/ElanUtils.java
vpnmanager/impl/src/main/java/org/opendaylight/netvirt/vpnmanager/SubnetmapChangeListener.java