summaryrefslogtreecommitdiffstats
path: root/labs/bii/pod1.yaml
blob: 1f5046b41148cdff687e6aa7e966fcf6fe3ab50c (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
### This is a BII POD1 descriptor file ###
---
details:
  pod owner: ylong@BII
  contact: ylong@biigroup.cn, zjtang@biigroup.cn
  lab: BII Pharos LAB
  location: BDA, Beijing, China
  type: development
  link: https://wiki.opnfv.org/display/pharos/BII
###################################################
net_config:
  admin:
    interface: 0
    vlan: 0
    network: 10.20.0.0
    mask: 24
    gateway: 10.20.0.1
    dns: 10.20.0.1
  mgmt:
    interface: 0
    vlan: 102
    network: 192.168.102.0
    mask: 24
  storage:
    interface: 0
    vlan: 101
    network: 192.168.101.0
    mask: 24
  private:
    interface: 0
    vlan: 103
    network: 192.168.103.0
    mask: 24
  public:
    interface: 1
    vlan: 0
    network: 192.168.20.0
    mask: 24
###################################################
jumphost:
  name: fuel
  node:
    type: baremetal         # can be virtual or baremetal
    vendor: Dell Inc.
    model: powerEdge 720
    arch: x86_64
    cpus: 2
    cpu_cflags: hasewell    # add values based on CFLAGS in GCC
    cores: 8                # physical cores, not including hyper-threads
    memory: 16G
  disks:                    # disk list
    - name: 'disk1'         # first disk
      disk_capacity: 300G   # volume
      disk_type: hdd        # several disk types possible
      disk_interface: sas   # several interface types possible
      disk_rotation: 15000  # define rotation speed of disk
    - name: 'disk2'         # second disk
      disk_capacity: 300G
      disk_type: hdd
      disk_interface: sas
      disk_rotation: 15000
    - name: 'disk3'         # third disk
      disk_capacity: 300G
      disk_type: hdd
      disk_interface: sas
      disk_rotation: 15000
    - name: 'disk4'         # fourth disk
      disk_capacity: 300G
      disk_type: hdd
      disk_interface: sas
      disk_rotation: 15000
    - name: 'disk5'         # fifth disk
      disk_capacity: 300G
      disk_type: hdd
      disk_interface: sas
      disk_rotation: 15000
  os: centos-7.3            # operation system installed
  remote_params: &remote_params
    type: ipmi
    versions:
      - 2.0
    user:
    pass:
  remote_management:
    <<: *remote_params
    address: 192.168.20.200
    mac_address: "44:A8:42:1A:68:78"
  interfaces:                               # physical interface list
    - "44:a8:42:15:10:03"
    - "44:a8:42:15:10:04"
  fixed_ips:
    admin: 10.20.0.2
    public: 192.168.20.5
###################################################
nodes:
  - name: compute1
    node: &nodeparas
      type: baremetal
      vendor: Dell Inc.
      model: powerEdge 720
      arch: x86_64
      cpus: 2
      cpu_cflags: hasewell   # add values based on CFLAGS in GCC
      cores: 8               # physical cores, not including hyper-threads
      memory: 32G
    disks: &disk_A                           # disk list
      - name: 'disk1'                           # first disk
        disk_capacity: 128G                   # volume
        disk_type: ssd                        # several disk types possible
        disk_interface: sas                   # several interface types possible
        disk_rotation: 15000                  # define rotation speed of disk
      - name: 'disk2'                         # second disk
        disk_capacity: 600G
        disk_type: hdd
        disk_interface: sas
        disk_rotation: 15000
      - name: 'disk3'                         # third disk
        disk_capacity: 600G
        disk_type: hdd
        disk_interface: sas
        disk_rotation: 15000
      - name: 'disk4'                         # fourth disk
        disk_capacity: 600G
        disk_type: hdd
        disk_interface: sas
        disk_rotation: 15000
      - name: 'disk5'                         # fifth disk
        disk_capacity: 600G
        disk_type: hdd
        disk_interface: sas
        disk_rotation: 15000
    remote_management:
      <<: *remote_params
      address: 192.168.20.201
      mac_address: "44:A8:42:1A:70:BE"
    interfaces:                               # physical interface list
      - "44:a8:42:14:ee:64"
    fixed_ips:
      admin: 10.20.0.4
  ########################################
  - name: compute2
    node: *nodeparas
    disks: *disks_A
    remote_management:
      <<: *remote_params
      address: 192.168.20.202
      mac_address: "44:A8:42:1A:76:26"
    interfaces:
      - "44:a8:42:14:cb:31"
    fixed_ips:
      admin: 10.20.0.5
  ########################################
  - name: controller1
    node: *nodeparas
    disks: *disks_A
    remote_management:
      <<: *remote_params
      address: 192.168.20.203
      mac_address: "44:A8:42:1A:49:A5"
    interfaces:
      - "44:a8:42:14:cd:0d"
      - "44:a8:42:14:cd:0e"
    fixed_ips:
      admin: 10.20.0.6
      public: 192.168.20.12
  ########################################
  - name: controller2
    node: *nodeparas
    disks: *disks_A
    remote_management:
      <<: *remote_params
      address: 192.168.20.204
      mac_address: "44:A8:42:1A:76:2C"
    interfaces:
      - "44:a8:42:15:1b:e6"
      - "44:a8:42:15:1b:e7"
    fixed_ips:
      admin: 10.20.0.7
      public: 192.168.20.13
  ########################################
  - name: controller3
    node: *nodeparas
    disks: *disks_A
    remote_management:
      <<: *remote_params
      address: 192.168.20.205
      mac_address: "44:A8:42:13:D5:1B"
    interfaces:
      - "44:a8:42:14:fc:1a"
      - "44:a8:42:14:fc:1b"
    fixed_ips:
      admin: 10.20.0.8
      public: 192.168.20.14