summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-03-16 14:22:52 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-16 14:22:52 +0000
commita008f8394e07f1b82d5bf7288f46c63252f6084f (patch)
treece8606a3a63de90b7e0b31bc69920a98c70ca1c9 /lib
parent29367db39d60da9ba839e0ee2254b164fd43e2a1 (diff)
parent974993a17188f10acd6a1f9b2f48002b9c77ef24 (diff)
Merge "Adding SRIOV scenario"
Diffstat (limited to 'lib')
-rw-r--r--lib/ansible/playbooks/configure_undercloud.yml5
-rw-r--r--lib/ansible/playbooks/deploy_overcloud.yml6
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