Add initial config to support deployments on VMs 21/72621/10
authorRihab Banday <rihab.banday@ericsson.com>
Mon, 31 May 2021 18:23:21 +0000 (20:23 +0200)
committerRihab Banday <rihab.banday@ericsson.com>
Wed, 1 Sep 2021 15:03:29 +0000 (15:03 +0000)
commitbc1786a24447121b5005492aaea8ca786135be29
treecd6ced17b39538afc2bb97c733bf9a18560af5c5
parent3fe71dc93fb81199401f921c10d4fe6220aa7175
Add initial config to support deployments on VMs

* Add initial version of PDF and IDF that
will be consumed by the hardware provisioner used in
Kuberef to bring up libvirt VMs (for now 2 VMs for dev purposes).
* Add deploy_on_vms.sh script to deploy Kuberef on VMs
* Add new functions referenced by the deploy_on_vms.sh
script - these can be merged with existing functions
* Modify some of te BMRA templates to accomodate new changes.

This has been tested on Ubuntu 18.04 baremetal server.

Change-Id: I95a5e85cdab95befd24a1cae9f367b32ce26621e
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72621
Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
12 files changed:
deploy.env
deploy.sh
dev/deploy_on_vms.sh [new file with mode: 0755]
functions.sh
hw_config/libvirt-vms/idf.yaml [new file with mode: 0644]
hw_config/libvirt-vms/pdf.yaml [new file with mode: 0644]
inventory/group_vars/all/global.yaml
playbooks/configure-vms.yaml [new file with mode: 0644]
playbooks/roles/bmra-config/templates/inventory.j2
playbooks/roles/configure-vms/tasks/main.yaml [new file with mode: 0644]
playbooks/roles/configure-vms/templates/Debian.interface.j2 [new file with mode: 0644]
requirements.txt