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.
Reviewed: https:/ /review. openstack. org/85649 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=35b0e003e59 232d63b8dbd0da5 11ee8e3877335e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 35b0e003e59232d 63b8dbd0da511ee 8e3877335e
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
Change-Id: I3df821fd72471f