]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ovs-agent: use hexadecimal IP address in tunnel port name
authorDarragh O'Reilly <dara2002-openstack@yahoo.com>
Tue, 18 Feb 2014 16:31:08 +0000 (16:31 +0000)
committerDarragh O'Reilly <dara2002-openstack@yahoo.com>
Fri, 28 Feb 2014 08:11:40 +0000 (08:11 +0000)
commit3d8ab7964ace4e96539cfbc0587c8f04c81ac3b3
treefe966fee909891eb5d86377f4bb7f3dacae0d4ce
parentaeb09ac59cd623f57f88943111727ae1bdc85303
ovs-agent: use hexadecimal IP address in tunnel port name

The remote IP address is used to form the tunnel port name when
the ovs-agent is used with the ML2 plugin. With some OVS/Linux
combinations there is a 15 character limit on port names, so a
name like 'gre-192.168.10.10' does not work. This fix uses the
shorter hexadecimal representation of the IP address instead.

Change-Id: I58caf54219130159525b5a6492eaa451062c2ff5
Closes-Bug: 1281098
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py