]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OFA agent: use hexadecimal IP address in tunnel port name
authorfumihiko kakuma <kakuma@valinux.co.jp>
Tue, 18 Mar 2014 02:36:29 +0000 (11:36 +0900)
committerfumihiko kakuma <kakuma@valinux.co.jp>
Wed, 2 Apr 2014 03:09:24 +0000 (12:09 +0900)
commitc506ebf317e64766369c0bfa97b6af182656ac4c
tree040a4ebae3b6b502c512b2070dffa8135e8b75d6
parentf59e5fff820c1cf6900100d058622b8b1cbb03ca
OFA agent: use hexadecimal IP address in tunnel port name

The remote IP address is used to form the tunnel port name
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.
This problem was reported and fixed for OVS agent.

Closes-Bug: 1294474

Change-Id: Ieab1eb8a5c430f69aff61a317cc28f23ba95ad2d
neutron/plugins/ofagent/agent/ofa_neutron_agent.py
neutron/tests/unit/ofagent/test_ofa_neutron_agent.py