diff options
Diffstat (limited to 'config/installers/compass4nfv')
12 files changed, 1043 insertions, 0 deletions
diff --git a/config/installers/compass4nfv/network.yml.j2 b/config/installers/compass4nfv/network.yml.j2 new file mode 100644 index 00000000..2ede0831 --- /dev/null +++ b/config/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/config/installers/compass4nfv/network_ocl.yml.j2 b/config/installers/compass4nfv/network_ocl.yml.j2 new file mode 100644 index 00000000..68144b62 --- /dev/null +++ b/config/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/config/installers/compass4nfv/network_onos.yml.j2 b/config/installers/compass4nfv/network_onos.yml.j2 new file mode 100644 index 00000000..017560b9 --- /dev/null +++ b/config/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/config/installers/compass4nfv/network_openo.yml.j2 b/config/installers/compass4nfv/network_openo.yml.j2 new file mode 100644 index 00000000..a8dc016a --- /dev/null +++ b/config/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/config/installers/compass4nfv/os-nosdn-nofeature-ha.yml.j2 b/config/installers/compass4nfv/os-nosdn-nofeature-ha.yml.j2 new file mode 100644 index 00000000..38b7e260 --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-nosdn-openo-ha.yml.j2 b/config/installers/compass4nfv/os-nosdn-openo-ha.yml.j2 new file mode 100644 index 00000000..88823b7a --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['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_management']['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_management']['address'] }} + roles: + - controller + - ha + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-ocl-nofeature-ha.yml.j2 b/config/installers/compass4nfv/os-ocl-nofeature-ha.yml.j2 new file mode 100644 index 00000000..57c6ad89 --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - opencontrail + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-odl_l2-moon-ha.yml.j2 b/config/installers/compass4nfv/os-odl_l2-moon-ha.yml.j2 new file mode 100644 index 00000000..7b348028 --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j2 b/config/installers/compass4nfv/os-odl_l2-nofeature-ha.yml.j2 new file mode 100644 index 00000000..9690b1fb --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j2 b/config/installers/compass4nfv/os-odl_l3-nofeature-ha.yml.j2 new file mode 100644 index 00000000..dfb4d29d --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +odl_l3_agent: "Enable" + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - odl + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-onos-nofeature-ha.yml.j2 b/config/installers/compass4nfv/os-onos-nofeature-ha.yml.j2 new file mode 100644 index 00000000..042bb2ff --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - onos + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - onos + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - onos + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd diff --git a/config/installers/compass4nfv/os-onos-sfc-ha.yml.j2 b/config/installers/compass4nfv/os-onos-sfc-ha.yml.j2 new file mode 100644 index 00000000..746ca361 --- /dev/null +++ b/config/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_params']['type'] }}tool' #expects string ipmitool + +ipmiUser: {{ conf['jumphost']['remote_params']['user'] }} +ipmiPass: {{ conf['jumphost']['remote_params']['pass'] }} +ipmiVer: '{{ conf['jumphost']['remote_params']['versions'][0] }}' + +onos_sfc: "Enable" + +hosts: + - name: {{ conf['nodes'][0]['name'] }} + mac: '{{ conf['nodes'][0]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - onos + - ceph-adm + - ceph-mon + + - name: {{ conf['nodes'][1]['name'] }} + mac: '{{ conf['nodes'][1]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - onos + - ceph-mon + + - name: {{ conf['nodes'][2]['name'] }} + mac: '{{ conf['nodes'][2]['remote_management']['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_management']['address'] }} + roles: + - controller + - ha + - onos + - ceph-mon + + - name: {{ conf['nodes'][3]['name'] }} + mac: '{{ conf['nodes'][3]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd + + - name: {{ conf['nodes'][4]['name'] }} + mac: '{{ conf['nodes'][4]['remote_management']['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_management']['address'] }} + roles: + - compute + - ceph-osd |