diff options
Diffstat (limited to 'labs/arm')
-rw-r--r-- | labs/arm/pod1/fuel/config/dea-pod-override.yaml | 375 | ||||
-rw-r--r-- | labs/arm/pod1/fuel/config/dha.yaml | 79 | ||||
-rw-r--r-- | labs/arm/pod1/fuel/config/local_env | 3 | ||||
-rw-r--r-- | labs/arm/pod2/fuel/config/dea-pod-override.yaml | 374 | ||||
-rw-r--r-- | labs/arm/pod2/fuel/config/dha.yaml | 84 | ||||
-rw-r--r-- | labs/arm/pod2/fuel/config/local_env | 3 | ||||
-rw-r--r-- | labs/arm/pod3/fuel/config/dea-pod-override.yaml | 376 | ||||
-rw-r--r-- | labs/arm/pod3/fuel/config/dha.yaml | 81 | ||||
-rw-r--r-- | labs/arm/pod3/fuel/config/local_env | 3 |
9 files changed, 1378 insertions, 0 deletions
diff --git a/labs/arm/pod1/fuel/config/dea-pod-override.yaml b/labs/arm/pod1/fuel/config/dea-pod-override.yaml new file mode 100644 index 0000000..6348d6a --- /dev/null +++ b/labs/arm/pod1/fuel/config/dea-pod-override.yaml @@ -0,0 +1,375 @@ +dea-pod-override-config-metadata: + title: 'DEA for Enea Armband lab' + version: '0.1' + created: 'Mon May 2 2016' + comment: 'Armband specific' + public_bridge: 'public6_br0' +environment: + name: armband_opnfv + net_segment_type: tun +interfaces_1: + enm2p1s0f2: + - storage + enm2p1s0f3: + - public + - management + - private + enm5p144s0: + - fuelweb_admin +transformations_1: + transformations: + - action: add-br + name: br-fw-admin + - action: add-br + name: br-mgmt + - action: add-br + name: br-storage + - action: add-br + name: br-ex + - action: add-br + name: br-floating + provider: ovs + - action: add-patch + bridges: + - br-floating + - br-ex + mtu: 65000 + provider: ovs + - action: add-br + name: br-mesh + - action: add-port + bridge: br-ex + name: enm2p1s0f3 + - action: add-port + bridge: br-mgmt + name: enm2p1s0f3.2164 + - action: add-port + bridge: br-storage + name: enm2p1s0f3.2163 + - action: add-port + bridge: br-mesh + name: enm2p1s0f3.2165 + - action: add-port + bridge: br-fw-admin + name: enm5p144s0 +fuel: + ADMIN_NETWORK: + dhcp_pool_end: 10.20.0.254 + dhcp_pool_start: 10.20.0.3 + ipaddress: 10.20.0.2 + netmask: 255.255.255.0 + IFCFG_ETH1: + device: eth1 + ipaddress: 10.0.7.10 + netmask: 255.255.255.0 + gateway: 10.0.7.254 + DNS_DOMAIN: domain.tld + DNS_SEARCH: domain.tld + DNS_UPSTREAM: 8.8.8.8 + FUEL_ACCESS: + password: admin + user: admin + HOSTNAME: fuel + NTP1: 0.pool.ntp.org + NTP2: 1.pool.ntp.org + NTP3: 2.pool.ntp.org +network: + networking_parameters: + base_mac: fa:16:3e:00:00:00 + configuration_template: null + dns_nameservers: + - 8.8.4.4 + - 8.8.8.8 + floating_name: admin_floating_net + floating_ranges: + - - 10.0.7.101 + - 10.0.7.200 + gre_id_range: + - 2 + - 65535 + internal_cidr: 192.168.111.0/24 + internal_gateway: 192.168.111.1 + internal_name: admin_internal_net + net_l23_provider: ovs + segmentation_type: tun + vlan_range: + - 1000 + - 1030 + networks: + - cidr: 10.0.7.0/24 + gateway: 10.0.7.254 + ip_ranges: + - - 10.0.7.40 + - 10.0.7.100 + meta: + cidr: 172.16.0.0/24 + configurable: true + floating_range_var: floating_ranges + ip_range: + - 172.16.0.2 + - 172.16.0.126 + map_priority: 1 + name: public + notation: ip_ranges + render_addr_mask: public + render_type: null + use_gateway: true + vips: + - haproxy + - vrouter + vlan_start: null + name: public + vlan_start: null + - cidr: 192.168.1.0/24 + gateway: null + ip_ranges: + - - 192.168.1.1 + - 192.168.1.254 + meta: + cidr: 192.168.1.0/24 + configurable: true + map_priority: 2 + name: storage + notation: cidr + render_addr_mask: storage + render_type: cidr + use_gateway: false + vlan_start: 102 + name: storage + vlan_start: 2163 + - cidr: 192.168.0.0/24 + gateway: null + ip_ranges: + - - 192.168.0.1 + - 192.168.0.254 + meta: + cidr: 192.168.0.0/24 + configurable: true + map_priority: 2 + name: management + notation: cidr + render_addr_mask: internal + render_type: cidr + use_gateway: false + vips: + - haproxy + - vrouter + vlan_start: 101 + name: management + vlan_start: 2164 + - cidr: 192.168.2.0/24 + gateway: null + ip_ranges: + - - 192.168.2.1 + - 192.168.2.254 + meta: + cidr: 192.168.2.0/24 + configurable: true + map_priority: 2 + name: private + notation: cidr + render_addr_mask: null + render_type: cidr + seg_type: tun + use_gateway: false + vlan_start: 103 + name: private + vlan_start: 2165 + - cidr: 10.20.0.0/24 + gateway: 10.20.0.2 + ip_ranges: + - - 10.20.0.3 + - 10.20.0.254 + meta: + configurable: false + map_priority: 0 + notation: ip_ranges + render_addr_mask: null + render_type: null + unmovable: true + use_gateway: true + name: fuelweb_admin + vlan_start: null +settings: + editable: + kernel_params: + kernel: + description: Default kernel parameters + label: Initial parameters + type: text + value: console=tty0 console=ttyS0,115200 console=ttyAMA0,115200 net.ifnames=1 biosdevname=0 rootdelay=90 nomodeset + repo_setup: + repos: + description: 'Please note: the first repository will be considered the operating + system mirror that will be used during node provisioning. + + To create a local repository mirror on the Fuel master node, please follow + the instructions provided by running "fuel-createmirror --help" on the Fuel + master node. + + Please make sure your Fuel master node has Internet access to the repository + before attempting to create a mirror. + + For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-8.0/operations.html#external-ubuntu-ops). + + ' + extra_priority: null + type: custom_repo_configuration + value: + - name: ubuntu + priority: null + section: main universe multiverse + suite: trusty + type: deb + uri: http://ports.ubuntu.com/ + - name: ubuntu-updates + priority: null + section: main universe multiverse + suite: trusty-updates + type: deb + uri: http://ports.ubuntu.com/ + - name: ubuntu-security + priority: null + section: main universe multiverse + suite: trusty-security + type: deb + uri: http://ports.ubuntu.com/ + - name: mos + priority: 1050 + section: main restricted + suite: mos9.0 + type: deb + uri: http://10.20.0.2:8080/mitaka-9.0/ubuntu/x86_64 + - name: mos-updates + priority: 1050 + section: main restricted + suite: mos9.0-updates + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: mos-security + priority: 1050 + section: main restricted + suite: mos9.0-security + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: mos-holdback + priority: 1100 + section: main restricted + suite: mos9.0-holdback + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: Auxiliary + priority: 1150 + section: main restricted + suite: auxiliary + type: deb + uri: http://10.20.0.2:8080/mitaka-9.0/ubuntu/auxiliary + provision: + metadata: + group: general + label: Provision + restrictions: + - action: hide + condition: 'false' + weight: 80 + method: + type: hidden + value: image + packages: + label: Initial packages + type: textarea + value: 'acl + + anacron + + bash-completion + + bridge-utils + + bsdmainutils + + build-essential + + cloud-init + + curl + + daemonize + + debconf-utils + + gdisk + + grub-efi-arm64 + + hpsa-dkms + + hwloc + + i40e-dkms + + linux-firmware + + linux-firmware-nonfree + + linux-headers-generic-lts-xenial + + linux-image-generic-lts-xenial + + lvm2 + + mcollective + + mdadm + + multipath-tools + + multipath-tools-boot + + nailgun-agent + + nailgun-mcagents + + network-checker + + ntp + + openssh-client + + openssh-server + + puppet + + python-amqp + + ruby-augeas + + ruby-ipaddress + + ruby-json + + ruby-netaddr + + ruby-openstack + + ruby-shadow + + ruby-stomp + + telnet + + ubuntu-minimal + + ubuntu-standard + + uuid-runtime + + vim + + virt-what + + vlan + + ' + weight: 10 +wanted_release: Mitaka on Ubuntu 14.04 (aarch64) diff --git a/labs/arm/pod1/fuel/config/dha.yaml b/labs/arm/pod1/fuel/config/dha.yaml new file mode 100644 index 0000000..16757c8 --- /dev/null +++ b/labs/arm/pod1/fuel/config/dha.yaml @@ -0,0 +1,79 @@ +dha-pod-config-metadata: + title: Deployment Hardware Adapter (DHA) + # DHA API version supported + version: 0.0.3 + created: Sat Apr 16 11:34:39 2016 + comment: Enea Armband arm-pod1 DHA (Cavium ThunderX) + +# Adapter to use for this definition +# adapter: [ipmi|libvirt] +adapter: ipmi + +# Node list. +# Mandatory properties are id and role. +# All other properties are adapter specific. +# For Non-Fuel nodes controlled by: +# - ipmi adapter you need to provide: +# pxeMac +# ipmiIp +# ipmiUser +# ipmiPass +# - libvirt adapter you need to provide: +# libvirtName: <whatever> +# libvirtTemplate: [libvirt/vms/controller.xml | libvirt/vms/compute.xml] +# +# For the Fuel Node you need to provide: +# libvirtName: <whatever> +# libvirtTemplate: libvirt/vms/fuel.xml +# isFuel: yes +# username: root +# password: r00tme + +nodes: +- id: 1 + ipmiIp: 10.0.1.35 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 68:05:ca:3d:93:0f +- id: 2 + ipmiIp: 10.0.1.32 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 68:05:ca:34:60:e3 +- id: 3 + ipmiIp: 10.0.1.33 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 68:05:ca:3f:7f:f3 +- id: 4 + ipmiIp: 10.0.1.34 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 68:05:ca:3d:93:0c +- id: 5 + ipmiIp: 10.0.1.31 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 68:05:ca:3d:93:14 +# Adding the Fuel node as node id 5 +# which may not be correct - please adjust as needed. +- id: 6 + isFuel: true + libvirtName: armband-pod1 + libvirtTemplate: templates/hardware_environment/vms/enea_lab/fuel.xml + password: r00tme + username: root +disks: + compute: 100G + controller: 100G + fuel: 100G diff --git a/labs/arm/pod1/fuel/config/local_env b/labs/arm/pod1/fuel/config/local_env new file mode 100644 index 0000000..320e7cd --- /dev/null +++ b/labs/arm/pod1/fuel/config/local_env @@ -0,0 +1,3 @@ +export LIBVIRT_DEFAULT_URI=qemu+ssh://jenkins@10.0.2.5/system +export DEFAULT_BRIDGE=admin6_br0,public6_br0 +export DEPLOY_TIMEOUT=360 diff --git a/labs/arm/pod2/fuel/config/dea-pod-override.yaml b/labs/arm/pod2/fuel/config/dea-pod-override.yaml new file mode 100644 index 0000000..1b92aa6 --- /dev/null +++ b/labs/arm/pod2/fuel/config/dea-pod-override.yaml @@ -0,0 +1,374 @@ +dea-pod-override-config-metadata: + title: 'DEA for Enea Armband lab' + version: 1.1 + created: Mon Jun 13 14:28:57 2016 + comment: 'Armband specific' + public_bridge: 'public_br0' +environment: + name: armband_opnfv +fuel: + ADMIN_NETWORK: + dhcp_pool_end: 10.20.0.254 + dhcp_pool_start: 10.20.0.3 + ipaddress: 10.20.0.2 + netmask: 255.255.255.0 + DNS_DOMAIN: domain.tld + DNS_SEARCH: domain.tld + DNS_UPSTREAM: 8.8.8.8 + FUEL_ACCESS: + password: admin + user: admin + HOSTNAME: fuel + IFCFG_ETH1: + device: eth1 + gateway: 10.0.2.254 + ipaddress: 10.0.2.10 + netmask: 255.255.255.0 + NTP1: 0.pool.ntp.org + NTP2: 1.pool.ntp.org + NTP3: 2.pool.ntp.org +interfaces_1: + enm2p1s0f1: + - fuelweb_admin + - storage + enm6p1s0f1: + - public + - management + - private +interfaces_2: + ene18: + - fuelweb_admin + ene25: + - public + - management + - storage + - private +interfaces_3: + ene10: + - public + - management + - storage + - private + ene9: + - fuelweb_admin +transformations_1: + transformations: + - action: add-br + name: br-fw-admin + - action: add-br + name: br-mgmt + - action: add-br + name: br-storage + - action: add-br + name: br-ex + - action: add-br + name: br-floating + provider: ovs + - action: add-patch + bridges: + - br-floating + - br-ex + mtu: 65000 + provider: ovs + - action: add-br + name: br-mesh + - action: add-port + bridge: br-storage + name: enm2p1s0f1.2010 + - action: add-port + bridge: br-ex + name: enm6p1s0f1 + - action: add-port + bridge: br-mgmt + name: enm6p1s0f1.2011 + - action: add-port + bridge: br-mesh + name: enm6p1s0f1.2012 + - action: add-port + bridge: br-fw-admin + name: enm2p1s0f1 +transformations_2: + transformations: + - action: add-br + name: br-fw-admin + - action: add-br + name: br-mgmt + - action: add-br + name: br-storage + - action: add-br + name: br-ex + - action: add-br + name: br-floating + provider: ovs + - action: add-patch + bridges: + - br-floating + - br-ex + mtu: 65000 + provider: ovs + - action: add-br + name: br-mesh + - action: add-port + bridge: br-fw-admin + name: ene18 + - action: add-port + bridge: br-ex + name: ene25 + - action: add-port + bridge: br-mgmt + name: ene25.2011 + - action: add-port + bridge: br-storage + name: ene25.2010 + - action: add-port + bridge: br-mesh + name: ene25.2012 +transformations_3: + transformations: + - action: add-br + name: br-fw-admin + - action: add-br + name: br-mgmt + - action: add-br + name: br-storage + - action: add-br + name: br-ex + - action: add-br + name: br-floating + provider: ovs + - action: add-patch + bridges: + - br-floating + - br-ex + mtu: 65000 + provider: ovs + - action: add-br + name: br-mesh + - action: add-port + bridge: br-ex + name: ene10 + - action: add-port + bridge: br-mgmt + name: ene10.2011 + - action: add-port + bridge: br-storage + name: ene10.2010 + - action: add-port + bridge: br-mesh + name: ene10.2012 + - action: add-port + bridge: br-fw-admin + name: ene9 +network: + networking_parameters: + base_mac: fa:16:3e:00:00:00 + configuration_template: null + dns_nameservers: + - 8.8.4.4 + - 8.8.8.8 + floating_name: admin_floating_net + floating_ranges: + - - 10.0.2.101 + - 10.0.2.200 + gre_id_range: + - 2 + - 65535 + internal_cidr: 192.168.111.0/24 + internal_gateway: 192.168.111.1 + internal_name: admin_internal_net + net_l23_provider: ovs + segmentation_type: tun + vlan_range: + - 1000 + - 1030 + networks: + - cidr: 10.0.2.0/24 + gateway: 10.0.2.254 + ip_ranges: + - - 10.0.2.40 + - 10.0.2.100 + meta: + cidr: 172.16.0.0/24 + configurable: true + floating_range_var: floating_ranges + ip_range: + - 172.16.0.2 + - 172.16.0.126 + map_priority: 1 + name: public + notation: ip_ranges + render_addr_mask: public + render_type: null + use_gateway: true + vips: + - haproxy + - vrouter + vlan_start: null + name: public + vlan_start: null + - cidr: 192.168.1.0/24 + gateway: null + ip_ranges: + - - 192.168.1.1 + - 192.168.1.254 + meta: + cidr: 192.168.1.0/24 + configurable: true + map_priority: 2 + name: storage + notation: cidr + render_addr_mask: storage + render_type: cidr + use_gateway: false + vlan_start: 102 + name: storage + vlan_start: 2010 + - cidr: 192.168.0.0/24 + gateway: null + ip_ranges: + - - 192.168.0.1 + - 192.168.0.254 + meta: + cidr: 192.168.0.0/24 + configurable: true + map_priority: 2 + name: management + notation: cidr + render_addr_mask: internal + render_type: cidr + use_gateway: false + vips: + - haproxy + - vrouter + vlan_start: 101 + name: management + vlan_start: 2011 + - cidr: 192.168.2.0/24 + gateway: null + ip_ranges: + - - 192.168.2.1 + - 192.168.2.254 + meta: + cidr: 192.168.2.0/24 + configurable: true + map_priority: 2 + name: private + notation: cidr + render_addr_mask: null + render_type: cidr + seg_type: tun + use_gateway: false + vlan_start: 103 + name: private + vlan_start: 2012 + - cidr: 10.20.0.0/24 + gateway: 10.20.0.2 + ip_ranges: + - - 10.20.0.3 + - 10.20.0.254 + meta: + configurable: false + map_priority: 0 + notation: ip_ranges + render_addr_mask: null + render_type: null + unmovable: true + use_gateway: true + name: fuelweb_admin + vlan_start: null +nodes: +- id: 1 + interfaces: interfaces_3 + role: controller,mongo,opendaylight + transformations: transformations_3 +- id: 2 + interfaces: interfaces_3 + role: controller + transformations: transformations_3 +- id: 3 + interfaces: interfaces_2 + role: ceph-osd,controller + transformations: transformations_2 +- id: 4 + interfaces: interfaces_1 + role: ceph-osd,compute + transformations: transformations_1 +- id: 5 + interfaces: interfaces_1 + role: ceph-osd,compute + transformations: transformations_1 +settings: + editable: + kernel_params: + kernel: + description: Default kernel parameters + label: Initial parameters + type: text + value: console=tty0 console=ttyS0,115200 console=ttyAMA0,115200 net.ifnames=1 biosdevname=0 rootdelay=90 nomodeset + repo_setup: + repos: + description: 'Please note: the first repository will be considered the operating + system mirror that will be used during node provisioning. + + To create a local repository mirror on the Fuel master node, please follow + the instructions provided by running "fuel-createmirror --help" on the Fuel + master node. + + Please make sure your Fuel master node has Internet access to the repository + before attempting to create a mirror. + + For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-8.0/operations.html#external-ubuntu-ops). + + ' + extra_priority: null + type: custom_repo_configuration + value: + - name: ubuntu + priority: null + section: main universe multiverse + suite: trusty + type: deb + uri: http://ports.ubuntu.com/ + - name: ubuntu-updates + priority: null + section: main universe multiverse + suite: trusty-updates + type: deb + uri: http://ports.ubuntu.com/ + - name: ubuntu-security + priority: null + section: main universe multiverse + suite: trusty-security + type: deb + uri: http://ports.ubuntu.com/ + - name: mos + priority: 1050 + section: main restricted + suite: mos9.0 + type: deb + uri: http://10.20.0.2:8080/mitaka-9.0/ubuntu/x86_64 + - name: mos-updates + priority: 1050 + section: main restricted + suite: mos9.0-updates + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: mos-security + priority: 1050 + section: main restricted + suite: mos9.0-security + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: mos-holdback + priority: 1100 + section: main restricted + suite: mos9.0-holdback + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: Auxiliary + priority: 1150 + section: main restricted + suite: auxiliary + type: deb + uri: http://10.20.0.2:8080/mitaka-9.0/ubuntu/auxiliary +wanted_release: Mitaka on Ubuntu 14.04 (aarch64) diff --git a/labs/arm/pod2/fuel/config/dha.yaml b/labs/arm/pod2/fuel/config/dha.yaml new file mode 100644 index 0000000..db5d583 --- /dev/null +++ b/labs/arm/pod2/fuel/config/dha.yaml @@ -0,0 +1,84 @@ +dha-pod-config-metadata: + title: Deployment Hardware Adapter (DHA) + # DHA API version supported + version: 0.0.3 + created: Mon Jun 13 14:28:57 2016 + comment: Enea Armband arm-pod2 DHA (mixed vendors) + +# Adapter to use for this definition +# adapter: [ipmi|libvirt] +adapter: ipmi + +# Node list. +# Mandatory properties are id and role. +# All other properties are adapter specific. +# For Non-Fuel nodes controlled by: +# - ipmi adapter you need to provide: +# pxeMac +# ipmiIp +# ipmiUser +# ipmiPass +# and you *MAY* provide (optional, not added by reap.py): +# ipmiPort +# - libvirt adapter you need to provide: +# libvirtName: <whatever> +# libvirtTemplate: [libvirt/vms/controller.xml | libvirt/vms/compute.xml] +# +# For the Fuel Node you need to provide: +# libvirtName: <whatever> +# libvirtTemplate: libvirt/vms/fuel.xml +# isFuel: yes +# username: root +# password: r00tme + +nodes: +- id: 1 + ipmiIp: 127.0.0.1 + ipmiPass: admin + ipmiUser: admin + ipmiPort: 675 + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:05:93 +- id: 2 + ipmiIp: 127.0.0.1 + ipmiPass: admin + ipmiUser: admin + ipmiPort: 674 + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:05:96 +- id: 3 + ipmiIp: 127.0.0.1 + ipmiPass: admin + ipmiUser: admin + ipmiPort: 672 + libvirtName: null + libvirtTemplate: null + pxeMac: 00:01:73:02:36:d5 +- id: 4 + ipmiIp: 10.0.2.2 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 00:0f:b7:08:00:c0 +- id: 5 + ipmiIp: 10.0.2.3 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: 00:0f:b7:09:01:c0 +# Adding the Fuel node as node id 6 +# which may not be correct - please adjust as needed. +- id: 6 + isFuel: true + libvirtName: armband-pod2 + libvirtTemplate: templates/hardware_environment/vms/enea_lab/fuel.xml + password: r00tme + username: root +disks: + compute: 100G + controller: 100G + fuel: 100G diff --git a/labs/arm/pod2/fuel/config/local_env b/labs/arm/pod2/fuel/config/local_env new file mode 100644 index 0000000..831cdd6 --- /dev/null +++ b/labs/arm/pod2/fuel/config/local_env @@ -0,0 +1,3 @@ +export LIBVIRT_DEFAULT_URI=qemu+ssh://jenkins@10.0.2.5/system +export DEFAULT_BRIDGE=admin_br0,public_br0 +export DEPLOY_TIMEOUT=360 diff --git a/labs/arm/pod3/fuel/config/dea-pod-override.yaml b/labs/arm/pod3/fuel/config/dea-pod-override.yaml new file mode 100644 index 0000000..2782478 --- /dev/null +++ b/labs/arm/pod3/fuel/config/dea-pod-override.yaml @@ -0,0 +1,376 @@ +dea-pod-override-config-metadata: + title: 'DEA for Enea Armband lab' + version: 1.1 + created: Tue Sep 6 11:52:02 2016 + comment: 'Armband specific' + public_bridge: 'public7_br0' +environment: + name: armband_opnfv + net_segment_type: tun +wanted_release: Mitaka on Ubuntu 14.04 (aarch64) +interfaces_1: + ene11: + - fuelweb_admin + ene13: + - public + - management + - storage + - private +transformations_1: + transformations: + - action: add-br + name: br-fw-admin + - action: add-br + name: br-mgmt + - action: add-br + name: br-storage + - action: add-br + name: br-ex + - action: add-br + name: br-floating + provider: ovs + - action: add-patch + bridges: + - br-floating + - br-ex + mtu: 65000 + provider: ovs + - action: add-br + name: br-mesh + - action: add-port + bridge: br-fw-admin + name: ene11 + - action: add-port + bridge: br-ex + name: ene13 + - action: add-port + bridge: br-mgmt + name: ene13.2183 + - action: add-port + bridge: br-storage + name: ene13.2184 + - action: add-port + bridge: br-mesh + name: ene13.2185 +fuel: + ADMIN_NETWORK: + dhcp_pool_end: 10.20.0.254 + dhcp_pool_start: 10.20.0.3 + ipaddress: 10.20.0.2 + netmask: 255.255.255.0 + ssh_network: 10.20.0.0/24 + DNS_DOMAIN: domain.tld + DNS_SEARCH: domain.tld + DNS_UPSTREAM: 8.8.8.8 + FUEL_ACCESS: + password: admin + user: admin + HOSTNAME: fuel + IFCFG_ETH1: + device: eth1 + gateway: 10.0.8.254 + ipaddress: 10.0.8.10 + netmask: 255.255.255.0 + NTP1: 0.pool.ntp.org + NTP2: 1.pool.ntp.org + NTP3: 2.pool.ntp.org +network: + networking_parameters: + base_mac: fa:16:3e:00:00:00 + configuration_template: null + dns_nameservers: + - 8.8.4.4 + - 8.8.8.8 + floating_name: admin_floating_net + floating_ranges: + - - 10.0.8.101 + - 10.0.8.200 + gre_id_range: + - 2 + - 65535 + internal_cidr: 192.168.111.0/24 + internal_gateway: 192.168.111.1 + internal_name: admin_internal_net + net_l23_provider: ovs + segmentation_type: tun + vlan_range: + - 1000 + - 1030 + networks: + - cidr: 10.0.8.0/24 + gateway: 10.0.8.254 + ip_ranges: + - - 10.0.8.41 + - 10.0.8.100 + meta: + cidr: 172.16.0.0/24 + configurable: true + floating_range_var: floating_ranges + ip_range: + - 172.16.0.2 + - 172.16.0.126 + map_priority: 1 + name: public + notation: ip_ranges + render_addr_mask: public + render_type: null + use_gateway: true + vips: + - haproxy + - vrouter + vlan_start: null + name: public + vlan_start: null + - cidr: 192.168.1.0/24 + gateway: null + ip_ranges: + - - 192.168.1.1 + - 192.168.1.254 + meta: + cidr: 192.168.1.0/24 + configurable: true + map_priority: 2 + name: storage + notation: cidr + render_addr_mask: storage + render_type: cidr + use_gateway: false + vlan_start: 102 + name: storage + vlan_start: 2184 + - cidr: 192.168.0.0/24 + gateway: null + ip_ranges: + - - 192.168.0.1 + - 192.168.0.254 + meta: + cidr: 192.168.0.0/24 + configurable: true + map_priority: 2 + name: management + notation: cidr + render_addr_mask: internal + render_type: cidr + use_gateway: false + vips: + - haproxy + - vrouter + vlan_start: 101 + name: management + vlan_start: 2183 + - cidr: 192.168.2.0/24 + gateway: null + ip_ranges: + - - 192.168.2.1 + - 192.168.2.254 + meta: + cidr: 192.168.2.0/24 + configurable: true + map_priority: 2 + name: private + notation: cidr + render_addr_mask: null + render_type: cidr + seg_type: tun + use_gateway: false + vlan_start: 103 + name: private + vlan_start: 2185 + - cidr: 10.20.0.0/24 + gateway: 10.20.0.2 + ip_ranges: + - - 10.20.0.3 + - 10.20.0.254 + meta: + configurable: false + map_priority: 0 + notation: ip_ranges + render_addr_mask: null + render_type: null + unmovable: true + use_gateway: true + name: fuelweb_admin + vlan_start: null +settings: + editable: + kernel_params: + kernel: + description: Default kernel parameters + label: Initial parameters + type: text + value: console=ttyAMA0,115200 console=ttyS0,115200 net.ifnames=1 biosdevname=0 + rootdelay=90 nomodeset + repo_setup: + repos: + description: 'Please note: the first repository will be considered the operating + system mirror that will be used during node provisioning. + + To create a local repository mirror on the Fuel master node, please follow + the instructions provided by running "fuel-createmirror --help" on the Fuel + master node. + + Please make sure your Fuel master node has Internet access to the repository + before attempting to create a mirror. + + For more details, please refer to the documentation (https://docs.mirantis.com/openstack/fuel/fuel-8.0/operations.html#external-ubuntu-ops). + + ' + extra_priority: null + type: custom_repo_configuration + value: + - name: ubuntu + priority: null + section: main universe multiverse + suite: trusty + type: deb + uri: http://ports.ubuntu.com/ + - name: ubuntu-updates + priority: null + section: main universe multiverse + suite: trusty-updates + type: deb + uri: http://ports.ubuntu.com/ + - name: ubuntu-security + priority: null + section: main universe multiverse + suite: trusty-security + type: deb + uri: http://ports.ubuntu.com/ + - name: mos + priority: 1050 + section: main restricted + suite: mos9.0 + type: deb + uri: http://10.20.0.2:8080/mitaka-9.0/ubuntu/x86_64 + - name: mos-updates + priority: 1050 + section: main restricted + suite: mos9.0-updates + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: mos-security + priority: 1050 + section: main restricted + suite: mos9.0-security + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: mos-holdback + priority: 1100 + section: main restricted + suite: mos9.0-holdback + type: deb + uri: http://linux.enea.com/mos-repos/ubuntu/9.0 + - name: Auxiliary + priority: 1150 + section: main restricted + suite: auxiliary + type: deb + uri: http://10.20.0.2:8080/mitaka-9.0/ubuntu/auxiliary + provision: + metadata: + group: general + label: Provision + restrictions: + - action: hide + condition: 'false' + weight: 80 + method: + type: hidden + value: image + packages: + label: Initial packages + type: textarea + value: 'acl + + anacron + + bash-completion + + bridge-utils + + bsdmainutils + + build-essential + + cloud-init + + curl + + daemonize + + debconf-utils + + gdisk + + grub-efi-arm64 + + hpsa-dkms + + hwloc + + i40e-dkms + + linux-firmware + + linux-firmware-nonfree + + linux-headers-generic-lts-xenial + + linux-image-generic-lts-xenial + + lvm2 + + mcollective + + mdadm + + multipath-tools + + multipath-tools-boot + + nailgun-agent + + nailgun-mcagents + + network-checker + + ntp + + openssh-client + + openssh-server + + puppet + + python-amqp + + ruby-augeas + + ruby-ipaddress + + ruby-json + + ruby-netaddr + + ruby-openstack + + ruby-shadow + + ruby-stomp + + telnet + + ubuntu-minimal + + ubuntu-standard + + uuid-runtime + + vim + + virt-what + + vlan + + ' + weight: 10 diff --git a/labs/arm/pod3/fuel/config/dha.yaml b/labs/arm/pod3/fuel/config/dha.yaml new file mode 100644 index 0000000..91f6e19 --- /dev/null +++ b/labs/arm/pod3/fuel/config/dha.yaml @@ -0,0 +1,81 @@ +dha-pod-config-metadata: + title: Deployment Hardware Adapter (DHA) + # DHA API version supported + version: 0.0.3 + created: Tue Sep 6 11:52:02 2016 + comment: Enea Armband arm-pod3 DHA (AMD Softiron) + +# Adapter to use for this definition +# adapter: [ipmi|libvirt] +adapter: ipmi + +# Node list. +# Mandatory properties are id and role. +# All other properties are adapter specific. +# For Non-Fuel nodes controlled by: +# - ipmi adapter you need to provide: +# pxeMac +# ipmiIp +# ipmiUser +# ipmiPass +# and you *MAY* provide (optional, not added by reap.py): +# ipmiPort +# - libvirt adapter you need to provide: +# libvirtName: <whatever> +# libvirtTemplate: [libvirt/vms/controller.xml | libvirt/vms/compute.xml] +# +# For the Fuel Node you need to provide: +# libvirtName: <whatever> +# libvirtTemplate: libvirt/vms/fuel.xml +# isFuel: yes +# username: root +# password: r00tme + +nodes: +- id: 1 + ipmiIp: 10.0.8.3 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:08:ae +- id: 2 + ipmiIp: 10.0.8.4 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:08:b1 +- id: 3 + ipmiIp: 10.0.8.5 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:08:bd +- id: 4 + ipmiIp: 10.0.8.6 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:08:c6 +- id: 5 + ipmiIp: 10.0.8.7 + ipmiPass: admin + ipmiUser: admin + libvirtName: null + libvirtTemplate: null + pxeMac: e0:ff:f7:00:08:cf +# Adding the Fuel node as node id 6 +# which may not be correct - please adjust as needed. +- id: 6 + isFuel: true + libvirtName: armband-pod3 + libvirtTemplate: templates/hardware_environment/vms/enea_lab/fuel.xml + password: r00tme + username: root +disks: + compute: 100G + controller: 100G + fuel: 100G diff --git a/labs/arm/pod3/fuel/config/local_env b/labs/arm/pod3/fuel/config/local_env new file mode 100644 index 0000000..33109c8 --- /dev/null +++ b/labs/arm/pod3/fuel/config/local_env @@ -0,0 +1,3 @@ +export LIBVIRT_DEFAULT_URI=qemu+ssh://jenkins@10.0.2.5/system +export DEFAULT_BRIDGE=admin7_br0,public7_br0 +export DEPLOY_TIMEOUT=360 |