diff options
author | Ricardo Noriega <rnoriega@redhat.com> | 2018-02-12 12:58:14 +0100 |
---|---|---|
committer | Ricardo Noriega <rnoriega@redhat.com> | 2018-03-15 21:12:34 +0100 |
commit | 974993a17188f10acd6a1f9b2f48002b9c77ef24 (patch) | |
tree | 8c269c3fe710f6687bcbf6a0a45f3a3112db06da /lib/ansible/playbooks | |
parent | 67e7b3c76402445d7e62d5953d661794ec1f7c6d (diff) |
Adding SRIOV scenario
This scenario should enable SRIOV interfaces to be used
by Neutron. Only will be supported in baremetal deployments
with SRIOV capable NICs. The name of the interface must
be known in advance and the physnet of the SRIOV network
is set as nfv_sriov.
Change-Id: Ie4295413e0be2197bd9ada4f887f6b47cd486765
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Diffstat (limited to 'lib/ansible/playbooks')
-rw-r--r-- | lib/ansible/playbooks/configure_undercloud.yml | 5 | ||||
-rw-r--r-- | lib/ansible/playbooks/deploy_overcloud.yml | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/lib/ansible/playbooks/configure_undercloud.yml b/lib/ansible/playbooks/configure_undercloud.yml index e9ce8754..9ef0d883 100644 --- a/lib/ansible/playbooks/configure_undercloud.yml +++ b/lib/ansible/playbooks/configure_undercloud.yml @@ -148,6 +148,11 @@ src: /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml dest: "{{ apex_temp_dir }}/" flat: yes + - name: fetch sriov environment file + fetch: + src: /usr/share/openstack-tripleo-heat-templates/environments/neutron-opendaylight-sriov.yaml + dest: "{{ apex_temp_dir }}/" + flat: yes - include: undercloud_aarch64.yml when: aarch64 diff --git a/lib/ansible/playbooks/deploy_overcloud.yml b/lib/ansible/playbooks/deploy_overcloud.yml index aa3d8067..268a5173 100644 --- a/lib/ansible/playbooks/deploy_overcloud.yml +++ b/lib/ansible/playbooks/deploy_overcloud.yml @@ -30,6 +30,12 @@ owner: root group: root mode: 0664 + - copy: + src: "{{ apex_temp_dir }}/neutron-opendaylight-sriov.yaml" + dest: /usr/share/openstack-tripleo-heat-templates/environments/neutron-opendaylight-sriov.yaml + owner: root + group: root + mode: 0664 - systemd: name: openstack-swift-proxy state: restarted |