summaryrefslogtreecommitdiffstats
path: root/build/nics-template.yaml.jinja2
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-02-18 14:47:08 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-18 14:47:08 +0000
commitda0d8e06bb9a55fb9b15b34cabb19c681667d383 (patch)
treeff9e2ff0b8f9d62111d33d2b7fec7bd22775b466 /build/nics-template.yaml.jinja2
parent645949cbac2bb766d18dfd9f818b6c14545a35e2 (diff)
parentc7e6d15b4d2570c7f9d2bc8dcfc57d8a68fede71 (diff)
Merge "Add support for odl-fdio scenario"
Diffstat (limited to 'build/nics-template.yaml.jinja2')
-rw-r--r--build/nics-template.yaml.jinja25
1 files changed, 4 insertions, 1 deletions
diff --git a/build/nics-template.yaml.jinja2 b/build/nics-template.yaml.jinja2
index c7d0a1b8..920e9a1b 100644
--- a/build/nics-template.yaml.jinja2
+++ b/build/nics-template.yaml.jinja2
@@ -174,8 +174,11 @@ resources:
use_dhcp: false
{%- else %}
-
- type: interface
+ type: {{ nets['tenant']['nic_mapping'][role]['phys_type'] }}
name: {{ nets['tenant']['nic_mapping'][role]['members'][0] }}
+ {%- if 'uio_driver' in nets['tenant']['nic_mapping'][role] %}
+ uio_driver: {{ nets['tenant']['nic_mapping'][role]['uio_driver'] }}
+ {%- endif %}
use_dhcp: false
addresses:
-