diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-07-07 15:11:42 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-07-07 15:11:42 +0800 |
commit | 941dbfc2ebd8a7e4c7c12e6a83c793cb4cca3695 (patch) | |
tree | 8089a779e83ce36e00142339ae7e1a1400587128 /labs/zte/virtual1/daisy/config | |
parent | dba4dcb6281bf2416d3da455c252074b5866868a (diff) |
enable HA deployment in zte-pods for daisy
Change-Id: I0e72702540309b70afcd752b6f6442218fbf9d75
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
Diffstat (limited to 'labs/zte/virtual1/daisy/config')
-rw-r--r-- | labs/zte/virtual1/daisy/config/deploy.yml | 16 | ||||
-rw-r--r-- | labs/zte/virtual1/daisy/config/network.yml | 12 |
2 files changed, 18 insertions, 10 deletions
diff --git a/labs/zte/virtual1/daisy/config/deploy.yml b/labs/zte/virtual1/daisy/config/deploy.yml index 6197de9..e80d031 100644 --- a/labs/zte/virtual1/daisy/config/deploy.yml +++ b/labs/zte/virtual1/daisy/config/deploy.yml @@ -4,19 +4,19 @@ hosts: roles: - 'CONTROLLER_LB' template: 'templates/virtual_environment/vms/controller.xml' -- name: 'computer01' +- name: 'controller02' roles: - - 'COMPUTER' - template: 'templates/virtual_environment/vms/computer.xml' -- name: 'computer02' + - 'CONTROLLER_LB' + template: 'templates/virtual_environment/vms/controller.xml' +- name: 'controller03' roles: - - 'COMPUTER' - template: 'templates/virtual_environment/vms/computer.xml' -- name: 'computer03' + - 'CONTROLLER_LB' + template: 'templates/virtual_environment/vms/controller.xml' +- name: 'computer01' roles: - 'COMPUTER' template: 'templates/virtual_environment/vms/computer.xml' -- name: 'computer04' +- name: 'computer02' roles: - 'COMPUTER' template: 'templates/virtual_environment/vms/computer.xml' diff --git a/labs/zte/virtual1/daisy/config/network.yml b/labs/zte/virtual1/daisy/config/network.yml index ac61c8b..b2e8773 100644 --- a/labs/zte/virtual1/daisy/config/network.yml +++ b/labs/zte/virtual1/daisy/config/network.yml @@ -11,8 +11,8 @@ network-config-metadata: title: 'zte-virtual1 network config' version: '0.1' - created: 'Mon Oct 31 2016' - comment: + created: 'Tue Apr 11 2017' + comment: 'five vm node deploy' networks: - cidr: '10.20.11.0/24' gateway: '10.20.11.1' @@ -46,6 +46,12 @@ networks: - start: '10.20.11.3' end: '10.20.11.10' name: 'TENANT' + - cidr: '100.20.11.0/24' + gateway: '100.20.11.1' + ip_ranges: + - start: '100.20.11.3' + end: '100.20.11.10' + name: 'HEARTBEAT' interfaces: - name: 'EXTERNAL' interface: 'ens8' @@ -57,5 +63,7 @@ interfaces: interface: 'ens3' - name: 'TENANT' interface: 'ens3' + - name: 'HEARTBEAT' + interface: 'ens9' internal_vip: '10.20.11.11' public_vip: '10.20.11.11' |