aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2017-04-27 15:35:10 +0200
committerMatej Klotton <mklotton@cisco.com>2017-04-28 07:13:33 +0000
commit2f236008c380e047445fcfbf632393c51c70cdbd (patch)
tree555e2f1d8f96f61c192e8bc353e71b034012b31a /resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
parent22f693fb7e67683df3e87791c54c7b48d4e12a0e (diff)
Update ansible playbooks VIRL setup
Change-Id: I704991c65dc5fc9ce40ade932cab104fa468696c Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml')
-rw-r--r--resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml b/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
index 59bcfe9d65..d8e25894a4 100644
--- a/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
+++ b/resources/tools/testbed-setup/playbooks/03-virl-post-install.yaml
@@ -17,10 +17,18 @@
shell: ln -s /nfs/scratch /scratch
args:
creates: /scratch
- - name: upate Nova CPU mode
+ - name: Patch nova scripts
+ patch:
+ src: ./files/nova_os_ip.patch
+ basedir: /usr/lib/python2.7/dist-packages/nova
+ - name: Upate Nova CPU mode
ini_file: dest=/etc/nova/nova.conf section=libvirt option=cpu_mode value=host-passthrough
- name: Restart nova-compute service
service: name=nova-compute state=restarted
+ - name: Upate Neutron bridge ageing time
+ ini_file: dest=/etc/neutron/neutron.conf section=DEFAULT option=network_bridge_ageing value=0
+ - name: Restart neutron-linuxbridge-agent service
+ service: name=neutron-linuxbridge-agent state=restarted
- name: Permit SSH user environment
lineinfile: dest=/etc/ssh/sshd_config state=present regexp='PermitUserEnvironment.*' line='PermitUserEnvironment yes'
- name: Restart SSH daemon