]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
ofagent: Add a missing push_vlan action
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Thu, 17 Apr 2014 05:33:44 +0000 (14:33 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Thu, 8 May 2014 06:08:40 +0000 (15:08 +0900)
commit9f673c2482528bdde15776c52928dbaceecdf811
tree8bcb5bd36036db02c553e7f6e5398a89e42c80d2
parent6f685985a537ec7597e6b7576a3d854c27243d4b
ofagent: Add a missing push_vlan action

Fix the flow for _provision_local_vlan_inbound_for_tunnel
to push-vlan explicitly.  While the old code happened to
work with older versions of OVS, it was spec-wise incorrect because
it failed to meet the prerequisite of the following set-field.
The latest version of OVS correctly rejects such a flow.

Closes-Bug: #1308927
Change-Id: I66221eec0cb4083d178d7d5651360ee1874e3d1b
neutron/plugins/ofagent/agent/ofa_neutron_agent.py
neutron/tests/unit/ofagent/fake_oflib.py
neutron/tests/unit/ofagent/test_ofa_neutron_agent.py