Fix the Doc lint, shellcheck and doc links Errors
[kuberef.git] / hw_config / libvirt-vms / pdf.yaml
1 ---
2 # SPDX-license-identifier: Apache-2.0
3 ##############################################################################
4 # Copyright (c) 2020
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10 ### POD descriptor file ###
11 details:
12   type: virtual
13   link: http://wiki.nordix.org/
14 jumphost:
15   name: jumphost
16   node:
17     type: virtual
18     vendor: libvirt
19     model: pc
20     arch: x86_64
21     cpus: 12
22     cpu_cflags: host-passthrough
23     cores: 12
24     memory: 16G
25   disks:
26     - name: disk1
27       disk_capacity: 300G
28       disk_type: hdd
29       disk_interface: sata
30       disk_rotation:
31   os: ubuntu1804
32   interfaces:
33     # NOTE (fdegir): The IPs listed below actually belong to the libvirt bridges
34     # we create & configure since this is virtual POD and its real IP has nothing
35     # to do with the deployment itself.
36     # interface connected to admin/pxe network
37     - address: 10.1.0.1
38     # interface connected to public network
39     - address: 10.2.0.1
40 ##############################################################################
41 nodes:
42   - name: node1
43     node:
44       type: virtual
45       vendor: libvirt
46       model: pc
47       arch: x86_64
48       cpus: 4
49       cpu_cflags: host-passthrough
50       cores: 4
51       memory: 16G
52     disks: &disks
53       - name: disk1
54         disk_capacity: 30G
55         disk_type: hdd
56         disk_interface: sata
57         disk_rotation:
58       - name: disk2
59         disk_capacity: 20G
60         disk_type: hdd
61         disk_interface: sata
62         disk_rotation:
63     remote_params: &remote_params
64       type:
65         - ipmi
66       user: admin
67       pass: password
68       privilege_level: OPERATOR
69     remote_management:
70       <<: *remote_params
71       port: 623
72       address: 10.1.0.1
73       mac_address: "52:54:00:72:bf:cf"
74     interface_common_nic1: &interface_common_nic1
75       name: nic1
76       speed:
77       features:
78       vlan: native
79     interface_common_nic2: &interface_common_nic2
80       name: nic2
81       speed:
82       features:
83       vlan: native
84     interface_common_nic3: &interface_common_nic3
85       name: nic3
86       speed:
87       features:
88       vlan: native
89     interface_common_nic4: &interface_common_nic4
90       name: nic4
91       speed:
92       features:
93       vlan: native
94     interfaces:
95       # interface connected to admin/pxe network
96       - mac_address: "52:54:00:72:bf:cf"
97         address: 10.1.0.3
98         <<: *interface_common_nic1
99       # interface connected to public network
100       - mac_address: "52:54:00:21:4f:fb"
101         address: 10.2.0.3
102         <<: *interface_common_nic2
103   ##############################################################################
104   - name: node2
105     node:
106       type: virtual
107       vendor: libvirt
108       model: pc
109       arch: x86_64
110       cpus: 6
111       cpu_cflags: host-passthrough
112       cores: 6
113       memory: 32G
114     disks: *disks
115     remote_management:
116       <<: *remote_params
117       port: 624
118       address: 10.1.0.1
119       mac_address: "52:54:00:b9:d4:87"
120     interfaces:
121       # interface connected to admin/pxe network
122       - mac_address: "52:54:00:b9:d4:87"
123         address: 10.1.0.4
124         <<: *interface_common_nic1
125       # interface connected to public network
126       - mac_address: "52:54:00:b7:9f:50"
127         address: 10.2.0.4
128         <<: *interface_common_nic2