Bug 5466 - GatewayMacResolver Broken
authorAndre Fredette <afredette@redhat.com>
Sun, 6 Mar 2016 23:06:17 +0000 (18:06 -0500)
committerAndre Fredette <afredette@redhat.com>
Tue, 8 Mar 2016 14:17:16 +0000 (09:17 -0500)
commit57cbf1f990ace54191b17ba57a09827ad2982174
tree885fefbe237eef9e9aa29673929751a0fc6c915c
parent0b8bdd29ee95cac8087ce5078a66b61244a7550c
Bug 5466 - GatewayMacResolver Broken

"nIP.getIpAddress().getBytes()" returns a byte representation of the
IP address string (including periods).  What we really want is a byte
representation of the IP address represented by the string.

The solution is to use the InetAddress.getByName method that takes an
IP address string directly.

Change-Id: I39dcc1b8e97ab175e23d5aa2c9310581b87214ee
Signed-off-by: Andre Fredette <afredette@redhat.com>
openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/impl/NeutronL3Adapter.java