BUG 8880: Trunk port flows not created for subports 08/60708/2
authorVishal Thapar <vishal.thapar@ericsson.com>
Tue, 25 Jul 2017 04:24:21 +0000 (09:54 +0530)
committerVishal Thapar <vishal.thapar@ericsson.com>
Tue, 25 Jul 2017 15:51:35 +0000 (21:21 +0530)
commit5780817e2fa72516670936fe56ff0b21ecb5baad
tree4b846d37a098c8b91ccb3f785b045cdd484085b3
parent2be9c4bb36c5c1de35233e8fedb7851a730d2349
BUG 8880: Trunk port flows not created for subports

Fix for BUG 8020 broke the assumption for trunk sub-ports i.e. Interface
will be already created for Subports at time of NeutronPort creation.

https://git.opendaylight.org/gerrit/#/c/54410/ adds an if condition that
will always be false for VM ports, so we don't create interface at Port
creation. This breaks trunk logic. This also has side effect of increasing
rae conditions by adding too much to do once VM is actually spawned and is
not a good design.

Change-Id: I90e5c60f6d5afe5242cdd0a93d5c35d00a25ab85
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
vpnservice/neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronPortChangeListener.java