summaryrefslogtreecommitdiffstats
path: root/config/pod1.yaml
blob: 77533bb2d51d809603eb6846df25f4c636fdd79e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
---
### POD descriptor file ###

details:
  pod_owner: Lab Owner
  contact: email@address.com
  lab: Linux Foundation
  location: Portland, Oregon, USA
  type: {production|development}
  link: http://wiki.opnfv.org/

jumphost:
  name: pod1-jump
  node:
    # type can be virtual or baremetal
    type: {baremetal|virtual}
    vendor: supermicro
    model: S2600JF
    arch: {x86_64|aarch64}
    cpus: 2
    # add values based on CFLAGS in GCC
    cpu_cflags: {broadwell|hasewell|etc}
    # physical cores, not including hyper-threads
    cores: 10
    memory: 32G
  # disk list
  disks:
    # first disk
    - name: {disk#number}
      # volume
      disk_capacity: {M|MB|G|GB|T|TB}
      # several disk types possible
      disk_type: {hdd|ssd|cdrom|tape}
      # several interface types possible
      disk_interface: {sata|sas|ssd|nvme}
      # define rotation speed of disk
      disk_rotation: {5400|7200|10000|15000}
    # second disk
    - name: 'disk2'
      disk_capacity: 2048G
      disk_type: hdd
      disk_interface: sas
      disk_rotation: 15000
  # operation system installed
  os: ubuntu-14.04
  remote_params: &remote_params
    # hardware management tool
    type: {ipmi|amt}
    versions:
      - 1.0
      - 2.0
    user: root
    pass: root
  remote_management:
    <<: *remote_params
    address: 10.4.7.3/24
    mac_address: "10:23:45:67:89:AC"
  # physical interface list
  interfaces:
    # first interface
    - nic: {nic#number}
      # ip address of nic
      address: 192.168.100.1
      mac_address: "10:23:45:67:89:AC"
      # vlan tag, may have multiple tags
      vlan: {native|1-4095}
    # second interface
    - nic: 'nic2'
      address: 10.20.0.1/24
      mac_address: "10:23:45:67:89:5B"
nodes:
  - name: pod1-node1
    # for nodes in the same pod may have the same configuration
    node: &nodeparas
      type: baremetal
      vendor: supermicro
      model: S2600JF
      arch: x86_64
      cpus: 2
      cpu_cflags: hasewell
      cores: 12
      memory: 128G
    # for nodes in the same pod may have the same configuration
    disks: &disks
      - name: 'disk1'
        disk_capacity: 4906G
        disk_type: hdd
        disk_interface: sata
        disk_rotation: 7200
      - name: 'disk2'
        disk_capacity: 2048G
        disk_type: hdd
        disk_interface: sas
        disk_rotation: 15000
      - name: 'disk3'
        disk_capacity: 600G
        disk_type: ssd
        disk_interface: ssd
        disk_rotation: 15000
    remote_management:
      <<: *remote_params
      address: 10.4.7.7/24
      mac_address: "10:20:22:67:89:A2"
    interfaces:
      - name: 'nic1'
        speed: {1gb|10gb|25gb|40gb}
        features: {dpdk|sriov}
        address: 10.2.4.7/24
        mac_address: "10:23:22:67:89:AC"
        vlan: 201
      - name: 'nic2'
        speed: 1gb
        features: ''
        address: 10.2.4.7/24
        mac_address: "10:23:22:67:89:5B"
        vlan: 202
      - name: 'nic3'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:1b:21:22:f1:b4"
        vlan: 203
      - name: 'nic4'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:1b:21:22:f1:b5"
        vlan: 204
  - name: pod1-node2
    node: *nodeparas
    # disks are same as pod1-node1
    disks: *disks
    remote_management:
      <<: *remote_params
      address: 10.4.7.8/24
      mac_address: "10:20:22:67:88:A3"
    interfaces:
      - name: 'nic1'
        speed: 1gb
        features: ''
        address: 10.2.4.8/24
        mac_address: "10:23:22:67:88:AC"
        vlan: 201
      - name: 'nic2'
        speed: 1gb
        features: ''
        address: 10.2.4.8/24
        mac_address: "10:23:22:67:88:5B"
        vlan: 202
      - name: 'nic3'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:1b:21:22:f8:b4"
        vlan: 203
      - name: 'nic4'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:1b:21:22:f8:b5"
  - name: pod1-node3
    node: *nodeparas
    # disks are same as pod1-node1
    disks: *disks
    remote_management:
      <<: *remote_params
      address: 10.4.7.9/24
      mac_address: "10:30:22:67:88:A3"
    interfaces:
      - name: 'nic1'
        speed: 1gb
        features: ''
        address: 10.2.4.9/24
        mac_address: "10:33:22:67:88:AC"
        vlan: 201
      - name: 'nic2'
        speed: 1gb
        features: ''
        address: 10.2.4.9/24
        mac_address: "10:33:22:67:88:5B"
        vlan: 202
      - name: 'nic3'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:3b:21:22:f8:b4"
        vlan: 203
      - name: 'nic4'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:3b:21:22:f8:b5"
  - name: pod1-node4
    node: *nodeparas
    # disks are same as pod1-node1
    disks: *disks
    remote_management:
      <<: *remote_params
      address: 10.4.7.10/24
      mac_address: "10:40:22:67:88:A3"
    interfaces:
      - name: 'nic1'
        speed: 1gb
        features: ''
        address: 10.2.4.10/24
        mac_address: "10:43:22:67:88:AC"
        vlan: 201
      - name: 'nic2'
        speed: 1gb
        features: ''
        address: 10.2.4.10/24
        mac_address: "10:43:22:67:88:5B"
        vlan: 202
      - name: 'nic3'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:4b:21:22:f8:b4"
        vlan: 203
      - name: 'nic4'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:4b:21:22:f8:b5"
  - name: pod1-node5
    node: *nodeparas
    # disks are same as pod1-node1
    disks: *disks
    remote_management:
      <<: *remote_params
      address: 10.4.7.11/24
      mac_address: "10:50:22:67:88:A3"
    interfaces:
      - name: 'nic1'
        speed: 1gb
        features: ''
        address: 10.2.4.11/24
        mac_address: "10:53:22:67:88:AC"
        vlan: 201
      - name: 'nic2'
        speed: 1gb
        features: ''
        address: 10.2.4.11/24
        mac_address: "10:53:22:67:88:5B"
        vlan: 202
      - name: 'nic3'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:5b:21:22:f8:b4"
        vlan: 203
      - name: 'nic4'
        speed: 10gb
        features: 'dpdk|sriov'
        mac_address: "00:5b:21:22:f8:b5"