changed/added license heading. Moved some json files to yaml
[osm/openvim.git] / test / hosts / host-example3.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-3
25   user: user
26   password: password
27   ip_name: fakehost3
28 host-data:
29   name: fake-host-3
30   ranking: 300
31   description: fake host 3 for test mode
32   ip_name: fakehost3
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: port1/0
93       switch_dpid: '00:01:02:03:04:05:06:07'
94       sriovs:
95       - mac: ce:24:06:7d:7a:5b
96         pci: '0000:44:10.0'
97         source_name: 0
98         vlan: 102
99       - mac: a6:2d:10:75:dc:06
100         pci: '0000:44:10.2'
101         source_name: 1
102         vlan: 103
103       - mac: 4a:39:f1:d1:aa:46
104         pci: '0000:44:10.4'
105         source_name: 2
106         vlan: 104
107       - mac: ee:df:34:b3:cf:50
108         pci: '0000:44:10.6'
109         source_name: 3
110         vlan: 101
111       - mac: 46:02:47:d8:f5:66
112         pci: '0000:44:11.0'
113         source_name: 4
114         vlan: 107
115       - mac: a6:11:78:97:b4:ab
116         pci: '0000:44:11.2'
117         source_name: 5
118         vlan: 100
119       - mac: 36:c0:13:a4:4c:77
120         pci: '0000:44:11.4'
121         source_name: 6
122         vlan: 105
123       - mac: b6:3b:b5:43:3a:44
124         pci: '0000:44:11.6'
125         source_name: 7
126         vlan: 106
127       mac: a0:36:9f:25:97:f4
128     - source_name: p2p2
129       Mbps: 10000
130       pci: '0000:44:00.1'
131       switch_port: port1/1
132       switch_dpid: '00:01:02:03:04:05:06:07'
133       sriovs:
134       - mac: f6:38:e9:5e:f9:42
135         pci: '0000:44:10.1'
136         source_name: 0
137         vlan: 102
138       - mac: f6:1e:b9:d3:15:69
139         pci: '0000:44:10.3'
140         source_name: 1
141         vlan: 103
142       - mac: 2e:22:7f:44:86:e0
143         pci: '0000:44:10.5'
144         source_name: 2
145         vlan: 100
146       - mac: 5a:3f:db:66:d6:90
147         pci: '0000:44:10.7'
148         source_name: 3
149         vlan: 104
150       - mac: b2:05:b8:f3:ae:20
151         pci: '0000:44:11.1'
152         source_name: 4
153         vlan: 101
154       - mac: fa:fe:24:82:12:b5
155         pci: '0000:44:11.3'
156         source_name: 5
157         vlan: 105
158       - mac: 36:2a:0e:cb:29:01
159         pci: '0000:44:11.5'
160         source_name: 6
161         vlan: 106
162       - mac: 46:71:c0:8a:9c:48
163         pci: '0000:44:11.7'
164         source_name: 7
165         vlan: 107
166       mac: a0:36:9f:25:97:f6
167     - source_name: p3p2
168       Mbps: 10000
169       pci: '0000:43:00.1'
170       switch_port: port1/3
171       switch_dpid: '00:01:02:03:04:05:06:07'
172       sriovs:
173       - mac: 72:fd:7a:af:91:57
174         pci: '0000:43:10.1'
175         source_name: 0
176         vlan: 103
177       - mac: fa:c4:d7:e1:3b:07
178         pci: '0000:43:10.3'
179         source_name: 1
180         vlan: 100
181       - mac: c2:03:28:4a:0a:8e
182         pci: '0000:43:10.5'
183         source_name: 2
184         vlan: 101
185       - mac: 66:1b:78:65:67:e2
186         pci: '0000:43:10.7'
187         source_name: 3
188         vlan: 102
189       - mac: be:4b:e9:77:ff:a2
190         pci: '0000:43:11.1'
191         source_name: 4
192         vlan: 104
193       - mac: 02:9a:94:e2:79:c0
194         pci: '0000:43:11.3'
195         source_name: 5
196         vlan: 105
197       - mac: b2:80:62:dd:09:ea
198         pci: '0000:43:11.5'
199         source_name: 6
200         vlan: 106
201       - mac: ea:41:30:8e:af:b9
202         pci: '0000:43:11.7'
203         source_name: 7
204         vlan: 107
205       mac: a0:36:9f:25:97:de
206     - source_name: p3p1
207       Mbps: 10000
208       pci: '0000:43:00.0'
209       switch_port: port1/2
210       switch_dpid: '00:01:02:03:04:05:06:07'
211       sriovs:
212       - mac: 66:80:a0:55:83:93
213         pci: '0000:43:10.0'
214         source_name: 0
215         vlan: 102
216       - mac: fe:fd:72:b8:fe:bb
217         pci: '0000:43:10.2'
218         source_name: 1
219         vlan: 103
220       - mac: 6a:70:92:7f:6b:7b
221         pci: '0000:43:10.4'
222         source_name: 2
223         vlan: 100
224       - mac: 3a:14:75:5e:63:15
225         pci: '0000:43:10.6'
226         source_name: 3
227         vlan: 101
228       - mac: 2e:c9:5d:6e:27:48
229         pci: '0000:43:11.0'
230         source_name: 4
231         vlan: 104
232       - mac: 02:f7:bb:82:78:1f
233         pci: '0000:43:11.2'
234         source_name: 5
235         vlan: 105
236       - mac: 0e:5e:b6:a8:6c:80
237         pci: '0000:43:11.4'
238         source_name: 6
239         vlan: 107
240       - mac: 8e:bf:81:bc:cb:44
241         pci: '0000:43:11.6'
242         source_name: 7
243         vlan: 106
244       mac: a0:36:9f:25:97:dc
245     numa_socket: 1
246     hugepages: 28
247     memory: 32
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: port1/4
304       switch_dpid: '00:01:02:03:04:05:06:07'
305       sriovs:
306       - mac: aa:ef:2c:23:ae:04
307         pci: '0000:04:10.0'
308         source_name: 0
309         vlan: 104
310       - mac: 2e:d5:b9:3e:c4:8b
311         pci: '0000:04:10.2'
312         source_name: 1
313         vlan: 105
314       - mac: 4e:d6:55:09:17:1e
315         pci: '0000:04:10.4'
316         source_name: 2
317         vlan: 106
318       - mac: ce:42:cc:9c:5a:32
319         pci: '0000:04:10.6'
320         source_name: 3
321         vlan: 107
322       - mac: 1e:71:34:7f:5d:47
323         pci: '0000:04:11.0'
324         source_name: 4
325         vlan: 102
326       - mac: 26:5c:e4:db:8c:48
327         pci: '0000:04:11.2'
328         source_name: 5
329         vlan: 103
330       - mac: 5e:48:23:56:63:c0
331         pci: '0000:04:11.4'
332         source_name: 6
333         vlan: 100
334       - mac: 9a:a2:fa:97:19:84
335         pci: '0000:04:11.6'
336         source_name: 7
337         vlan: 101
338       mac: a0:36:9f:27:46:a0
339     - source_name: p5p2
340       Mbps: 10000
341       pci: '0000:04:00.1'
342       switch_port: port1/5
343       switch_dpid: '00:01:02:03:04:05:06:07'
344       sriovs:
345       - mac: 0a:9b:b5:d1:e6:34
346         pci: '0000:04:10.1'
347         source_name: 0
348         vlan: 104
349       - mac: 5e:87:4a:22:e9:57
350         pci: '0000:04:10.3'
351         source_name: 1
352         vlan: 105
353       - mac: ea:94:d5:f6:ee:bb
354         pci: '0000:04:10.5'
355         source_name: 2
356         vlan: 106
357       - mac: 5a:3f:17:6b:bb:8b
358         pci: '0000:04:10.7'
359         source_name: 3
360         vlan: 107
361       - mac: 8e:af:5c:cc:c8:82
362         pci: '0000:04:11.1'
363         source_name: 4
364         vlan: 102
365       - mac: 3e:a0:df:f0:2b:07
366         pci: '0000:04:11.3'
367         source_name: 5
368         vlan: 103
369       - mac: ae:7d:00:9b:54:4d
370         pci: '0000:04:11.5'
371         source_name: 6
372         vlan: 100
373       - mac: fa:b5:0d:c6:78:87
374         pci: '0000:04:11.7'
375         source_name: 7
376         vlan: 101
377       mac: a0:36:9f:27:46:a2
378     - source_name: p7p1
379       Mbps: 10000
380       pci: '0000:06:00.0'
381       switch_port: port1/6
382       switch_dpid: '00:01:02:03:04:05:06:07'
383       sriovs:
384       - mac: 22:4a:21:37:84:80
385         pci: '0000:06:10.0'
386         source_name: 0
387         vlan: 104
388       - mac: b2:8f:2c:04:08:08
389         pci: '0000:06:10.2'
390         source_name: 1
391         vlan: 103
392       - mac: fe:2e:71:1f:99:dd
393         pci: '0000:06:10.4'
394         source_name: 2
395         vlan: 106
396       - mac: 1a:2c:7c:98:39:b6
397         pci: '0000:06:10.6'
398         source_name: 3
399         vlan: 105
400       - mac: 6e:39:08:a9:7e:b1
401         pci: '0000:06:11.0'
402         source_name: 4
403         vlan: 107
404       - mac: 4a:00:f3:5b:15:27
405         pci: '0000:06:11.2'
406         source_name: 5
407         vlan: 102
408       - mac: b2:c3:48:da:24:55
409         pci: '0000:06:11.4'
410         source_name: 6
411         vlan: 101
412       - mac: 72:85:cd:18:ee:5d
413         pci: '0000:06:11.6'
414         source_name: 7
415         vlan: 100
416       mac: a0:36:9f:27:45:80
417     - source_name: p7p2
418       Mbps: 10000
419       pci: '0000:06:00.1'
420       switch_port: port1/7
421       switch_dpid: '00:01:02:03:04:05:06:07'
422       sriovs:
423       - mac: 0a:60:1a:9d:ba:e2
424         pci: '0000:06:10.1'
425         source_name: 0
426         vlan: 104
427       - mac: 72:cb:0a:99:2f:7e
428         pci: '0000:06:10.3'
429         source_name: 1
430         vlan: 103
431       - mac: f2:2b:6b:d8:95:aa
432         pci: '0000:06:10.5'
433         source_name: 2
434         vlan: 106
435       - mac: b2:3a:4a:a8:c9:e9
436         pci: '0000:06:10.7'
437         source_name: 3
438         vlan: 105
439       - mac: 06:85:75:b1:e8:10
440         pci: '0000:06:11.1'
441         source_name: 4
442         vlan: 107
443       - mac: 12:41:69:61:89:3a
444         pci: '0000:06:11.3'
445         source_name: 5
446         vlan: 102
447       - mac: 86:03:a8:5a:ad:71
448         pci: '0000:06:11.5'
449         source_name: 6
450         vlan: 101
451       - mac: ca:9c:5c:ad:e2:e2
452         pci: '0000:06:11.7'
453         source_name: 7
454         vlan: 100
455       mac: a0:36:9f:27:45:82
456     numa_socket: 0
457     hugepages: 28
458     memory: 32
459