Add support for deploying to Equinix Metal bare-metal servers 01/71301/19
authorMichael S. Pedersen <michaelx.pedersen@intel.com>
Fri, 23 Oct 2020 12:24:43 +0000 (12:24 +0000)
committerRihab Banday <rihab.banday@ericsson.com>
Fri, 13 Nov 2020 16:24:54 +0000 (16:24 +0000)
commit5d28b70edce08ee912c433386599424f8202f303
tree98c1246797f5a03f9417d6e1e6843f5bd90e8e09
parente34b4d93d5e288bdbb5ec798602ea5e8f1bc3985
Add support for deploying to Equinix Metal bare-metal servers

Adds an additional hw_config which is simplified (equinix-metal).
Adds support for skipping HW provisioning (pre-provisioned through EM).
Usage: deploy.sh [k8s]
Adds a few new helper functions, and updates existing to support changes.

Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com>
Signed-off-by: Victor Morales <v.morales@samsung.com>
Change-Id: I2f84c662d183ba224e0edd8a218abe8b46c1fe45
Signed-off-by: Victor Morales <v.morales@samsung.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71301
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-by: Victor Morales <chipahuac@hotmail.com>
17 files changed:
deploy.env
deploy.sh
functions.sh
hw_config/equinix-metal/idf.yaml [new file with mode: 0644]
hw_config/equinix-metal/pdf.yaml [new file with mode: 0644]
inventory/group_vars/all/global.yaml
playbooks/pre-install.yaml [new file with mode: 0644]
playbooks/roles/bmra-config/templates/inventory.ini
playbooks/roles/jump-vm/tasks/main.yaml
playbooks/roles/jump-vm/templates/network-config.j2
playbooks/roles/jump-vm/templates/user-data.j2
playbooks/roles/pre-install/molecule/default/converge.yml [new file with mode: 0644]
playbooks/roles/pre-install/molecule/default/molecule.yml [new file with mode: 0644]
playbooks/roles/pre-install/molecule/default/tests/test_default.py [new file with mode: 0644]
playbooks/roles/pre-install/tasks/main.yml [new file with mode: 0644]
playbooks/roles/pre-install/vars/RedHat.yml [new file with mode: 0644]
test-requirements.txt