aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/config/labs/devel-pipeline/elx/fuel/config/dha.yaml
blob: c2352f924108377f33658799d90815c0127bf12c (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
##############################################################################
# Copyright (c) 2015 Ericsson AB and others.
# stefan.k.berg@ericsson.com
# jonas.bjurel@ericsson.com
# 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
##############################################################################
dha-pod-config-metadata:
  title: Deployment Hardware Adapter (DHA) for fuel development pipeline - Ericsson ELX version
  version: 0.0.3
  created: Feb 2 2016
  comment: ELX Fuel 9 version

# Adapter to use for this definition
adapter: libvirt

# Node list.
# Mandatory property is id, all other properties are adapter specific.

nodes:
- id: 1
  libvirtName: controller1
  libvirtTemplate: templates/virtual_environment/vms/controller.xml
- id: 2
  libvirtName: compute1
  libvirtTemplate: templates/virtual_environment/vms/compute.xml
- id: 3
  libvirtName: compute2
  libvirtTemplate: templates/virtual_environment/vms/compute.xml
- id: 4
  libvirtName: compute3
  libvirtTemplate: templates/virtual_environment/vms/compute.xml
- id: 5
  libvirtName: fuel-master
  libvirtTemplate: templates/virtual_environment/vms/fuel.xml
  isFuel: yes
  username: root
  password: r00tme

virtNetConfDir: templates/virtual_environment/networks

disks:
  fuel: 100G
  controller: 100G
  compute: 100G

# Here the infrastructure VMs can be defined.
# The entries are not mandatory! If it is left empty
# the default defined in deploy/templates will
# be used.
define_vms:
  fuel:
    vcpu:
      value: 2
    memory:
      attribute_equlas:
        unit: KiB
      value: 8388608
    currentMemory:
      attribute_equlas:
        unit: KiB
      value: 8388608
    devices:
      interface:
        # With attribute_equlas someone can define which
        # interface type is meant
        attribute_equlas:
          type: network
        # This will overwrite the type of the model of
        # the interface
        model:
          attribute:
            type: virtio
  controller:
    vcpu:
      value: 4
    memory:
      attribute_equlas:
        unit: KiB
      value: 10485760
    currentMemory:
      attribute_equlas:
        unit: KiB
      value: 10485760
    devices:
      interface:
        attribute_equlas:
          type: network
        model:
          attribute:
            type: e1000
  compute:
    memory:
      attribute_equlas:
        unit: KiB
      value: 6291456
    currentMemory:
      attribute_equlas:
        unit: KiB
      value: 6291456
    devices:
      interface:
        attribute_equlas:
          type: network
        model:
          attribute:
            type: e1000