summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-03-19 13:07:50 -0400
committerFeng Pan <fpan@redhat.com>2017-04-11 00:01:24 +0000
commit8f132fde05517f2c662c9bc945d1712a03eb2a1b (patch)
tree4c9aeee82aee5e335b99796ed4b45ea4372dc1d9 /build
parent1ed4b476cc7569b63567b73badaee578b3ed8fc5 (diff)
Add VPP interface options support
Interface options is needed for nosdn-fdio scenario to disable vlan strip offloading for enic. Change-Id: I7d7e3d7e6e0c822a13113911a41a3d076ecbd509 Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build')
-rw-r--r--build/nics-template.yaml.jinja23
1 files changed, 3 insertions, 0 deletions
diff --git a/build/nics-template.yaml.jinja2 b/build/nics-template.yaml.jinja2
index 0913fa98..23016183 100644
--- a/build/nics-template.yaml.jinja2
+++ b/build/nics-template.yaml.jinja2
@@ -180,6 +180,9 @@ resources:
{%- if 'uio-driver' in nets['tenant']['nic_mapping'][role] %}
uio_driver: {{ nets['tenant']['nic_mapping'][role]['uio-driver'] }}
{%- endif %}
+ {%- if 'interface-options' in nets['tenant']['nic_mapping'][role] %}
+ options: '{{ nets['tenant']['nic_mapping'][role]['interface-options'] }}'
+ {%- endif %}
use_dhcp: false
addresses:
-