aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/conf/hardware_environment
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-11-02 23:23:52 -0800
committerbaigk <baiguoku@huawei.com>2015-11-03 08:47:58 -0800
commitffb507c689826bb57647004f24ba8f8b8b21b758 (patch)
tree083a78d116ce981e28d61ebda3b12de82fe5d552 /deploy/conf/hardware_environment
parent9e28b43af14bdaa4693b3d05a043ff6cdb797fbf (diff)
Create Deployment Hardware Adapter (DHA) file for compass
JIRA: COMPASS-132 Change-Id: I8e3f73b93acd8dae9f40dd43548679bc2eb1ea3c Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'deploy/conf/hardware_environment')
-rw-r--r--deploy/conf/hardware_environment/huawei_us_lab/pod1/dha.yml42
-rw-r--r--deploy/conf/hardware_environment/huawei_us_lab/pod1/network.yml90
2 files changed, 132 insertions, 0 deletions
diff --git a/deploy/conf/hardware_environment/huawei_us_lab/pod1/dha.yml b/deploy/conf/hardware_environment/huawei_us_lab/pod1/dha.yml
new file mode 100644
index 00000000..0d5e9b40
--- /dev/null
+++ b/deploy/conf/hardware_environment/huawei_us_lab/pod1/dha.yml
@@ -0,0 +1,42 @@
+
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: ipmitool
+
+ipmiUser: root
+ipmiPass: root
+ipmiVer: '2.0'
+
+hosts:
+ - name: host1
+ mac: '80:FB:06:35:8C:84'
+ ipmiIp: 10.145.140.201
+ roles:
+ - controller
+ - ha
+
+ - name: host2
+ mac: '4C:B1:6C:90:57:CF'
+ ipmiIp: 10.145.140.202
+ roles:
+ - controller
+ - ha
+
+ - name: host3
+ mac: '4C:B1:6C:90:57:E4'
+ ipmiIp: 10.145.140.203
+ roles:
+ - controller
+ - ha
+
+ - name: host4
+ mac: '4C:B1:6C:90:57:D8'
+ ipmiIp: 10.145.140.204
+ roles:
+ - compute
+
+ - name: host5
+ mac: '4C:B1:6C:90:57:D2'
+ ipmiIp: 10.145.140.205
+ roles:
+ - compute
diff --git a/deploy/conf/hardware_environment/huawei_us_lab/pod1/network.yml b/deploy/conf/hardware_environment/huawei_us_lab/pod1/network.yml
new file mode 100644
index 00000000..38e5b6e8
--- /dev/null
+++ b/deploy/conf/hardware_environment/huawei_us_lab/pod1/network.yml
@@ -0,0 +1,90 @@
+nic_mappings: []
+bond_mappings: []
+
+provider_net_mappings:
+ - name: br-prv
+ network: physnet
+ interface: eth1
+ type: ovs
+ role:
+ - controller
+ - compute
+
+sys_intf_mappings:
+ - name: mgmt
+ interface: eth1
+ vlan_tag: 101
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ interface: eth1
+ vlan_tag: 102
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: external
+ interface: br-prv
+ vlan_tag: 1411
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ip_settings:
+ - name: mgmt
+ ip_ranges:
+ - - "172.16.1.1"
+ - "172.16.1.254"
+ cidr: "172.16.1.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ ip_ranges:
+ - - "172.16.2.1"
+ - "172.16.2.254"
+ cidr: "172.16.2.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: external
+ ip_ranges:
+ - - "10.145.140.100"
+ - "10.145.140.110"
+ cidr: "10.145.140.0/23"
+ gw: "10.145.140.1"
+ role:
+ - controller
+ - compute
+
+internal_vip:
+ ip: 172.16.1.222
+ netmask: "24"
+ interface: mgmt
+
+public_vip:
+ ip: 10.145.140.111
+ netmask: "23"
+ interface: external
+
+public_net_info:
+ enable: False
+ network: ext-net
+ type: vlan
+ segment_id: 1000
+ subnet: ext-subnet
+ provider_network: physnet
+ router: router-ext
+ enable_dhcp: False
+ no_gateway: False
+ external_gw: "192.168.50.1"
+ floating_ip_cidr: "192.168.50.0/24"
+ floating_ip_start: "192.168.50.221"
+ floating_ip_end: "192.168.50.231"