Bug 5315 - NPE while creating Neutron Router w/o interface attached to it 45/34445/1
authorAbhinav Gupta <abhinav.gupta@ericsson.com>
Thu, 11 Feb 2016 09:30:03 +0000 (15:00 +0530)
committerAbhinav Gupta <abhinav.gupta@ericsson.com>
Thu, 11 Feb 2016 09:32:16 +0000 (15:02 +0530)
commitdbb8ad19bc34c9916a336c197530f3777dc7a2bc
tree889e0a9ae6b6ea3d28a46a4862cace18c5bd075f
parentc90fdaf9f83014b6b1242faa92f1173ffd985075
Bug 5315 - NPE while creating Neutron Router w/o interface attached to it

Fixes NPE while creating Neutron Router without any interface
(subnet) attached to it.
Also removes a redundant null check

Change-Id: I9490d673c25771036ec93e19b9e9dee50bd53115
Signed-off-by: Abhinav Gupta <abhinav.gupta@ericsson.com>
neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/vpnservice/neutronvpn/NeutronPortChangeListener.java
neutronvpn/neutronvpn-impl/src/main/java/org/opendaylight/vpnservice/neutronvpn/NeutronvpnUtils.java