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