Apply vlan_strip_offload config only when using vlan for fdio 19/22719/2
authorFeng Pan <fpan@redhat.com>
Wed, 5 Oct 2016 23:49:51 +0000 (19:49 -0400)
committerFeng Pan <fpan@redhat.com>
Fri, 7 Oct 2016 23:05:12 +0000 (19:05 -0400)
commit93d7a9d05cbd35f60dd59ba0f67b0f672b3b1bfa
tree74e97919bcb0e6a6b4fad24dbb1394b14fe0a70b
parentdfe970932417a0a6ceca1b84d16aa51ba30e07f3
Apply vlan_strip_offload config only when using vlan for fdio

We currently apply vlan_strip_offload cnofig to VPP interface for
all enic interfaces, however, this is really only needed when
vlan tagged traffic is being passed on the interface. This patch
adds a vlan config option to puppet-fdio and opnfv-tht so that
we only enable it when needed. Right now the only scenario this
is needed is nosdn-fdio, since the only supported mode for tenant
networking is VLAN.

Dependent on https://github.com/radez/puppet-fdio/pull/11

JIRA: APEX-285

opnfv-tht-pr: 87

Change-Id: I40c444896e036eaa87506cf372bedd4b8a621d00
Signed-off-by: Feng Pan <fpan@redhat.com>
ci/PR_revision.log