Better handle remove interface from router for unknown port uuid 06/9906/1
authorFlavio Fernandes <ffernand@redhat.com>
Wed, 13 Aug 2014 02:37:16 +0000 (22:37 -0400)
committerFlavio Fernandes <ffernand@redhat.com>
Wed, 13 Aug 2014 03:02:00 +0000 (23:02 -0400)
commit4f86ec1a7c51b28d066bcd34b7cb47cfed7eff1e
treebb743a252d1357a290a9d255199fbdedda8ca89e
parent886fe1a50077d9dc9c4c36f938fc7c86317cb149
Better handle remove interface from router for unknown port uuid

When doing "Remove interface from router" and only port uuid is
provided; the lookup in hash map may return null. If so, there
needs to be a check against NPE.

Change-Id: Ibaea49ac3fdfc08e92c95e818e5ec82628822f3f
Ref: http://docs.openstack.org/api/openstack-network/2.0/content/PUT_removeRouterInterface__v2.0_routers_remove_router_interface_router_ext.html
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
opendaylight/northbound/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/northbound/NeutronRoutersNorthbound.java