From 5570dd8fa1c7f6b99c3127f852f7f991f7b3a4fa Mon Sep 17 00:00:00 2001 From: Julien Date: Mon, 6 Feb 2017 17:28:18 +0800 Subject: Add labs for daisy including: pod2 and virtual1 and vitual2 JIRA: DAISY-40 Change-Id: Ia62ed654c52843410b94bf7042e782653ff2830c Signed-off-by: Julien --- labs/zte/pod2/daisy/config/deploy.yml | 43 ++++++++++++++++++++ labs/zte/pod2/daisy/config/network.yml | 73 ++++++++++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 labs/zte/pod2/daisy/config/deploy.yml create mode 100644 labs/zte/pod2/daisy/config/network.yml (limited to 'labs/zte/pod2/daisy') 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' -- cgit 1.2.3-korg