summaryrefslogtreecommitdiffstats
path: root/labs/zte/pod2
diff options
context:
space:
mode:
authoragardner <agardner@linuxfoundation.org>2017-12-01 16:46:35 -0500
committeragardner <agardner@linuxfoundation.org>2017-12-01 17:03:25 -0500
commitb0617530e5b00ae85a1b3d00519afbd942a53539 (patch)
tree6ede94c28b7435e08783c6554b345472bb78c095 /labs/zte/pod2
parent202aa48939dd66ff312027e90ee854095b066f52 (diff)
Moving all pdfs to pharos repo
Note: Also fixed yamllint issues with these files Inline encrytion of yaml files allows us to make away with securedlab's restrictions. Going forward, anyone will be able to see Lab PDFs See: https://github.com/opnfv/pharos/blob/master/config/utils/README.eyaml.rst If you are the reviewer on this changeset it is becasue git blamed showed you to be the author of the pdf in this review. Encrypting ipmi password etc is optional. I have scrubbed the password from this change. If you do not need the password to be hidden, please let me know in the comment, and I will put it back. If you do need the password hidden, please follow the readme above and ammend this patch to include the encrypted value that you create on your pods jumphost. Passwords and Usernames removed: $ egrep -r '(pass|user)' zte/pod2/daisy/config/deploy.yml: ipmi_user: zte/pod2/daisy/config/deploy.yml: ipmi_pass: zte/pod2/daisy/config/deploy.yml: ipmi_user: zte/pod2/daisy/config/deploy.yml: ipmi_pass: zte/pod2/daisy/config/deploy.yml: ipmi_user: zte/pod2/daisy/config/deploy.yml: ipmi_pass: zte/pod2/daisy/config/deploy.yml: ipmi_user: zte/pod2/daisy/config/deploy.yml: ipmi_pass: zte/pod2/daisy/config/deploy.yml: ipmi_user: zte/pod2/daisy/config/deploy.yml: ipmi_pass: zte/pod2/daisy/config/deploy.yml:daisy_passwd: '' zte/virtual1/daisy/config/deploy.yml:daisy_passwd: '' zte/pod3.yaml: user: zte/pod3.yaml: pass: zte/pod3/daisy/config/deploy.yml: ipmi_user: zte/pod3/daisy/config/deploy.yml: ipmi_pass: zte/pod3/daisy/config/deploy.yml: ipmi_user: zte/pod3/daisy/config/deploy.yml: ipmi_pass: zte/pod3/daisy/config/deploy.yml: ipmi_user: zte/pod3/daisy/config/deploy.yml: ipmi_pass: zte/pod3/daisy/config/deploy.yml: ipmi_user: zte/pod3/daisy/config/deploy.yml: ipmi_pass: zte/pod3/daisy/config/deploy.yml: ipmi_user: zte/pod3/daisy/config/deploy.yml: ipmi_pass: zte/pod3/daisy/config/deploy.yml:daisy_passwd: '' zte/pod1.yaml: user: zte/pod1.yaml: pass: zte/virtual2/daisy/config/deploy.yml:daisy_passwd: '' zte/pod2.yaml: user: zte/pod2.yaml: pass: lf/pod2.yaml: user: > Change-Id: I876f4b553c51dd4592701539cfce66bcf8c114ab Signed-off-by: agardner <agardner@linuxfoundation.org>
Diffstat (limited to 'labs/zte/pod2')
-rw-r--r--labs/zte/pod2/daisy/config/deploy.yml78
-rw-r--r--labs/zte/pod2/daisy/config/network.yml85
2 files changed, 163 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 00000000..5b74dade
--- /dev/null
+++ b/labs/zte/pod2/daisy/config/deploy.yml
@@ -0,0 +1,78 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation 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
+##############################################################################
+---
+adapter: ipmi
+hosts:
+ - name: 'controller01'
+ roles:
+ - 'CONTROLLER_LB'
+ ipmi_ip: 192.168.1.106
+ ipmi_user:
+ ipmi_pass:
+ mac_addresses:
+ - 74:4a:a4:00:cd:72
+ - 74:4a:a4:00:b0:e9
+ - 74:4a:a4:00:b0:ea
+ - 74:4a:a4:00:b0:eb
+ - 74:4a:a4:00:b0:ec
+ - name: 'controller02'
+ roles:
+ - 'CONTROLLER_LB'
+ ipmi_ip: 192.168.1.107
+ ipmi_user:
+ ipmi_pass:
+ mac_addresses:
+ - 74:4a:a4:00:ca:cc
+ - 74:4a:a4:00:d6:a3
+ - 74:4a:a4:00:d6:a4
+ - 74:4a:a4:00:d6:99
+ - 74:4a:a4:00:d6:9a
+ - name: 'controller03'
+ roles:
+ - 'CONTROLLER_LB'
+ ipmi_ip: 192.168.1.108
+ ipmi_user:
+ ipmi_pass:
+ mac_addresses:
+ - 74:4a:a4:00:cd:12
+ - 74:4a:a4:00:d6:9d
+ - 74:4a:a4:00:d6:9e
+ - 74:4a:a4:00:d3:15
+ - 74:4a:a4:00:d3:16
+ - name: 'computer01'
+ roles:
+ - 'COMPUTER'
+ ipmi_ip: 192.168.1.109
+ ipmi_user:
+ ipmi_pass:
+ mac_addresses:
+ - 74:4a:a4:00:cf:40
+ - 74:4a:a4:00:d6:a5
+ - 74:4a:a4:00:d6:a6
+ - 74:4a:a4:00:d6:a7
+ - 74:4a:a4:00:d6:a8
+ - name: 'computer02'
+ roles:
+ - 'COMPUTER'
+ ipmi_ip: 192.168.1.110
+ ipmi_user:
+ ipmi_pass:
+ mac_addresses:
+ - 74:4a:a4:00:ce:d4
+ - 74:4a:a4:00:d2:c3
+ - 74:4a:a4:00:d2:c4
+ - 74:4a:a4:00:d2:c1
+ - 74:4a:a4:00:d2:c2
+disks:
+ daisy: 50
+daisy_passwd: ''
+daisy_ip: '10.20.7.3'
+daisy_gateway: '10.20.7.1'
+ceph_disk_name: '/dev/sdb'
diff --git a/labs/zte/pod2/daisy/config/network.yml b/labs/zte/pod2/daisy/config/network.yml
new file mode 100644
index 00000000..739d1a4f
--- /dev/null
+++ b/labs/zte/pod2/daisy/config/network.yml
@@ -0,0 +1,85 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation 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, 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.2'
+ 'end': '192.168.71.254'
+ vlan_id: 171
+ name: 'MANAGEMENT'
+ - cidr: '192.168.72.0/24'
+ gateway: '192.168.72.1'
+ ip_ranges:
+ - 'start': '192.168.72.2'
+ 'end': '192.168.72.254'
+ vlan_id: 172
+ name: 'STORAGE'
+ - cidr: '172.70.0.0/24'
+ gateway: '172.70.0.1'
+ ip_ranges:
+ - 'start': '172.70.0.2'
+ 'end': '172.70.0.100'
+ vlan_id: 173
+ 'name': 'EXTERNAL'
+ network_name: 'admin_external'
+ mapping: 'physnet1'
+ - cidr: '192.168.71.0/24'
+ gateway: '192.168.71.1'
+ ip_ranges:
+ - 'start': '192.168.71.2'
+ 'end': '192.168.71.254'
+ vlan_id: 171
+ name: 'PUBLICAPI'
+ - cidr: '192.168.73.0/24'
+ gateway: '192.168.73.1'
+ ip_ranges:
+ - 'start': '192.168.73.2'
+ 'end': '192.168.73.254'
+ vlan_id: 1130
+ name: 'TENANT'
+ - cidr: '10.20.7.0/24'
+ gateway: '10.20.7.1'
+ ip_ranges:
+ - 'start': '10.20.7.20'
+ 'end': '10.20.7.200'
+ vlan_id: null
+ name: 'HEARTBEAT'
+interfaces:
+ - name: 'EXTERNAL'
+ interface: 'ens44f1'
+ - name: 'MANAGEMENT'
+ interface: 'ens12f0'
+ - name: 'PUBLICAPI'
+ interface: 'ens12f0'
+ - name: 'STORAGE'
+ interface: 'ens12f1'
+ - name: 'TENANT'
+ interface: 'ens44f0'
+ - name: 'HEARTBEAT'
+ interface: 'ens4f0'
+internal_vip: '192.168.71.10'
+public_vip: '10.20.7.11'