NETVIRT-1227 : Refactoring segment creation 74/71574/12
authoreaksahu <a.k.sahu@ericsson.com>
Mon, 30 Apr 2018 12:26:03 +0000 (17:56 +0530)
committerSam Hague <shague@redhat.com>
Wed, 30 May 2018 16:10:25 +0000 (16:10 +0000)
commit5e9f1a8ba0ad6df8f23410dca06aaaf49a2733bd
tree858a30d268d43ac092ed984b6cf0057f59ced36f
parente7ce218b1c40a6cf3b2809b75ff85f164ccbfa91
NETVIRT-1227 : Refactoring segment creation

For multisegment network , the code is unnecessarly using multiple loops
and varibles , increasing the probability of NP and
ArrayIndexOutOfBoundExceptions.
Hence refactoring the code.

Change-Id: I6022813925096d9b02f5cb14fb92918445dd04db
Signed-off-by: eaksahu <a.k.sahu@ericsson.com>
neutronvpn/impl/src/main/java/org/opendaylight/netvirt/neutronvpn/NeutronNetworkChangeListener.java