ofagent: Fix VLAN usage for TYPE_FLAT and TYPE_VLAN
while ofagent uses OF1.3, the current coding incorrectly uses
OF1.0 terms in some places. namely, _local_vlan_for_flat uses
0xffff to mean "no VLAN". it should use OFPVID_NONE and
pop_vlan/push_vlan appropriately. the same problem exists for
reclaim_local_vlan.
Closes-Bug: 1301144
Change-Id: I3df821fd72471f8bd84366e3b5a1cc7e3489156c
(cherry picked from commit 35b0e003e59232d63b8dbd0da511ee8e3877335e)
Reviewed: https:/ /review. openstack. org/100380 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1da7abde2e5 354c2bcd088d2de 25254742ea01fe
Committed: https:/
Submitter: Jenkins
Branch: stable/icehouse
commit 1da7abde2e5354c 2bcd088d2de2525 4742ea01fe
Author: YAMAMOTO Takashi <email address hidden>
Date: Wed Apr 2 15:41:38 2014 +0900
ofagent: Fix VLAN usage for TYPE_FLAT and TYPE_VLAN
while ofagent uses OF1.3, the current coding incorrectly uses vlan_for_ flat uses vlan/push_ vlan appropriately. the same problem exists for local_vlan.
OF1.0 terms in some places. namely, _local_
0xffff to mean "no VLAN". it should use OFPVID_NONE and
pop_
reclaim_
Closes-Bug: 1301144 8bd84366e3b5a1c c7e3489156c 63b8dbd0da511ee 8e3877335e)
Change-Id: I3df821fd72471f
(cherry picked from commit 35b0e003e59232d