diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2017-02-06 17:28:18 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2017-02-12 00:43:41 +0800 |
commit | 5570dd8fa1c7f6b99c3127f852f7f991f7b3a4fa (patch) | |
tree | bda2a14a8e9962758ccb04dafca80fc6a6e143ea /labs/zte/pod2/daisy | |
parent | 3f54bf30c4c94b99ef9bdf87ffbaf646bea6e5d7 (diff) |
Add labs for daisy
including:
pod2 and virtual1 and vitual2
JIRA: DAISY-40
Change-Id: Ia62ed654c52843410b94bf7042e782653ff2830c
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'labs/zte/pod2/daisy')
-rw-r--r-- | labs/zte/pod2/daisy/config/deploy.yml | 43 | ||||
-rw-r--r-- | labs/zte/pod2/daisy/config/network.yml | 73 |
2 files changed, 116 insertions, 0 deletions
diff --git a/labs/zte/pod2/daisy/config/deploy.yml b/labs/zte/pod2/daisy/config/deploy.yml new file mode 100644 index 0000000..82a2fe1 --- /dev/null +++ b/labs/zte/pod2/daisy/config/deploy.yml @@ -0,0 +1,43 @@ +hosts: +- name: 'node1' + roles: + - 'CONTROLLER_LB' + ipmi: + ip: 192.168.1.106 + user: zteroot + password: superuser +- name: 'node2' + roles: + - 'CONTROLLER_LB' + ipmi: + ip: 192.168.1.107 + user: zteroot + password: superuser +- name: 'node3' + roles: + - 'CONTROLLER_LB' + ipmi: + ip: 192.168.1.108 + user: zteroot + password: superuser +- name: 'node4' + roles: + - 'COMPUTER' + ipmi: + ip: 192.168.1.109 + user: zteroot + password: superuser +- name: 'node5' + roles: + - 'COMPUTER' + ipmi: + ip: 192.168.1.110 + user: zteroot + password: superuser +disks: + daisy: 50 + controller: 50 + compute: 50 +daisy_passwd: 'r00tme' +daisy_ip: '10.20.7.2' +daisy_gateway: '10.20.7.1' diff --git a/labs/zte/pod2/daisy/config/network.yml b/labs/zte/pod2/daisy/config/network.yml new file mode 100644 index 0000000..dcdc274 --- /dev/null +++ b/labs/zte/pod2/daisy/config/network.yml @@ -0,0 +1,73 @@ +############################################################################## +# Copyright (c) 2017 ZTE Coreporation and others. +# hu.zhijiang@zte.com.cn +# sun.jing22@zte.com.cn +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +############################################################################## +# Description +# MANAGEMENT: used for PXE, no vlan used +# SOTRAGE: used for storage access +# EXTERNAL: tenant public/floating IP associated network, +# requires a dedicated interface +# PUBLICAPI: used for horizon access, openstack API access +# TENANT: used for tenant access, vlan and VxLan supported, default VxLan +############################################################################## +network-config-metadata: + title: 'Deployment Adapter for baremetal POD' + version: '0.1' + created: 'Feb 2 2017' + comment: 'For Daisy initial' +networks: + - cidr: '192.168.71.0/24' + gateway: '192.168.71.1' + ip_ranges: + - 'start': '192.168.71.1' + 'end': '192.168.71.254' + vlan: null + name: 'MANAGEMENT' + - cidr: '192.168.72.0/24' + gateway: '192.168.72.1' + ip_ranges: + - 'start': '192.168.72.1' + 'end': '192.168.72.254' + vlan: 172 + name: 'STORAGE' + - cidr: '172.70.0.0/24' + gateway: '172.70.0.0' + ip_ranges: + - 'start': '172.70.0.1' + 'end': '172.70.0.100' + vlan: 173 + 'name': 'EXTERNAL' + - cidr: '10.20.7.0/24' + gateway: '10.20.7.1' + ip_ranges: + - 'start': '10.20.7.20' + 'end': '10.20.7.200' + vlan: 171 + name: 'PUBLICAPI' + - cidr: '192.168.73.0/24' + gateway: '192.168.73.1' + ip_ranges: + - 'start': '192.168.73.1' + 'end': '192.168.73.254' + vlan: 1130 + name: 'TENANT' +interfaces: + - name: 'EXTERNAL' + interface: 'ens44f1' + - name: 'MANAGEMENT' + interface: 'ens4f0' + - name: 'PUBLICAPI' + interface: 'ens12f0' + - name: 'STORAGE' + interface: 'ens12f1' + - name: 'TENANT' + interface: 'ens44f0' +internal_vip: '192.168.71.4' +public_vip: '10.20.7.11' |