summaryrefslogtreecommitdiffstats
path: root/hw_config
AgeCommit message (Collapse)AuthorFilesLines
2021-10-15Updates Kuberef to use BMRA v21.08Michael S. Pedersen4-14/+10
Updates BMRA tag to v21.08 Updates Kuberef templates for BMRA configuration Updates idf.yml (hw_config) to match changes to BMRA Adds new and updated BMRA patches Fixes a few bugs in functions.sh Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Ifbd4d60af76dac45e49145f00cbeb90de0f7c719 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72927 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-09-01Add initial config to support deployments on VMsRihab Banday2-0/+242
* 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>
2021-08-12Align license headers with REUSE guidelinesGeorg Kunz8-56/+34
This patch applies a consistent use of license and copyright headers to all source files according to the guidelines of REUSE. Signed-off-by: Georg Kunz <georg.kunz@ericsson.com> Change-Id: I8973efe304e8fb03ad0861d4b8356221d898d548 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72804 Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com> Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org>
2021-04-28Update BMRA to v21.03Michael S. Pedersen3-21/+57
Update Kuberef to use most recent release of BMRA. Also updates configuration with minor changes and additions. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Ifc4ef114564a2085000c23347390089227c0ebd9 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72429 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2021-03-10Updated PDF and IDF for Ericsson HardwareRihab Banday5-314/+165
This change updates the config files for Ericsson POD 1 and removes existing Ericsson POD 2 configuration based on recent hardware and software updates. Change-Id: I4d26be681b4d805029e5de9c91f96a7634974990 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72149 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2021-02-18Update BMRA to v2.1Michael S. Pedersen2-2/+2
Updated Kuberef to use BMRA v2.1 instead of v2.0. Removed a few workarounds used for BMRA v2.0. Updated a few dependencies in deployment container. Updated Kuberef templates for BMRA configuration. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: I091da09277ca9ecc0d3d7574dc3c4f000e73432d Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/72064 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-12-15Update IDF of Intel Pod 19 based on new IDF structureRihab Banday1-0/+41
This patch updates the IDF of Intel Pod 19 to include additional config required for BMRA 2.0 Change-Id: I6088f16af2a8b3d508ebd28f98efc8a6d4d6c3a5 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71612 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
2020-12-03Update BMRA to v2.0Michael S. Pedersen1-0/+41
Also adds configuration of BMRA through the existing hw_config files (idf, pdf) and better handling of dependencies. Signed-off-by: Michael S. Pedersen <michaelx.pedersen@intel.com> Change-Id: Iedaf249f01ea3e1e00c889e846e21644adff98c7 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71504 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-11-13Add support for deploying to Equinix Metal bare-metal serversMichael S. Pedersen2-0/+74
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>
2020-10-07Updated PDF and IDF for Intel POD 19Rihab Banday2-17/+134
This change updates the config files for Intel POD 19 based on recent hardware updates. Additionally it adds config for node 3, 4 and 5. Change-Id: I3a8caf6c8f273567057e325ab27d65f8920ba4ad Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71234 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Georg Kunz <georg.kunz@ericsson.com>
2020-09-22Rendering BMRA inventory from IDF and PDF via ansibleGeorg Kunz2-11/+9
This patch adds a simple playbook which renders the BMRA inventory from the supplied set of PDF and IDF. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I2cd555440ad51594d5a2b482bfad085769d0e4e0 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70892 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-10Implementing jump VM create via ansibleGeorg Kunz2-6/+7
This patch reimplements the creation of the jump VM as ansible playbook. The advantage of this approach is a more deterministic behavior and the ability to render configuration files using templates based on the pdf and idf. Moreover, this patch allows to overwrite the VENDOR variable. This is necessary to allow deployment in different labs via CI. The BMRA configuration has not yet been transformed to ansible template and needs to follow in subsequent patches. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I2cde41dcecec7480bddf71ed864f06244a89f1f3 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70882 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com>
2020-09-08Extending PDF and IDF of Ericsson pod2 to all nodesGeorg Kunz2-5/+112
Pod2 of the Ericsson OPNFV lab should be used for CI jobs deploying RI2 on all 5 nodes. This adds the missing hardware infos for provisinioning all 5 nodes. Note: The BMRA deployment still considers only 2 nodes. This will be addressed in a separate patch. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Ie31365cf04f6fc041d3173099e7c2e8f7020d6b8 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71022 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Victor Morales <chipahuac@hotmail.com> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-09-08Fixing linting errorsGeorg Kunz1-1/+1
Fixing linting errors raised by shellcheck. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I3996b81d930724cf37a855649c615782d756d809 Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70895 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-26PDF and IDF for Ericsson pod 2 to be used in CIGeorg Kunz5-8/+202
Pod 2 is meant to be used for verification deployment jobs. This patch adds the PDF and IDF config files for this pod. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: I33231547921e82cf77c7051e6ba0319ffb66a09a Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/70826 Reviewed-by: Victor Morales <chipahuac@hotmail.com> Tested-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-18Fix minor bugs observed in hw_config filesRihab Banday3-5/+5
This patch fixes minor bugs observed in hw_config files: 1. Rename admin network to public in Intel's IDF to have consistent network naming schemes across IDF's. 2. Remove arbitary/unverified VLAN's from Intel's PDF. 3. Move shebang to top to fix linting error. Change-Id: Ibad63e80431880ef5558864bf890dd1877400b08 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-17Update env variable extraction and VM creation stepsRihab Banday1-1/+1
This change uses YAML parser to extract environmental variables from PDF and IDF. Additionally it merges the VM creation step with the main functions script. Change-Id: I2089b7a84f15e892d57fbadf06252db8769f0fbf Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
2020-08-12Merge "Implement linting process"Rihab Banday3-7/+15
2020-08-11Implement linting processVictor Morales3-7/+15
This commit pretends to make changes required by yamllint and shellcheck tools. Signed-off-by: Victor Morales <v.morales@samsung.com> Change-Id: I73b0a3b54f89b2692c1c3af7940a3acf1124fadb
2020-08-11Adding pdf and idf for Ericsson pod 1Georg Kunz3-0/+219
This adds the pod descriptor file and installer descriptor file for Ericsson pod 1. Signed-off-by: Georg Kunz <georg.kunz@est.tech> Change-Id: Ie518f71a35b657ef4a7b17464cb8f0e4116a3771
2020-07-29Initial structure for e2e deployment scriptingRihab Banday3-0/+208
This patch includes the initial skeleton of the e2e deployment tooling. This is expected to evolve as further development progresses. Change-Id: Ie1e334e672acb2213e8f6c2174506b685f826f98 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>