summaryrefslogtreecommitdiffstats
path: root/mcp/reclass
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-09-10 14:56:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-09-10 14:56:30 +0000
commit531ca8731f9b61e79131bcfab420742b4fe3b494 (patch)
treed4cc0c36e2d09f50b528069b693d5a08c8677ea8 /mcp/reclass
parent546d3927a8ecd822b319a8eac1f98983df63eb3a (diff)
parentf7d7eece07de9ba44a0d11c68f0685b60752e4b8 (diff)
Merge "[submodule] Bump Pharos for maas:machines sync"
Diffstat (limited to 'mcp/reclass')
-rw-r--r--mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j231
1 files changed, 0 insertions, 31 deletions
diff --git a/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2 b/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2
index 7ee1aa13f..ea97773f1 100644
--- a/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2
+++ b/mcp/reclass/classes/cluster/all-mcp-arch-common/infra/maas.yml.j2
@@ -106,37 +106,6 @@ parameters:
=m+zE
-----END PGP PUBLIC KEY BLOCK-----
{%- endif %}
- machines:
- {%- set pxe_interface = conf.idf.net_config.admin.interface %}
- {%- set ctl_roles = conf.virtual.nodes.control | length %}
- {%- for node in conf.nodes %}
- {%- if (node.node.type == 'baremetal' and (
- loop.index > nm.cmp001.idx or loop.index0 < ctl_roles)) %}
- {%- if loop.index > nm.cmp001.idx %}
- cmp{{ '%03d' | format(loop.index - nm.cmp001.idx) }}:
- {%- else %}
- {{ conf.virtual.nodes.control[loop.index0] }}:
- {%- endif %}
- interface:
- mac: {{ node.interfaces[pxe_interface].mac_address }}
- power_parameters:
- power_address: {{ node.remote_management.address.rsplit('/')[0] }}
- power_password: {{ node.remote_management.pass }}
- power_type: {{ node.remote_management.type }}
- power_user: {{ node.remote_management.user }}
- architecture: {{ node.node.arch | dpkg_arch }}/generic
- distro_series: xenial
- hwe_kernel: ${_param:hwe_kernel}
- {%- if loop.index > nm.cmp001.idx %}
- disk_layout:
- type: lvm
- root_device: sda
- volume_group: vgroot
- volume_name: lvroot
- volume_size: 100
- {%- endif %}
- {%- endif %}
- {%- endfor %}
salt_master_ip: ${_param:reclass_config_master}
domain: ${_param:cluster_domain}
maas_config: