Adding Labels
[pharos.git] / config / pod1.yaml
1 ### POD descriptor file ###
2
3 details:
4   pod owner: Lab Owner
5   contact: email@address.com
6   lab: Linux Foundation
7   location: Portland, Oregon, USA
8   type: {production|development}
9   link: http://wiki.opnfv.org/
10
11 jumphost:
12   name: pod1-jump
13   node:
14     type: {baremetal|virtual}               # can be virtual or baremetal
15     vendor: supermicro
16     model: S2600JF
17     arch: {x86_64|aarch64}
18     cpus: 2
19     cpu_cflags: {broadwell|hasewell|etc}    # add values based on CFLAGS in GCC
20     cores: 10                               # physical cores, not including hyper-threads
21     memory: 32G
22   disks:                                    # disk list
23     - name: {disk#number}                   # first disk
24       disk_capacity: {M|MB|G|GB|T|TB}       # volume
25       disk_type: {hdd|ssd|cdrom|tape}       # several disk types possible
26       disk_interface: {sata|sas|ssd|nvme}   # several interface types possible
27       disk_rotation: {5400|7200|10000|15000} # define rotation speed of disk
28     - name: 'disk2'                         # second disk
29       disk_capacity: 2048G
30       disk_type: hdd
31       disk_interface: sas
32       disk_rotation: 15000
33   os: ubuntu-14.04                          #operation system installed
34   remote_para: &remoteparas
35     type: {ipmi|amt}                        # hardware manggement tool
36       - ipmi:                               # for impi, there maybe a list versions
37         - 1.0
38         - 2.0
39     user: root
40     pass: root
41   remote_mangement:
42     <<: *remoteparas
43     address: 10.4.7.3/24
44     mac_address: "10:23:45:67:89:AC"
45   interfaces:                               # physical interface list
46     - nic: {nic#number}                     # first interface
47       address: 192.168.100.1                # ip address of nic
48       mac_address: "10:23:45:67:89:AC"
49       vlan: {native|1-4095}                 # vlan tag, may have multiple tags
50     - nic: 'nic2'                           # second interface
51       address: 10.20.0.1/24
52       mac_address: "10:23:45:67:89:5B"
53 nodes:
54   - name: pod1-node1
55     node: &nodeparas                        # for nodes in the same pod may have the same configuration
56       type: baremetal
57       vendor: supermicro
58       model: S2600JF
59       arch: x86_64
60       cpus: 2
61       cpu_cflags: hasewell
62       cores: 12
63       memory: 128G
64     disks: &disks                           # for nodes in the same pod may have the same configuration
65       - name: 'disk1'
66         disk_capacity: 4906G
67         disk_type: hdd
68         disk_interface: sata
69         disk_rotation: 7200
70       - name: 'disk2'
71         disk_capacity: 2048G
72         disk_type: hdd
73         disk_interface: sas
74         disk_rotation: 15000
75       - name: 'disk3'
76         disk_capacity: 600G
77         disk_type: ssd
78         disk_interface: ssd
79         disk_rotation: 15000
80     remote_mangement:
81       <<: *remoteparas
82       address: 10.4.7.7/24
83       mac_address: "10:20:22:67:89:A2"
84     interfaces:
85       - name: 'nic1'
86         speed: {1gb|10gb|25gb|40gb}
87         features: {dpdk|sriov}
88         address: 10.2.4.7/24
89         mac_address: "10:23:22:67:89:AC"
90         vlan: 201
91       - name: 'nic2'
92         speed: 1gb
93         features: ''
94         address: 10.2.4.8/24
95         mac_address: "10:23:22:67:89:5B"
96         vlan: 202
97       - name: 'nic3'
98         speed: 10gb
99         features: 'dpdk|sriov'
100         mac_address: "00:1b:21:22:f1:b4"
101         vlan: 203
102       - name: 'nic4'
103         speed: 10gb
104         features: 'dpdk|sriov'
105         mac_address: "00:1b:21:22:f1:b5"
106         vlan: 204
107   - name: pod1-node2
108     node: *nodeparas
109     disks: *disks                           # disks are same as pod1-node1
110     remote_mangement:
111       <<: *remoteparas
112       address: 10.4.7.8/24
113       mac_address: "10:20:22:67:88:A3"
114     interfaces:
115       - name: 'nic1'
116         speed: 1gb
117         features: ''
118         address: 10.2.4.8/24
119         mac_address: "10:23:22:67:88:AC"
120         vlan: 201
121       - name: 'nic2'
122         speed: 1gb
123         features: ''
124         address: 10.2.4.8/24
125         mac_address: "10:23:22:67:88:5B"
126         vlan: 202
127       - name: 'nic3'
128         speed: 10gb
129         features: 'dpdk|sriov'
130         mac_address: "00:1b:21:22:f8:b4"
131         vlan: 203
132       - name: 'nic4'
133         speed: 10gb
134         features: 'dpdk|sriov'
135         mac_address: "00:1b:21:22:f8:b5"
136