diff options
Diffstat (limited to 'labs/arm/pod2/fuel')
-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 |
3 files changed, 461 insertions, 0 deletions
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 |