summaryrefslogtreecommitdiffstats
path: root/etc/infra/infra_deploy.yaml.sample
diff options
context:
space:
mode:
authorJohn O Loughlin <john.oloughlin@intel.com>2018-02-15 18:24:52 +0000
committerJohn O'Loughlin <john.oloughlin@intel.com>2018-03-06 08:52:20 +0000
commit33189462c6fd60496ae1afec093fb9803d23a18b (patch)
tree141775861de3e39dcf5aa8f706c150b8acd8b931 /etc/infra/infra_deploy.yaml.sample
parent44f31bf01c787501d0c077730d4b76bb02a3faaf (diff)
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>
Diffstat (limited to 'etc/infra/infra_deploy.yaml.sample')
-rw-r--r--etc/infra/infra_deploy.yaml.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/infra/infra_deploy.yaml.sample b/etc/infra/infra_deploy.yaml.sample
index bf07a01bc..8ed793622 100644
--- a/etc/infra/infra_deploy.yaml.sample
+++ b/etc/infra/infra_deploy.yaml.sample
@@ -31,5 +31,11 @@ nodes:
networks:
- name: management
+ default_gateway: True
host_ip: 192.168.1.1
netmask: 255.255.255.0
+
+ - name: traffic
+ default_gateway: False # This parameter is not mandatory, default value: False
+ host_ip: 192.20.1.1
+ netmask: 255.255.255.0