Allow VMs to access internet 03/52203/9
authorJohn O Loughlin <john.oloughlin@intel.com>
Thu, 15 Feb 2018 18:24:52 +0000 (18:24 +0000)
committerJohn O'Loughlin <john.oloughlin@intel.com>
Tue, 6 Mar 2018 08:52:20 +0000 (08:52 +0000)
commit33189462c6fd60496ae1afec093fb9803d23a18b
tree141775861de3e39dcf5aa8f706c150b8acd8b931
parent44f31bf01c787501d0c077730d4b76bb02a3faaf
Allow VMs to access internet

Add option to the config file for default network.
Check to see if 1 default network is defined.
Enable nat on all defined networks.
Add default gateway to VM

JIRA: YARDSTICK-1016

Change-Id: Ie943a7c7b4f1a9673774cf8fedaba0af352cd7f4
Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
ansible/roles/infra_check_requirements/tasks/main.yml
ansible/roles/infra_create_network/tasks/create_xml.yml [moved from ansible/roles/infra_create_network/tasks/create_xml.yaml with 85% similarity]
ansible/roles/infra_create_network/tasks/main.yml
ansible/roles/infra_create_vms/tasks/configure_vm.yml
ansible/roles/infra_create_vms/tasks/create_interfaces.yml
ansible/roles/infra_create_vms/tasks/main.yml
etc/infra/infra_deploy.yaml.sample