summaryrefslogtreecommitdiffstats
path: root/hw_config/libvirt-vms/pdf.yaml
blob: 6686e026d6854ca5910eab07824faa1942578f14 (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
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2020
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
### POD descriptor file ###
details:
  type: virtual
  link: http://wiki.nordix.org/
jumphost:
  name: jumphost
  node:
    type: virtual
    vendor: libvirt
    model: pc
    arch: x86_64
    cpus: 12
    cpu_cflags: host-passthrough
    cores: 12
    memory: 16G
  disks:
    - name: disk1
      disk_capacity: 300G
      disk_type: hdd
      disk_interface: sata
      disk_rotation:
  os: ubuntu1804
  interfaces:
      # NOTE (fdegir): The IPs listed below actually belong to the libvirt bridges
      # we create & configure since this is virtual POD and its real IP has nothing
      # to do with the deployment itself.
      # interface connected to admin/pxe network
      - address: 10.1.0.1
      # interface connected to public network
      - address: 10.2.0.1
##############################################################################
nodes:
  - name: node1
    node:
      type: virtual
      vendor: libvirt
      model: pc
      arch: x86_64
      cpus: 4
      cpu_cflags: host-passthrough
      cores: 4
      memory: 16G
    disks: &disks
      - name: disk1
        disk_capacity: 30G
        disk_type: hdd
        disk_interface: sata
        disk_rotation:
      - name: disk2
        disk_capacity: 20G
        disk_type: hdd
        disk_interface: sata
        disk_rotation:
    remote_params: &remote_params
      type:
        - ipmi
      user: admin
      pass: password
      privilege_level: OPERATOR
    remote_management:
      <<: *remote_params
      port: 623
      address: 10.1.0.1
      mac_address: "52:54:00:72:bf:cf"
    interface_common_nic1: &interface_common_nic1
      name: nic1
      speed:
      features:
      vlan: native
    interface_common_nic2: &interface_common_nic2
      name: nic2
      speed:
      features:
      vlan: native
    interface_common_nic3: &interface_common_nic3
      name: nic3
      speed:
      features:
      vlan: native
    interface_common_nic4: &interface_common_nic4
      name: nic4
      speed:
      features:
      vlan: native
    interfaces:
      # interface connected to admin/pxe network
      - mac_address: "52:54:00:72:bf:cf"
        address: 10.1.0.3
        <<: *interface_common_nic1
      # interface connected to public network
      - mac_address: "52:54:00:21:4f:fb"
        address: 10.2.0.3
        <<: *interface_common_nic2
  ##############################################################################
  - name: node2
    node:
      type: virtual
      vendor: libvirt
      model: pc
      arch: x86_64
      cpus: 6
      cpu_cflags: host-passthrough
      cores: 6
      memory: 32G
    disks: *disks
    remote_management:
      <<: *remote_params
      port: 624
      address: 10.1.0.1
      mac_address: "52:54:00:b9:d4:87"
    interfaces:
      # interface connected to admin/pxe network
      - mac_address: "52:54:00:b9:d4:87"
        address: 10.1.0.4
        <<: *interface_common_nic1
      # interface connected to public network
      - mac_address: "52:54:00:b7:9f:50"
        address: 10.2.0.4
        <<: *interface_common_nic2