]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS Agent: limit veth names to 15 chars
authorKevin Benton <blak111@gmail.com>
Fri, 6 Jun 2014 15:15:38 +0000 (08:15 -0700)
committerKevin Benton <blak111@gmail.com>
Sat, 7 Jun 2014 00:51:49 +0000 (17:51 -0700)
commit1222366f6dadf7ce2a810c919344054196134db8
tree0f5ec2cf71460869ed5a494158b83cae86103542
parent145ea4ac1a27ced302e585bd84624768f2321c89
OVS Agent: limit veth names to 15 chars

The maximum length of a veth interface name is 15 characters.
This patch limits the length of the veth names created for
integration bridges by switching to a fixed-length hashing
mechanism if the normal name would exceed the allowed length.

Closes-Bug: #1328288
Change-Id: I432cee62a6dc91f268becbc91f8024c23dd0bfac
neutron/agent/linux/ip_lib.py
neutron/plugins/openvswitch/agent/ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py
neutron/tests/unit/openvswitch/test_ovs_tunnel.py