aboutsummaryrefslogtreecommitdiffstats
path: root/installers/compass4nfv
diff options
context:
space:
mode:
Diffstat (limited to 'installers/compass4nfv')
-rw-r--r--installers/compass4nfv/network.yml.j2100
-rw-r--r--installers/compass4nfv/network_ocl.yml.j2100
-rw-r--r--installers/compass4nfv/network_onos.yml.j2100
-rw-r--r--installers/compass4nfv/network_openo.yml.j2105
-rw-r--r--installers/compass4nfv/os-nosdn-nofeature-ha.yml.j277
-rw-r--r--installers/compass4nfv/os-nosdn-openo-ha.yml.j285
-rw-r--r--installers/compass4nfv/os-ocl-nofeature-ha.yml.j276
-rw-r--r--installers/compass4nfv/os-odl_l2-moon-ha.yml.j279
-rw-r--r--installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j280
-rw-r--r--installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j281
-rw-r--r--installers/compass4nfv/os-onos-nofeature-ha.yml.j279
-rw-r--r--installers/compass4nfv/os-onos-sfc-ha.yml.j281
12 files changed, 1043 insertions, 0 deletions
diff --git a/installers/compass4nfv/network.yml.j2 b/installers/compass4nfv/network.yml.j2
new file mode 100644
index 0000000..2ede083
--- /dev/null
+++ b/installers/compass4nfv/network.yml.j2
@@ -0,0 +1,100 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+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: eth3
+ vlan_tag: {{ conf['nodes'][0]['interfaces'][2]['vlan'] }} #not a good fit
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ interface: eth2
+ vlan_tag: 804
+ type: {{ conf['nodes'][0]['interfaces'][1]['vlan'] }} #not a good fit
+ role:
+ - controller
+ - compute
+
+ - name: external
+ interface: br-prv
+ type: ovs
+ role:
+ - controller
+ - compute
+
+ip_settings:
+ - name: mgmt
+ ip_ranges:
+ - - "10.8.14.10"
+ - "10.8.14.30"
+ cidr: "10.8.14.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ ip_ranges:
+ - - "10.8.12.10"
+ - "10.8.12.30"
+ cidr: "10.8.12.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: external
+ ip_ranges:
+ - - "10.8.15.10"
+ - "10.8.15.30"
+ cidr: "10.8.15.0/24"
+ gw: "10.8.15.1"
+ role:
+ - controller
+ - compute
+
+internal_vip:
+ ip: 10.8.14.222
+ netmask: "24"
+ interface: mgmt
+
+public_vip:
+ ip: 10.8.15.222
+ netmask: "24"
+ interface: external
+
+onos_nic: eth4
+public_net_info:
+ enable: "True"
+ network: ext-net
+ type: flat
+ segment_id: 10
+ subnet: ext-subnet
+ provider_network: physnet
+ router: router-ext
+ enable_dhcp: "False"
+ no_gateway: "False"
+ external_gw: "10.8.15.1"
+ floating_ip_cidr: "10.8.15.0/24"
+ floating_ip_start: "10.8.15.100"
+ floating_ip_end: "10.8.15.200"
diff --git a/installers/compass4nfv/network_ocl.yml.j2 b/installers/compass4nfv/network_ocl.yml.j2
new file mode 100644
index 0000000..68144b6
--- /dev/null
+++ b/installers/compass4nfv/network_ocl.yml.j2
@@ -0,0 +1,100 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+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: eth3
+ vlan_tag: {{ conf['nodes'][0]['interfaces'][2]['vlan'] }} #not a good fit
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ interface: eth2
+ vlan_tag: {{ conf['nodes'][0]['interfaces'][1]['vlan'] }}
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: external
+ interface: br-prv
+ type: ovs
+ role:
+ - controller
+ - compute
+
+ip_settings:
+ - name: mgmt
+ ip_ranges:
+ - - "10.8.14.10"
+ - "10.8.14.30"
+ cidr: "10.8.14.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ ip_ranges:
+ - - "10.8.12.10"
+ - "10.8.12.30"
+ cidr: "10.8.12.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: external
+ ip_ranges:
+ - - "10.8.15.10"
+ - "10.8.15.30"
+ cidr: "10.8.15.0/24"
+ gw: "10.8.15.1"
+ role:
+ - controller
+ - compute
+
+internal_vip:
+ ip: 10.8.14.222
+ netmask: "24"
+ interface: mgmt
+
+public_vip:
+ ip: 10.8.15.222
+ netmask: "24"
+ interface: external
+
+onos_nic: eth4
+public_net_info:
+ enable: "True"
+ network: ext-net
+ type: flat
+ segment_id: 10
+ subnet: ext-subnet
+ provider_network: physnet
+ router: router-ext
+ enable_dhcp: "False"
+ no_gateway: "False"
+ external_gw: "10.8.15.1"
+ floating_ip_cidr: "10.8.15.0/24"
+ floating_ip_start: "10.8.15.100"
+ floating_ip_end: "10.8.15.200"
diff --git a/installers/compass4nfv/network_onos.yml.j2 b/installers/compass4nfv/network_onos.yml.j2
new file mode 100644
index 0000000..017560b
--- /dev/null
+++ b/installers/compass4nfv/network_onos.yml.j2
@@ -0,0 +1,100 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+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: eth3
+ vlan_tag: {{ conf['nodes'][0]['interfaces'][2]['vlan'] }} #not a good fit
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ interface: eth2
+ vlan_tag: {{ conf['nodes'][0]['interfaces'][1]['vlan'] }} #not a good fit
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: external
+ interface: br-prv
+ type: ovs
+ role:
+ - controller
+ - compute
+
+ip_settings:
+ - name: mgmt
+ ip_ranges:
+ - - "10.8.14.10"
+ - "10.8.14.30"
+ cidr: "10.8.14.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ ip_ranges:
+ - - "10.8.12.10"
+ - "10.8.12.30"
+ cidr: "10.8.12.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: external
+ ip_ranges:
+ - - "10.8.15.10"
+ - "10.8.15.30"
+ cidr: "10.8.15.0/24"
+ gw: "10.8.15.1"
+ role:
+ - controller
+ - compute
+
+internal_vip:
+ ip: 10.8.14.222
+ netmask: "24"
+ interface: mgmt
+
+public_vip:
+ ip: 10.8.15.222
+ netmask: "24"
+ interface: external
+
+onos_nic: eth1
+public_net_info:
+ enable: "True"
+ network: ext-net
+ type: flat
+ segment_id: 10
+ subnet: ext-subnet
+ provider_network: physnet
+ router: router-ext
+ enable_dhcp: "False"
+ no_gateway: "False"
+ external_gw: "10.8.15.1"
+ floating_ip_cidr: "10.8.15.0/24"
+ floating_ip_start: "10.8.15.100"
+ floating_ip_end: "10.8.15.200"
diff --git a/installers/compass4nfv/network_openo.yml.j2 b/installers/compass4nfv/network_openo.yml.j2
new file mode 100644
index 0000000..a8dc016
--- /dev/null
+++ b/installers/compass4nfv/network_openo.yml.j2
@@ -0,0 +1,105 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+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: eth3
+ vlan_tag: {{ conf['nodes'][0]['interfaces'][2]['vlan'] }} #not a good fit
+ type: vlan
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ interface: eth2
+ vlan_tag: 804
+ type: {{ conf['nodes'][0]['interfaces'][1]['vlan'] }} #not a good fit
+ role:
+ - controller
+ - compute
+
+ - name: external
+ interface: br-prv
+ type: ovs
+ role:
+ - controller
+ - compute
+
+ip_settings:
+ - name: mgmt
+ ip_ranges:
+ - - "10.8.14.10"
+ - "10.8.14.30"
+ cidr: "10.8.14.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: storage
+ ip_ranges:
+ - - "10.8.12.10"
+ - "10.8.12.30"
+ cidr: "10.8.12.0/24"
+ role:
+ - controller
+ - compute
+
+ - name: external
+ ip_ranges:
+ - - "10.8.15.10"
+ - "10.8.15.30"
+ cidr: "10.8.15.0/24"
+ gw: "10.8.15.1"
+ role:
+ - controller
+ - compute
+
+internal_vip:
+ ip: 10.8.14.222
+ netmask: "24"
+ interface: mgmt
+
+public_vip:
+ ip: 10.8.15.222
+ netmask: "24"
+ interface: external
+
+openo_net:
+ openo_ip: 10.8.15.50
+ openo_docker_gw: 172.11.1.1
+ openo_docker_cidr: 172.11.1.0/24
+
+onos_nic: eth4
+public_net_info:
+ enable: "True"
+ network: ext-net
+ type: flat
+ segment_id: 10
+ subnet: ext-subnet
+ provider_network: physnet
+ router: router-ext
+ enable_dhcp: "False"
+ no_gateway: "False"
+ external_gw: "10.8.15.1"
+ floating_ip_cidr: "10.8.15.0/24"
+ floating_ip_start: "10.8.15.100"
+ floating_ip_end: "10.8.15.200"
diff --git a/installers/compass4nfv/os-nosdn-nofeature-ha.yml.j2 b/installers/compass4nfv/os-nosdn-nofeature-ha.yml.j2
new file mode 100644
index 0000000..22692a4
--- /dev/null
+++ b/installers/compass4nfv/os-nosdn-nofeature-ha.yml.j2
@@ -0,0 +1,77 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-nosdn-openo-ha.yml.j2 b/installers/compass4nfv/os-nosdn-openo-ha.yml.j2
new file mode 100644
index 0000000..e8d3967
--- /dev/null
+++ b/installers/compass4nfv/os-nosdn-openo-ha.yml.j2
@@ -0,0 +1,85 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+deploy_options:
+ orchestrator:
+ type: open-o
+ version: 1.0.0
+
+ vnf:
+ type:
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-ocl-nofeature-ha.yml.j2 b/installers/compass4nfv/os-ocl-nofeature-ha.yml.j2
new file mode 100644
index 0000000..5f1fb2f
--- /dev/null
+++ b/installers/compass4nfv/os-ocl-nofeature-ha.yml.j2
@@ -0,0 +1,76 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - opencontrail
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-odl_l2-moon-ha.yml.j2 b/installers/compass4nfv/os-odl_l2-moon-ha.yml.j2
new file mode 100644
index 0000000..d323341
--- /dev/null
+++ b/installers/compass4nfv/os-odl_l2-moon-ha.yml.j2
@@ -0,0 +1,79 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j2 b/installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j2
new file mode 100644
index 0000000..5962e29
--- /dev/null
+++ b/installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j2
@@ -0,0 +1,80 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j2 b/installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j2
new file mode 100644
index 0000000..2b7e3ac
--- /dev/null
+++ b/installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j2
@@ -0,0 +1,81 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+odl_l3_agent: "Enable"
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - odl
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-onos-nofeature-ha.yml.j2 b/installers/compass4nfv/os-onos-nofeature-ha.yml.j2
new file mode 100644
index 0000000..5d2e7d0
--- /dev/null
+++ b/installers/compass4nfv/os-onos-nofeature-ha.yml.j2
@@ -0,0 +1,79 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - onos
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - onos
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - onos
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
diff --git a/installers/compass4nfv/os-onos-sfc-ha.yml.j2 b/installers/compass4nfv/os-onos-sfc-ha.yml.j2
new file mode 100644
index 0000000..ffc0287
--- /dev/null
+++ b/installers/compass4nfv/os-onos-sfc-ha.yml.j2
@@ -0,0 +1,81 @@
+##############################################################################
+# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
+#
+# 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
+##############################################################################
+---
+TYPE: baremetal
+FLAVOR: cluster
+POWER_TOOL: '{{ conf['jumphost']['remote_para']['type'] }}tool' #expects string ipmitool
+
+ipmiUser: {{ conf['jumphost']['remote_para']['user'] }}
+ipmiPass: {{ conf['jumphost']['remote_para']['pass'] }}
+ipmiVer: '{{ conf['jumphost']['remote_para']['versions'][0] }}'
+
+onos_sfc: "Enable"
+
+hosts:
+ - name: {{ conf['nodes'][0]['name'] }}
+ mac: '{{ conf['nodes'][0]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][0]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][0]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][0]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][0]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - onos
+ - ceph-adm
+ - ceph-mon
+
+ - name: {{ conf['nodes'][1]['name'] }}
+ mac: '{{ conf['nodes'][1]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][1]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][1]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][1]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][1]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - onos
+ - ceph-mon
+
+ - name: {{ conf['nodes'][2]['name'] }}
+ mac: '{{ conf['nodes'][2]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][2]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][2]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][2]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][2]['remote_mangement']['address'] }}
+ roles:
+ - controller
+ - ha
+ - onos
+ - ceph-mon
+
+ - name: {{ conf['nodes'][3]['name'] }}
+ mac: '{{ conf['nodes'][3]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][3]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][3]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][3]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][3]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd
+
+ - name: {{ conf['nodes'][4]['name'] }}
+ mac: '{{ conf['nodes'][4]['remote_mangement']['mac_address'] }}' #is this the ipmi mac address?
+ interfaces:
+ - eth1: '{{ conf['nodes'][4]['interfaces'][0]['mac_address'] }}'
+ - eth2: '{{ conf['nodes'][4]['interfaces'][1]['mac_address'] }}'
+ - eth3: '{{ conf['nodes'][4]['interfaces'][2]['mac_address'] }}'
+ ipmiIp: {{ conf['nodes'][4]['remote_mangement']['address'] }}
+ roles:
+ - compute
+ - ceph-osd