diff options
author | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2020-06-18 15:44:38 +0200 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-07-30 09:04:04 +0000 |
commit | 7fb280374d17a2fae222e82aab0778604fec2ea2 (patch) | |
tree | 32ce08e2176ccf9475fcca9341f9ef32d96ce965 /deployment/noheat/infra-openstack/ansible | |
parent | a9d951ec124279e0f89dae48f29ef41345262c73 (diff) |
Add hosts configuration for Service Mesh ONAP
Added configuration resembles set of instances already in use for
Service Mesh Proof-of-Concept purposes. Floating IPs were disabled on
Worker and NFS nodes to limit resource usage.
Issue-ID: INT-1601
Change-Id: Ie575c37344da21e71a8e0803e2e5bd2db18d9290
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'deployment/noheat/infra-openstack/ansible')
-rw-r--r-- | deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap | 53 | ||||
-rw-r--r-- | deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml | 1 |
2 files changed, 54 insertions, 0 deletions
diff --git a/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap new file mode 100644 index 000000000..6e95fdf33 --- /dev/null +++ b/deployment/noheat/infra-openstack/ansible/group_vars/all.yml.sm-onap @@ -0,0 +1,53 @@ +--- +network: + name: &network_name "onap_ci_lab" + cidr: "192.168.1.0/24" + +keypair: + name: &keypair_name "onap_ci_lab" + +securitygroup: + name: &securitygroup_name "onap_ci_lab" + remote_ip_prefix: "0.0.0.0/0" + +hosts: + - name: "operator0" + image: "Ubuntu_18.04" + flavor: "m1.xlarge" + keypair: *keypair_name + network: *network_name + securitygroup: *securitygroup_name + - name: "control0" + image: "Ubuntu_18.04" + flavor: "m1.xlarge" + keypair: *keypair_name + network: *network_name + securitygroup: *securitygroup_name + - name: "worker0a" + image: "Ubuntu_18.04" + flavor: "m1.2xlarge" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name + - name: "worker0b" + image: "Ubuntu_18.04" + flavor: "m1.2xlarge" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name + - name: "worker0c" + image: "Ubuntu_18.04" + flavor: "m1.2xlarge" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name + - name: "nfs0" + image: "Ubuntu_18.04" + flavor: "m1.large" + keypair: *keypair_name + network: *network_name + auto_ip: false + securitygroup: *securitygroup_name diff --git a/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml b/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml index c164d7144..4c6759fd7 100644 --- a/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml +++ b/deployment/noheat/infra-openstack/ansible/roles/openstack/create_devstack_hosts/tasks/create_host.yml @@ -9,3 +9,4 @@ network: "{{ host.network }}" security_groups: - "{{ host.securitygroup }}" + auto_ip: "{{ host.auto_ip | default(true) }}" |