changed/added license heading. Moved some json files to yaml
[osm/openvim.git] / test / hosts / host-example2.yaml
1 ##
2 # Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
3 # This file is part of openvim
4 # All Rights Reserved.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
7 # not use this file except in compliance with the License. You may obtain
8 # a copy of the License at
9 #
10 #         http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15 # License for the specific language governing permissions and limitations
16 # under the License.
17 #
18 # For those usages not covered by the Apache License, Version 2.0 please
19 # contact with: nfvlabs@tid.es
20 ##
21
22 ---
23 host:
24   name: fake-host-2
25   user: user
26   password: password
27   ip_name: fakehost2
28 host-data:
29   name: fake-host-2
30   ranking: 300
31   description: fake host 2 for test mode
32   ip_name: fakehost2
33   features: lps,dioc,hwsv,ht,64b,tlbps
34   user: user
35   password: password
36   numas:
37   - cores:
38     - core_id: 0
39       thread_id: 1
40       status: noteligible
41     - core_id: 0
42       thread_id: 25
43       status: noteligible
44     - core_id: 1
45       thread_id: 3
46     - core_id: 1
47       thread_id: 27
48     - core_id: 2
49       thread_id: 5
50     - core_id: 2
51       thread_id: 29
52     - core_id: 3
53       thread_id: 7
54     - core_id: 3
55       thread_id: 31
56     - core_id: 4
57       thread_id: 9
58     - core_id: 4
59       thread_id: 33
60     - core_id: 5
61       thread_id: 11
62     - core_id: 5
63       thread_id: 35
64     - core_id: 6
65       thread_id: 13
66     - core_id: 6
67       thread_id: 37
68     - core_id: 7
69       thread_id: 15
70     - core_id: 7
71       thread_id: 39
72     - core_id: 8
73       thread_id: 17
74     - core_id: 8
75       thread_id: 41
76     - core_id: 9
77       thread_id: 19
78     - core_id: 9
79       thread_id: 43
80     - core_id: 10
81       thread_id: 21
82     - core_id: 10
83       thread_id: 45
84     - core_id: 11
85       thread_id: 23
86     - core_id: 11
87       thread_id: 47
88     interfaces:
89     - source_name: p2p1
90       Mbps: 10000
91       pci: '0000:44:00.0'
92       switch_port: port0/12
93       switch_dpid: '00:01:02:03:04:05:06:07'
94       sriovs:
95       - mac: fe:49:52:59:2f:0b
96         pci: '0000:44:10.0'
97         source_name: 0
98         vlan: 102
99       - mac: 16:df:ee:65:d1:a9
100         pci: '0000:44:10.2'
101         source_name: 1
102         vlan: 103
103       - mac: e6:10:3a:09:cc:eb
104         pci: '0000:44:10.4'
105         source_name: 2
106         vlan: 104
107       - mac: f6:8e:ef:92:70:9a
108         pci: '0000:44:10.6'
109         source_name: 3
110         vlan: 101
111       - mac: fa:a5:0e:21:bc:89
112         pci: '0000:44:11.0'
113         source_name: 4
114         vlan: 107
115       - mac: fa:72:5a:b0:07:44
116         pci: '0000:44:11.2'
117         source_name: 5
118         vlan: 100
119       - mac: 3e:8f:5c:1a:5d:e1
120         pci: '0000:44:11.4'
121         source_name: 6
122         vlan: 105
123       - mac: f2:e0:34:e2:e1:2d
124         pci: '0000:44:11.6'
125         source_name: 7
126         vlan: 106
127       mac: a0:36:9f:35:e9:a0
128     - source_name: p2p2
129       Mbps: 10000
130       pci: '0000:44:00.1'
131       switch_port: port0/13
132       switch_dpid: '00:01:02:03:04:05:06:07'
133       sriovs:
134       - mac: ba:76:24:e0:79:75
135         pci: '0000:44:10.1'
136         source_name: 0
137         vlan: 102
138       - mac: b2:26:81:5b:18:7b
139         pci: '0000:44:10.3'
140         source_name: 1
141         vlan: 103
142       - mac: da:46:a9:f4:ab:42
143         pci: '0000:44:10.5'
144         source_name: 2
145         vlan: 100
146       - mac: 86:e0:ec:33:cc:18
147         pci: '0000:44:10.7'
148         source_name: 3
149         vlan: 104
150       - mac: ee:ee:49:da:20:75
151         pci: '0000:44:11.1'
152         source_name: 4
153         vlan: 101
154       - mac: be:fa:18:da:f3:ba
155         pci: '0000:44:11.3'
156         source_name: 5
157         vlan: 105
158       - mac: 96:fa:8d:ed:50:02
159         pci: '0000:44:11.5'
160         source_name: 6
161         vlan: 106
162       - mac: 22:1b:cb:33:a7:5a
163         pci: '0000:44:11.7'
164         source_name: 7
165         vlan: 107
166       mac: a0:36:9f:35:e9:a2
167     - source_name: p3p2
168       Mbps: 10000
169       pci: '0000:43:00.1'
170       switch_port: port0/15
171       switch_dpid: '00:01:02:03:04:05:06:07'
172       sriovs:
173       - mac: a6:6e:28:6c:5b:04
174         pci: '0000:43:10.1'
175         source_name: 0
176         vlan: 103
177       - mac: be:35:42:86:3d:fd
178         pci: '0000:43:10.3'
179         source_name: 1
180         vlan: 100
181       - mac: 0a:92:99:92:02:e4
182         pci: '0000:43:10.5'
183         source_name: 2
184         vlan: 101
185       - mac: b6:a6:3a:f1:1e:57
186         pci: '0000:43:10.7'
187         source_name: 3
188         vlan: 102
189       - mac: be:3f:1a:ef:76:c0
190         pci: '0000:43:11.1'
191         source_name: 4
192         vlan: 104
193       - mac: 6a:cc:a6:bf:61:cd
194         pci: '0000:43:11.3'
195         source_name: 5
196         vlan: 105
197       - mac: fe:c1:15:a9:c5:12
198         pci: '0000:43:11.5'
199         source_name: 6
200         vlan: 106
201       - mac: 6a:ff:59:aa:63:34
202         pci: '0000:43:11.7'
203         source_name: 7
204         vlan: 107
205       mac: a0:36:9f:35:ed:42
206     - source_name: p3p1
207       Mbps: 10000
208       pci: '0000:43:00.0'
209       switch_port: port0/14
210       switch_dpid: '00:01:02:03:04:05:06:07'
211       sriovs:
212       - mac: c6:18:cb:6c:c4:04
213         pci: '0000:43:10.0'
214         source_name: 0
215         vlan: 102
216       - mac: a6:4e:90:89:90:d8
217         pci: '0000:43:10.2'
218         source_name: 1
219         vlan: 103
220       - mac: fe:9a:82:91:a5:3a
221         pci: '0000:43:10.4'
222         source_name: 2
223         vlan: 100
224       - mac: 22:a3:ef:27:50:fd
225         pci: '0000:43:10.6'
226         source_name: 3
227         vlan: 101
228       - mac: c6:57:98:69:67:e2
229         pci: '0000:43:11.0'
230         source_name: 4
231         vlan: 104
232       - mac: 6a:f9:81:ae:40:94
233         pci: '0000:43:11.2'
234         source_name: 5
235         vlan: 105
236       - mac: 86:00:37:7f:6e:05
237         pci: '0000:43:11.4'
238         source_name: 6
239         vlan: 107
240       - mac: f2:e6:fc:7d:71:9b
241         pci: '0000:43:11.6'
242         source_name: 7
243         vlan: 106
244       mac: a0:36:9f:35:ed:40
245     numa_socket: 1
246     hugepages: 60
247     memory: 64
248   - cores:
249     - core_id: 0
250       thread_id: 0
251       status: noteligible
252     - core_id: 0
253       thread_id: 24
254       status: noteligible
255     - core_id: 1
256       thread_id: 2
257     - core_id: 1
258       thread_id: 26
259     - core_id: 2
260       thread_id: 4
261     - core_id: 2
262       thread_id: 28
263     - core_id: 3
264       thread_id: 6
265     - core_id: 3
266       thread_id: 30
267     - core_id: 4
268       thread_id: 8
269     - core_id: 4
270       thread_id: 32
271     - core_id: 5
272       thread_id: 10
273     - core_id: 5
274       thread_id: 34
275     - core_id: 6
276       thread_id: 12
277     - core_id: 6
278       thread_id: 36
279     - core_id: 7
280       thread_id: 14
281     - core_id: 7
282       thread_id: 38
283     - core_id: 8
284       thread_id: 16
285     - core_id: 8
286       thread_id: 40
287     - core_id: 9
288       thread_id: 18
289     - core_id: 9
290       thread_id: 42
291     - core_id: 10
292       thread_id: 20
293     - core_id: 10
294       thread_id: 44
295     - core_id: 11
296       thread_id: 22
297     - core_id: 11
298       thread_id: 46
299     interfaces:
300     - source_name: p5p1
301       Mbps: 10000
302       pci: '0000:04:00.0'
303       switch_port: port0/16
304       switch_dpid: '00:01:02:03:04:05:06:07'
305       sriovs:
306       - mac: 02:ef:c9:38:c7:01
307         pci: '0000:04:10.0'
308         source_name: 0
309         vlan: 104
310       - mac: 92:04:e9:fe:c7:f9
311         pci: '0000:04:10.2'
312         source_name: 1
313         vlan: 105
314       - mac: a2:41:32:78:25:48
315         pci: '0000:04:10.4'
316         source_name: 2
317         vlan: 106
318       - mac: 9e:65:ab:e8:a0:2b
319         pci: '0000:04:10.6'
320         source_name: 3
321         vlan: 107
322       - mac: 0a:38:88:4c:76:1b
323         pci: '0000:04:11.0'
324         source_name: 4
325         vlan: 102
326       - mac: 4e:8f:96:e1:d2:99
327         pci: '0000:04:11.2'
328         source_name: 5
329         vlan: 103
330       - mac: 62:b3:0a:15:1b:cc
331         pci: '0000:04:11.4'
332         source_name: 6
333         vlan: 100
334       - mac: fa:29:6a:04:c3:fc
335         pci: '0000:04:11.6'
336         source_name: 7
337         vlan: 101
338       mac: a0:36:9f:33:16:f4
339     - source_name: p5p2
340       Mbps: 10000
341       pci: '0000:04:00.1'
342       switch_port: port0/17
343       switch_dpid: '00:01:02:03:04:05:06:07'
344       sriovs:
345       - mac: 1a:07:7d:f5:ab:bf
346         pci: '0000:04:10.1'
347         source_name: 0
348         vlan: 104
349       - mac: 12:63:9b:75:5c:02
350         pci: '0000:04:10.3'
351         source_name: 1
352         vlan: 105
353       - mac: be:f8:54:de:8e:39
354         pci: '0000:04:10.5'
355         source_name: 2
356         vlan: 106
357       - mac: 82:bb:12:83:82:b9
358         pci: '0000:04:10.7'
359         source_name: 3
360         vlan: 107
361       - mac: 06:5c:e3:40:c3:e0
362         pci: '0000:04:11.1'
363         source_name: 4
364         vlan: 102
365       - mac: 32:54:10:77:36:d1
366         pci: '0000:04:11.3'
367         source_name: 5
368         vlan: 103
369       - mac: 0e:0f:3f:23:d6:17
370         pci: '0000:04:11.5'
371         source_name: 6
372         vlan: 100
373       - mac: 46:14:84:51:3d:ec
374         pci: '0000:04:11.7'
375         source_name: 7
376         vlan: 101
377       mac: a0:36:9f:33:16:f6
378     - source_name: p7p1
379       Mbps: 10000
380       pci: '0000:06:00.0'
381       switch_port: port0/18
382       switch_dpid: '00:01:02:03:04:05:06:07'
383       sriovs:
384       - mac: d6:8a:a7:27:bc:7c
385         pci: '0000:06:10.0'
386         source_name: 0
387         vlan: 104
388       - mac: 9e:f4:67:21:28:12
389         pci: '0000:06:10.2'
390         source_name: 1
391         vlan: 103
392       - mac: b6:f8:b7:c8:ae:07
393         pci: '0000:06:10.4'
394         source_name: 2
395         vlan: 106
396       - mac: 0e:e8:34:7a:3b:c4
397         pci: '0000:06:10.6'
398         source_name: 3
399         vlan: 105
400       - mac: 82:5d:0f:7a:20:91
401         pci: '0000:06:11.0'
402         source_name: 4
403         vlan: 107
404       - mac: f2:6b:6a:4a:e3:93
405         pci: '0000:06:11.2'
406         source_name: 5
407         vlan: 102
408       - mac: b2:d6:af:b0:12:f4
409         pci: '0000:06:11.4'
410         source_name: 6
411         vlan: 101
412       - mac: 22:0b:01:19:dd:3c
413         pci: '0000:06:11.6'
414         source_name: 7
415         vlan: 100
416       mac: a0:36:9f:33:0f:1c
417     - source_name: p7p2
418       Mbps: 10000
419       pci: '0000:06:00.1'
420       switch_port: port0/19
421       switch_dpid: '00:01:02:03:04:05:06:07'
422       sriovs:
423       - mac: 0a:2f:77:8f:53:da
424         pci: '0000:06:10.1'
425         source_name: 0
426         vlan: 104
427       - mac: a2:f5:63:1d:1c:4d
428         pci: '0000:06:10.3'
429         source_name: 1
430         vlan: 103
431       - mac: 86:80:6c:d8:da:e0
432         pci: '0000:06:10.5'
433         source_name: 2
434         vlan: 106
435       - mac: 5a:9d:1c:19:3f:07
436         pci: '0000:06:10.7'
437         source_name: 3
438         vlan: 105
439       - mac: ea:a9:fb:95:29:34
440         pci: '0000:06:11.1'
441         source_name: 4
442         vlan: 107
443       - mac: 0e:3a:e9:65:5b:d3
444         pci: '0000:06:11.3'
445         source_name: 5
446         vlan: 102
447       - mac: ce:cd:53:c6:7b:ca
448         pci: '0000:06:11.5'
449         source_name: 6
450         vlan: 101
451       - mac: 52:b1:4e:91:34:8c
452         pci: '0000:06:11.7'
453         source_name: 7
454         vlan: 100
455       mac: a0:36:9f:33:0f:1e
456     numa_socket: 0
457     hugepages: 60
458     memory: 64
459