diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-05-12 00:54:16 -0400 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-05-14 00:28:19 -0400 |
commit | d30feeb0b603430cff45418e81981ad881b8ee9f (patch) | |
tree | 22a59a17d6d2afb3a2eef8c3a3c386b49a5f557b /labs/zte | |
parent | 0712bbd2537dca66437c3356ac9a7e0c3257c31b (diff) |
Add ZTE POD specific configuration.
Change-Id: Id1f051599b5d92a0d84aea3b221d09de9f4570ee
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'labs/zte')
-rw-r--r-- | labs/zte/pod1/fuel/config/dea-pod-override.yaml | 352 | ||||
-rw-r--r-- | labs/zte/pod1/fuel/config/dha.yaml | 49 |
2 files changed, 401 insertions, 0 deletions
diff --git a/labs/zte/pod1/fuel/config/dea-pod-override.yaml b/labs/zte/pod1/fuel/config/dea-pod-override.yaml new file mode 100644 index 0000000..77b6dab --- /dev/null +++ b/labs/zte/pod1/fuel/config/dea-pod-override.yaml @@ -0,0 +1,352 @@ +############################################################################## +# Copyright (c) 2015 Ericsson AB and others. +# jonas.bjurel@ericsson.com +# 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 +############################################################################## + +dea-pod-override-config-metadata: + title: 'Deployment Environment Adapter POD override for Development Pipeline - Default version' + version: '0.3' + created: 'Jan 26 2016' + comment: 'Rebased for Fuel8' +environment: + name: opnfv-zte +fuel: + ADMIN_NETWORK: + dhcp_pool_end: 10.20.0.254 + dhcp_pool_start: 10.20.0.20 + ipaddress: 10.20.0.2 + netmask: 255.255.255.0 + DNS_DOMAIN: domain.tld + DNS_SEARCH: domain.tld + DNS_UPSTREAM: 114.114.114.114 + HOSTNAME: fuel + NTP1: 10.20.0.1 + NTP2: + NTP3: +interfaces_1: + enp129s0f0: + - fuelweb_admin + - management + enp2s0f0: + - private + - public + enp132s0f0: + - storage +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: enp129s0f0 + - action: add-port + bridge: br-mgmt + name: enp129s0f0.101 + - action: add-port + bridge: br-storage + name: enp132s0f0.102 + - action: add-port + bridge: br-ex + name: enp2s0f0 + - action: add-port + bridge: br-mesh + name: enp2s0f0.103 +network: + networking_parameters: + base_mac: fa:16:3e:00:00:00 + configuration_template: null + dns_nameservers: + - 114.114.114.114 + floating_name: admin_floating_net + floating_ranges: + - - 172.10.0.130 + - 172.10.0.254 + 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: 172.10.0.0/24 + gateway: 172.10.0.1 + ip_ranges: + - - 172.10.0.2 + - 172.10.0.126 + meta: + cidr: 172.10.0.0/24 + configurable: true + floating_range_var: floating_ranges + ip_range: + - 172.10.0.2 + - 172.10.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.11.0/24 + gateway: null + ip_ranges: + - - 192.168.11.1 + - 192.168.11.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: 102 + - cidr: 192.168.10.0/24 + gateway: null + ip_ranges: + - - 192.168.10.1 + - 192.168.10.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: 101 + - cidr: 192.168.12.0/24 + gateway: null + ip_ranges: + - - 192.168.12.1 + - 192.168.12.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: 103 + - cidr: 10.20.0.0/24 + gateway: 10.20.0.2 + ip_ranges: + - - 10.20.0.20 + - 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 + public_vip: 172.10.0.2 + public_vrouter_vip: 172.10.0.3 +settings: + editable: + external_dns: + dns_list: + description: List of upstream DNS servers, separated by comma + label: DNS list + regex: + error: Invalid IP address list + source: ^\*$|^(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3}(?:\s*,\s*(?:\d|1?\d\d|2[0-4]\d|25[0-5])(?:\.(?:\d|1?\d\d|2[0-4]\d|25[0-5])){3})*$ + type: text + value: 114.114.114.114 + weight: 10 + metadata: + group: network + label: Host OS DNS Servers + weight: 30 + external_ntp: + metadata: + group: network + label: Host OS NTP Servers + weight: 40 + ntp_list: + description: List of upstream NTP servers, separated by comma + label: NTP server list + regex: + error: Invalid NTP server list + source: ^\s*(?:(?:\w+(?:-+\w+)*\.)+[a-z]+|\d{1,3}(?:\.\d{1,3}){3})\s*(?:,\s*(?:(?:\w+(?:-+\w+)*\.)+[a-z]+|\d{1,3}(\.\d{1,3}){3})\s*)*$ + type: text + value: 10.20.0.1 + weight: 10 + syslog: + metadata: + enabled: false + group: logging + label: Syslog + toggleable: true + weight: 50 + syslog_port: + description: Remote syslog port + label: Port + regex: + error: Invalid syslog port + source: ^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$ + type: text + value: '514' + weight: 20 + syslog_server: + description: Remote syslog hostname + label: Hostname + regex: + error: Invalid hostname + source: ^[a-zA-Z\d]+[-\.\da-zA-Z]*$ + type: text + value: '' + weight: 10 + syslog_transport: + label: Syslog transport protocol + type: radio + value: tcp + values: + - data: udp + description: '' + label: UDP + - data: tcp + description: '' + label: TCP + weight: 30 + repo_setup: + metadata: + always_editable: true + group: general + label: Repositories + weight: 50 + 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://mirrors.ustc.edu.cn/ubuntu/ + - name: ubuntu-updates + priority: null + section: main universe multiverse + suite: trusty-updates + type: deb + uri: http://mirrors.ustc.edu.cn/ubuntu/ + - name: ubuntu-security + priority: null + section: main universe multiverse + suite: trusty-security + type: deb + uri: http://mirrors.ustc.edu.cn/ubuntu/ + - name: mos + priority: 1050 + section: main restricted + suite: mos8.0 + type: deb + uri: http://10.20.0.2:8080/liberty-8.0/ubuntu/x86_64 + - name: mos-updates + priority: 1050 + section: main restricted + suite: mos8.0-updates + type: deb + uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/ + - name: mos-security + priority: 1050 + section: main restricted + suite: mos8.0-security + type: deb + uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/ + - name: mos-holdback + priority: 1100 + section: main restricted + suite: mos8.0-holdback + type: deb + uri: http://mirror.fuel-infra.org/mos-repos/ubuntu/8.0/ + - name: Auxiliary + priority: 1150 + section: main restricted + suite: auxiliary + type: deb + uri: http://10.20.0.2:8080/liberty-8.0/ubuntu/auxiliary + storage: + ephemeral_ceph: + description: Configures Nova to store ephemeral volumes in RBD. This works + best if Ceph is enabled for volumes and images, too. Enables live migration + of all types of Ceph backed VMs (without this option, live migration will + only work with VMs launched from Cinder volumes). + label: Ceph RBD for ephemeral volumes (Nova) + type: checkbox + value: true + weight: 75 + images_ceph: + description: Configures Glance to use the Ceph RBD backend to store images. + If enabled, this option will prevent Swift from installing. + label: Ceph RBD for images (Glance) + label: Ceph RBD for images (Glance) + restrictions: + - settings:storage.images_vcenter.value == true: Only one Glance backend could + be selected. + type: checkbox + value: true + weight: 30 + diff --git a/labs/zte/pod1/fuel/config/dha.yaml b/labs/zte/pod1/fuel/config/dha.yaml new file mode 100644 index 0000000..474cfa0 --- /dev/null +++ b/labs/zte/pod1/fuel/config/dha.yaml @@ -0,0 +1,49 @@ +dha-pod-config-metadata: + title: Deployment Hardware Adapter (DHA) for fuel development pipeline - default version + version: 0.0.3 + created: Feb 1 2016 + comment: Default Fuel8 version + +# Adapter to use for this definition +adapter: zte + +# Node list. +# Mandatory property is id, all other properties are adapter specific. + +nodes: +- id: 1 + pxeMac: 4c:09:b4:b2:59:87 + ipmiIp: 129.5.1.101 + ipmiUser: zteroot + ipmiPass: superuser +- id: 2 + pxeMac: 4c:09:b4:b2:59:fc + ipmiIp: 129.5.1.22 + ipmiUser: zteroot + ipmiPass: superuser +- id: 3 + pxeMac: 4c:09:b4:b2:59:a2 + ipmiIp: 129.5.1.3 + ipmiUser: zteroot + ipmiPass: superuser +- id: 4 + pxeMac: 4c:09:b4:b2:59:d8 + ipmiIp: 129.5.1.4 + ipmiUser: zteroot + ipmiPass: superuser +- id: 5 + pxeMac: 4c:09:b4:b2:59:75 + ipmiIp: 129.5.1.5 + ipmiUser: zteroot + ipmiPass: superuser +# Adding the Fuel node as node id 6 which may not be correct - please +# adjust as needed. +- id: 7 + libvirtName: fuel-opnfv + libvirtTemplate: templates/hardware_environment/vms/fuel.xml + isFuel: yes + username: root + password: r00tme + +disks: + fuel: 100G |