summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/baremetal-mcp-ocata-ovs-dpdk-ha/infra/maas.yml
blob: 4e9ed2fb94be85f227462f8b30f4f0e4726717d7 (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
---
classes:
  - system.linux.system.repo.saltstack.xenial
  - system.maas.region.single
  - cluster.baremetal-mcp-ocata-ovs-dpdk-ha.infra
parameters:
  _param:
    dhcp_interface: ens3
    primary_interface: ens4
    pxe_interface: ens5
    interface_mtu: 1500
    # MaaS has issues using MTU > 1500 for PXE interface
    pxe_interface_mtu: 1500
    linux_system_codename: xenial
    maas_admin_username: opnfv
    maas_admin_password: opnfv_secret
    maas_db_password: opnfv_secret
    dns_server01: 8.8.4.4
    single_address: ${_param:infra_maas_node01_deploy_address}
  maas:
    region:
      salt_master_ip: ${_param:infra_config_deploy_address}
      domain: ${_param:cluster_domain}
      maas_config:
        commissioning_distro_series: 'xenial'
        default_distro_series: 'xenial'
        default_osystem: 'ubuntu'
        default_storage_layout: 'lvm'
        disk_erase_with_secure_erase: false
        dnssec_validation: 'no'
        enable_third_party_drivers: true
        network_discovery: 'enabled'
        default_min_hwe_kernel: 'hwe-16.04'
      subnets:
        opnfv_maas_pxe:
          name: ${_param:opnfv_maas_pxe_network}/24
          cidr: ${_param:opnfv_maas_pxe_network}/24
          gateway_ip: ${_param:single_address}
          iprange:
            start: ${_param:opnfv_maas_pxe_iprange_start}
            end: ${_param:opnfv_maas_pxe_iprange_end}
            type: dynamic
          vlans:
            untagged:
              vid: 0
              dhcp_on: true
              primary_rack: ${_param:infra_maas_node01_hostname}
      machines:
        kvm01:
          interface:
            mac: "00:25:b5:a0:00:2a"
          power_parameters:
            power_address: "172.30.8.75"
            power_password: "octopus"
            power_type: ipmi
            power_user: "admin"
          architecture: 'amd64/generic'
          distro_series: xenial
          hwe_kernel: hwe-16.04
        kvm02:
          interface:
            mac: "00:25:b5:a0:00:3a"
          power_parameters:
            power_address: "172.30.8.65"
            power_password: "octopus"
            power_type: ipmi
            power_user: "admin"
          architecture: 'amd64/generic'
          distro_series: xenial
          hwe_kernel: hwe-16.04
        kvm03:
          interface:
            mac: "00:25:b5:a0:00:4a"
          power_parameters:
            power_address: "172.30.8.74"
            power_password: "octopus"
            power_type: ipmi
            power_user: "admin"
          architecture: 'amd64/generic'
          distro_series: xenial
          hwe_kernel: hwe-16.04
        cmp001:
          interface:
            mac: "00:25:b5:a0:00:5a"
          power_parameters:
            power_address: "172.30.8.73"
            power_password: "octopus"
            power_type: ipmi
            power_user: "admin"
          architecture: 'amd64/generic'
          distro_series: xenial
          hwe_kernel: hwe-16.04
        cmp002:
          interface:
            mac: "00:25:b5:a0:00:6a"
          power_parameters:
            power_address: "172.30.8.72"
            power_password: "octopus"
            power_type: ipmi
            power_user: "admin"
          architecture: 'amd64/generic'
          distro_series: xenial
          hwe_kernel: hwe-16.04
  linux:
    network:
      interface:
        dhcp_interface:
          enabled: true
          name: ${_param:dhcp_interface}
          type: eth
          proto: dhcp
        primary_interface:
          enabled: true
          name: ${_param:primary_interface}
          mtu: ${_param:interface_mtu}
          proto: static
          address: ${_param:infra_maas_node01_address}
          netmask: 255.255.255.0
          type: eth
        pxe_interface:
          enabled: true
          name: ${_param:pxe_interface}
          mtu: ${_param:pxe_interface_mtu}
          proto: static
          address: ${_param:single_address}
          netmask: 255.255.255.0
          type: eth