fda336ceda04471bde926e86e0c11995e609e969
[pharos.git] / labs / arm / virtual2.yaml
1 ##############################################################################
2 # Copyright (c) 2018 Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 ---
9 ### Enea ARM VIRTUAL 2 descriptor file ###
10
11 version: 1.0
12 details:
13   pod_owner: ENEA AB
14   contact: dan.lilliehorn@enea.com
15   lab: ENEA lab
16   location: Stockholm, Sweden
17   type: production
18   link: https://wiki.opnfv.org/display/pharos/Enea+Hosting
19 ##############################################################################
20 jumphost:
21   name: jenkins-slave-arm-virtual2
22   node:
23     type: baremetal
24     vendor: Cavium
25     model: ThunderX
26     arch: aarch64
27     cpus: 1
28     cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32
29     cores: 48
30     memory: 128G
31   disks:
32     - name: disk1
33       disk_capacity: 500G
34       disk_type: hdd
35       disk_interface: sata
36       disk_rotation: 7200
37   os: ubuntu-16.04
38   remote_params: &remote_params
39     type: ipmi
40     versions:
41       - 2.0
42     user: admin
43     pass: admin
44   remote_management:
45     <<: *remote_params
46     address: 10.0.1.34
47     mac_address: "00:00:00:00:00:00"
48   interfaces:
49     # Connected, used only for admin/PXE, enm5p144s0
50     - mac_address: "68:05:ca:3d:93:0c"
51       speed: 1gb
52       features: 'dpdk|sriov'
53       name: 'nic1'
54     # Not connected for now, enm2p1s0f1
55     - mac_address: "00:0f:b7:06:00:c0"
56       speed: 40gb
57       features: 'dpdk|sriov'
58       name: 'nic2'
59     # Connected, trunk for public, enm2p1s0f2
60     - mac_address: "00:0f:b7:06:00:c1"
61       speed: 10gb
62       features: 'dpdk|sriov'
63       name: 'nic3'
64     # Connected, enm2p1s0f3
65     - mac_address: "00:0f:b7:06:00:c2"
66       speed: 10gb
67       features: 'dpdk|sriov'
68       name: 'nic4'
69 ##############################################################################
70 nodes:
71   - name: node-1
72     node: &nodeparams
73       # Fuel overrides certain params (e.g. cpus, mem) based on node role later
74       type: virtual
75       vendor: libvirt
76       model: virt
77       arch: aarch64
78       cpus: 1
79       cpu_cflags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
80       cores: 8
81       memory: 6G
82     disks: &disks
83       - name: 'disk1'
84         disk_capacity: 100G
85         disk_type: hdd
86         disk_interface: scsi  # virtio-scsi
87         disk_rotation: 7200
88     remote_management: &remotemgmt
89       type: libvirt
90       user: changeme
91       pass: changeme
92       address: 'qemu:///system'
93     interfaces: &interfaces
94       - name: 'nic1'
95         speed: 1gb
96         features: 'dpdk|sriov'
97         mac_address: "00:00:00:00:00:00"  # MACs will be assigned by libvirt
98         vlan: native
99       - name: 'nic2'
100         speed: 1gb
101         features: 'dpdk|sriov'
102         mac_address: "00:00:00:00:00:00"
103         vlan: native
104       - name: 'nic3'
105         speed: 1gb
106         features: 'dpdk|sriov'
107         mac_address: "00:00:00:00:00:00"
108         vlan: native
109       - name: 'nic4'
110         speed: 1gb
111         features: 'dpdk|sriov'
112         mac_address: "00:00:00:00:00:00"
113         vlan: native
114   ############################################################################
115   - name: node-2
116     node: *nodeparams
117     disks: *disks
118     remote_management: *remotemgmt
119     interfaces: *interfaces
120   ############################################################################
121   - name: node-3
122     node: *nodeparams
123     disks: *disks
124     remote_management: *remotemgmt
125     interfaces: *interfaces
126   ############################################################################
127   - name: node-4
128     node: *nodeparams
129     disks: *disks
130     remote_management: *remotemgmt
131     interfaces: *interfaces
132   ############################################################################
133   - name: node-5
134     node: *nodeparams
135     disks: *disks
136     remote_management: *remotemgmt
137     interfaces: *interfaces