summaryrefslogtreecommitdiffstats
path: root/labs/zte
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-08-02 16:02:18 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-08-02 16:02:18 +0800
commit74da3fbf335c39a32139e81a1a107054c115f446 (patch)
treed02ca15f396c527e122263df1ada449f8fe15ab3 /labs/zte
parentcbf541e11184b707074d410127d7bd7b501ede3a (diff)
Add zte-pod2 configuration files.
Change-Id: Iea9accc96bfb1ca77c0b5ebe3e50b3ae33026346 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
Diffstat (limited to 'labs/zte')
-rw-r--r--labs/zte/pod2/fuel/config/dea-pod-override.yaml281
-rw-r--r--labs/zte/pod2/fuel/config/dha.yaml52
2 files changed, 333 insertions, 0 deletions
diff --git a/labs/zte/pod2/fuel/config/dea-pod-override.yaml b/labs/zte/pod2/fuel/config/dea-pod-override.yaml
new file mode 100644
index 0000000..ab6aee9
--- /dev/null
+++ b/labs/zte/pod2/fuel/config/dea-pod-override.yaml
@@ -0,0 +1,281 @@
+##############################################################################
+# 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.1.254
+ dhcp_pool_start: 10.20.1.3
+ ipaddress: 10.20.1.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.501
+ - action: add-port
+ bridge: br-storage
+ name: enp132s0f0.502
+ - action: add-port
+ bridge: br-ex
+ name: enp2s0f0
+ - action: add-port
+ bridge: br-mesh
+ name: enp2s0f0.503
+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.30.0.130
+ - 172.30.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.30.0.0/24
+ gateway: 172.30.0.1
+ ip_ranges:
+ - - 172.30.0.2
+ - 172.30.0.126
+ meta:
+ cidr: 172.30.0.0/24
+ configurable: true
+ floating_range_var: floating_ranges
+ ip_range:
+ - 172.30.0.2
+ - 172.30.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.31.0/24
+ gateway: null
+ ip_ranges:
+ - - 192.168.31.1
+ - 192.168.31.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: 502
+ - cidr: 192.168.30.0/24
+ gateway: null
+ ip_ranges:
+ - - 192.168.30.1
+ - 192.168.30.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: 501
+ - cidr: 192.168.32.0/24
+ gateway: null
+ ip_ranges:
+ - - 192.168.32.1
+ - 192.168.32.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: 503
+ - cidr: 10.20.1.0/24
+ gateway: 10.20.1.2
+ ip_ranges:
+ - - 10.20.1.3
+ - 10.20.1.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.20.0.2
+ public_vrouter_vip: 172.20.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
+ 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/pod2/fuel/config/dha.yaml b/labs/zte/pod2/fuel/config/dha.yaml
new file mode 100644
index 0000000..69001ad
--- /dev/null
+++ b/labs/zte/pod2/fuel/config/dha.yaml
@@ -0,0 +1,52 @@
+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: 3c:da:2a:e8:01:ed
+ ipmiIp: 129.5.1.9
+ ipmiUser: zteroot
+ ipmiPass: superuser
+- id: 2
+ pxeMac: 3c:da:2a:e8:02:4c
+ ipmiIp: 129.5.1.10
+ ipmiUser: zteroot
+ ipmiPass: superuser
+- id: 3
+ pxeMac: 3c:da:2a:e8:01:a7
+ ipmiIp: 129.5.1.11
+ ipmiUser: zteroot
+ ipmiPass: superuser
+- id: 4
+ pxeMac: 3c:da:2a:e8:01:ca
+ ipmiIp: 129.5.1.12
+ ipmiUser: zteroot
+ ipmiPass: superuser
+- id: 5
+ pxeMac: 3c:da:2a:e8:01:b6
+ ipmiIp: 129.5.1.13
+ ipmiUser: zteroot
+ ipmiPass: superuser
+
+
+# Adding the Fuel node as node id 7 which may not be correct - please
+# adjust as needed.
+- id: 7
+ libvirtName: fuel-opnfv-2
+ libvirtTemplate: templates/hardware_environment/vms/fuel.xml
+ isFuel: yes
+ username: root
+ password: r00tme
+
+disks:
+ fuel: 100G
+