Bug 1806 - Null destination InetAddress in OF13Provider.handleInterfaceUpdate 37/11537/1
authorSam Hague <shague@redhat.com>
Wed, 24 Sep 2014 15:47:52 +0000 (11:47 -0400)
committerSam Hague <shague@redhat.com>
Wed, 24 Sep 2014 15:47:52 +0000 (11:47 -0400)
commit085a381c399116afc4c68699d7c1564d2cbc5aab
treec13c1d0684e69fa157da2134be41b54cb9f1a2d9
parent4f96be61ffa837ed7b4d11afca23fd555913ec13
Bug 1806 - Null destination InetAddress in OF13Provider.handleInterfaceUpdate

The error is caused when ovsdb can not find the local_ip address from the open_vSwitch table other_config row. this address is used to get the src or dst ip address to be used for tunnels.

Added null chcks around the src and dst ip addresses. Log a warning if either is missing.

Change-Id: I57e0c69d699552d5ed07262210e25c8a4555ca66
Signed-off-by: Sam Hague <shague@redhat.com>
openstack/net-virt-providers/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/providers/openflow13/OF13Provider.java