diff options
author | Manuel Buil <mbuil@suse.com> | 2018-10-08 11:51:34 +0200 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2018-10-12 22:36:08 +0200 |
commit | 2435b4034bd55dd144af7b65c01feb41898a9640 (patch) | |
tree | 7a4a9fdd0ad53665a4fb75c454b5b302d073bf41 /xci/playbooks/roles/prepare-tests/defaults | |
parent | dd7fb5f6ac6dc11027f3d916deaa86504f489197 (diff) |
Simplify external networking for os
We were right now creating an overlay network with gateway in the opnfv
vm. This makes floating ips work but if we need internet connection from
vms, things get complicated and messy.
As we are only using up to 7 ips from the 192.168.122.0/24, we can
consider it the provider network for openstack and use ips starting from
192.168.122.100 as floating ips or ips for routing (doing SNAT as
always)
Change-Id: I09af663069ae95a9d265d98f1531778eb37134e2
Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'xci/playbooks/roles/prepare-tests/defaults')
-rw-r--r-- | xci/playbooks/roles/prepare-tests/defaults/main.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xci/playbooks/roles/prepare-tests/defaults/main.yml b/xci/playbooks/roles/prepare-tests/defaults/main.yml index a3638302..7002586c 100644 --- a/xci/playbooks/roles/prepare-tests/defaults/main.yml +++ b/xci/playbooks/roles/prepare-tests/defaults/main.yml @@ -1,8 +1,8 @@ --- # Gateway parameters -gateway_ip: "10.10.10.1" -gateway_ip_mask: "10.10.10.1/24" -broadcast_ip: "10.10.10.255" +gateway_ip: "192.168.122.1" +gateway_ip_mask: "192.168.122.1/24" +broadcast_ip: "192.168.122.255" gateway_interface: "br-vlan" # Network parameters @@ -10,5 +10,5 @@ external_network: "ext-net" # Subnet parameters subnet_name: "ext-subnet" -allocation_pool: "start=10.10.10.5,end=10.10.10.254" -subnet_cidr: "10.10.10.0/24" +allocation_pool: "start=192.168.122.100,end=192.168.122.254" +subnet_cidr: "192.168.122.0/24" |