changed/added license heading. Moved some json files to yaml
[osm/openvim.git] / test / hosts / host-example0.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-0
25   user: user
26   password: password
27   ip_name: fakehost0
28 host-data:
29   name: fake-host-0
30   ranking: 300
31   description: fake host 0 for test mode
32   ip_name: fakehost0
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: 12
40       status: noteligible
41     - core_id: 0
42       thread_id: 36
43       status: noteligible
44     - core_id: 1
45       thread_id: 13
46     - core_id: 1
47       thread_id: 37
48     - core_id: 2
49       thread_id: 14
50     - core_id: 2
51       thread_id: 38
52     - core_id: 3
53       thread_id: 15
54     - core_id: 3
55       thread_id: 39
56     - core_id: 4
57       thread_id: 16
58     - core_id: 4
59       thread_id: 40
60     - core_id: 5
61       thread_id: 17
62     - core_id: 5
63       thread_id: 41
64     - core_id: 6
65       thread_id: 18
66     - core_id: 6
67       thread_id: 42
68     - core_id: 7
69       thread_id: 19
70     - core_id: 7
71       thread_id: 43
72     - core_id: 8
73       thread_id: 20
74     - core_id: 8
75       thread_id: 44
76     - core_id: 9
77       thread_id: 21
78     - core_id: 9
79       thread_id: 45
80     - core_id: 10
81       thread_id: 22
82     - core_id: 10
83       thread_id: 46
84     - core_id: 11
85       thread_id: 23
86     - core_id: 11
87       thread_id: 47
88     numa_socket: 1
89     hugepages: 28
90     memory: 32
91   - cores:
92     - core_id: 0
93       thread_id: 0
94       status: noteligible
95     - core_id: 0
96       thread_id: 24
97       status: noteligible
98     - core_id: 1
99       thread_id: 1
100     - core_id: 1
101       thread_id: 25
102     - core_id: 2
103       thread_id: 2
104     - core_id: 2
105       thread_id: 26
106     - core_id: 3
107       thread_id: 3
108     - core_id: 3
109       thread_id: 27
110     - core_id: 4
111       thread_id: 4
112     - core_id: 4
113       thread_id: 28
114     - core_id: 5
115       thread_id: 5
116     - core_id: 5
117       thread_id: 29
118     - core_id: 6
119       thread_id: 6
120     - core_id: 6
121       thread_id: 30
122     - core_id: 7
123       thread_id: 7
124     - core_id: 7
125       thread_id: 31
126     - core_id: 8
127       thread_id: 8
128     - core_id: 8
129       thread_id: 32
130     - core_id: 9
131       thread_id: 9
132     - core_id: 9
133       thread_id: 33
134     - core_id: 10
135       thread_id: 10
136     - core_id: 10
137       thread_id: 34
138     - core_id: 11
139       thread_id: 11
140     - core_id: 11
141       thread_id: 35
142     interfaces:
143     - source_name: eth8
144       Mbps: 10000
145       pci: '0000:08:00.0'
146       switch_port: port0/2
147       switch_dpid: '00:01:02:03:04:05:06:07'
148       sriovs:
149       - mac: a6:12:27:bd:2d:ef
150         pci: '0000:08:10.0'
151         source_name: 0
152         vlan: 106
153       - mac: be:8a:40:58:cf:de
154         pci: '0000:08:10.2'
155         source_name: 1
156         vlan: 107
157       - mac: c6:bf:7a:30:13:55
158         pci: '0000:08:10.4'
159         source_name: 2
160         vlan: 103
161       - mac: be:32:50:ef:ea:4e
162         pci: '0000:08:10.6'
163         source_name: 3
164         vlan: 105
165       - mac: ae:36:60:bc:41:78
166         pci: '0000:08:11.0'
167         source_name: 4
168         vlan: 102
169       - mac: 52:22:3a:99:67:4e
170         pci: '0000:08:11.2'
171         source_name: 5
172         vlan: 104
173       - mac: 0a:b8:00:2c:8a:b2
174         pci: '0000:08:11.4'
175         source_name: 6
176         vlan: 100
177       - mac: e2:f6:70:83:a3:ec
178         pci: '0000:08:11.6'
179         source_name: 7
180         vlan: 101
181       mac: 90:e2:ba:0c:36:4c
182     - source_name: eth17
183       Mbps: 10000
184       pci: '0000:08:00.1'
185       switch_port: port0/3
186       switch_dpid: '00:01:02:03:04:05:06:07'
187       sriovs:
188       - mac: 92:0e:27:0c:ad:eb
189         pci: '0000:08:10.1'
190         source_name: 0
191         vlan: 105
192       - mac: be:99:65:e8:98:a3
193         pci: '0000:08:10.3'
194         source_name: 1
195         vlan: 106
196       - mac: 8a:3b:54:42:88:b2
197         pci: '0000:08:10.5'
198         source_name: 2
199         vlan: 101
200       - mac: c6:5d:8a:c5:05:f7
201         pci: '0000:08:10.7'
202         source_name: 3
203         vlan: 103
204       - mac: 96:bd:61:02:4f:d6
205         pci: '0000:08:11.1'
206         source_name: 4
207         vlan: 102
208       - mac: 22:5d:85:2c:1b:fd
209         pci: '0000:08:11.3'
210         source_name: 5
211         vlan: 104
212       - mac: e6:7f:8a:48:bc:26
213         pci: '0000:08:11.5'
214         source_name: 6
215         vlan: 100
216       - mac: 2e:4a:e6:68:18:fa
217         pci: '0000:08:11.7'
218         source_name: 7
219         vlan: 107
220       mac: 90:e2:ba:0c:36:4d
221     - source_name: eth26
222       Mbps: 10000
223       pci: '0000:06:00.0'
224       switch_port: port0/0
225       switch_dpid: '00:01:02:03:04:05:06:07'
226       sriovs:
227       - mac: 02:79:15:02:ad:cc
228         pci: '0000:06:10.0'
229         source_name: 0
230         vlan: 104
231       - mac: 06:81:ef:de:ec:6b
232         pci: '0000:06:10.2'
233         source_name: 1
234         vlan: 103
235       - mac: f2:4e:96:f3:8e:73
236         pci: '0000:06:10.4'
237         source_name: 2
238         vlan: 106
239       - mac: e2:86:91:23:c5:76
240         pci: '0000:06:10.6'
241         source_name: 3
242         vlan: 105
243       - mac: 52:12:a0:77:cc:47
244         pci: '0000:06:11.0'
245         source_name: 4
246         vlan: 107
247       - mac: ca:17:4a:c4:cb:bf
248         pci: '0000:06:11.2'
249         source_name: 5
250         vlan: 102
251       - mac: de:13:4c:5d:70:e8
252         pci: '0000:06:11.4'
253         source_name: 6
254         vlan: 101
255       - mac: 0a:5f:d2:db:7f:e2
256         pci: '0000:06:11.6'
257         source_name: 7
258         vlan: 100
259       mac: 90:e2:ba:0b:6b:b4
260     - source_name: eth35
261       Mbps: 10000
262       pci: '0000:06:00.1'
263       switch_port: port0/1
264       switch_dpid: '00:01:02:03:04:05:06:07'
265       sriovs:
266       - mac: a2:08:55:fe:c5:db
267         pci: '0000:06:10.1'
268         source_name: 0
269         vlan: 104
270       - mac: 7a:dd:c7:46:2a:91
271         pci: '0000:06:10.3'
272         source_name: 1
273         vlan: 103
274       - mac: 92:a8:1d:4e:cc:a8
275         pci: '0000:06:10.5'
276         source_name: 2
277         vlan: 106
278       - mac: 02:1a:d6:87:c4:cc
279         pci: '0000:06:10.7'
280         source_name: 3
281         vlan: 105
282       - mac: ea:1b:8b:2a:da:9a
283         pci: '0000:06:11.1'
284         source_name: 4
285         vlan: 107
286       - mac: aa:c3:fe:e5:f2:96
287         pci: '0000:06:11.3'
288         source_name: 5
289         vlan: 102
290       - mac: e2:66:1f:00:b3:45
291         pci: '0000:06:11.5'
292         source_name: 6
293         vlan: 101
294       - mac: da:3c:d8:a3:f4:e0
295         pci: '0000:06:11.7'
296         source_name: 7
297         vlan: 100
298       mac: 90:e2:ba:0b:6b:b5
299     numa_socket: 0
300     hugepages: 28
301     memory: 32
302