]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
OVS UT: Fix some confusions between local vlan id and segmentation id
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Tue, 17 Feb 2015 05:11:11 +0000 (14:11 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Wed, 18 Feb 2015 01:48:50 +0000 (01:48 +0000)
commitb8ab20268cec23aae0b6cb445f201cf4055017be
tree51a693dc02144ce43318bc8d71304b03c038d043
parent9184832b9ab6a4b60c9c7f6607f60b80eafe3c98
OVS UT: Fix some confusions between local vlan id and segmentation id

Also, use different values for them to expose mistakes.

Details:

There are two kinds of vlan ids involved here:
* local vlan id, which is managed by each agents in a node-local manner.
* segmentation id, which is managed by the corresponding ML2 type driver.
These tests use the distinct variables for them.
(LV_ID and LS_ID respectively)
However, these variables are misused in some places, relying on the fact
that their values are same.  (42)

Change-Id: Ib2ba74be74c2c361d25821acab2083a17b1b0173
neutron/tests/unit/openvswitch/test_ovs_tunnel.py