summaryrefslogtreecommitdiffstats
path: root/apex/deploy.py
AgeCommit message (Collapse)AuthorFilesLines
2017-10-12Adding apex/overcloud/* unittestsDan Radez1-10/+10
Change-Id: I02cd512ba1ddaee2538bee7739e27b136112a0c6 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit d158a48f4f10e9abb1403b1178b8c2f31b36e992)
2017-09-30Adds Calipso scenarioTim Rozet1-0/+3
Change-Id: Icc8a23e49c9ccc011481f6b97599d4f75873ebb1 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 1a824cf106f1996f184a7f699c754a7b72c501be)
2017-09-29re-enable support for fdio dvr scenarioFeng Pan1-2/+10
- Update FDIO scenarios to use master branch images - Update VPP/HC version to master for all fdio scenarios apex-os-net-config: Ie6aee86eaccad5fc98820a28f10adc7475cc5e33 apex-tripleo-heat-templates: Ie8b284f64bd6491c389129d8afdaeae8a399b607 apex-puppet-tripleo: I9954240529278e74d93fdf89d2ebc2536249245a Change-Id: I31740f97052947b5e4688cca47320bc49a902d7c Signed-off-by: Feng Pan <fpan@redhat.com> (cherry picked from commit a3c2c8c746470c993d70d92d13415e2b4263cc25)
2017-09-28Adding python unittests for apex/virtual/*Dan Radez1-1/+1
Change-Id: I13dd395cd6270cbf0a02855b1d29794ecca06d76 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit 9d24ddc56a76175a4b7514cea5c789e2612b2528)
2017-09-22Removing duplicate lib path in ansible_pathDan Radez1-8/+5
- deploy line 283 lib is joined with ANSIBLE_PATH then line 285, 347, 418 and 435 it was joined again with ansible_path from 283 already containing lib Change-Id: I6612967d626eeb0668eb43294831447c387f8e93 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit fae35267b18d246350ace0e38c41c307bec73894)
2017-09-22Fixes removing inventory keysTim Rozet1-1/+1
Inventory keys that we want to delete were not being removed for instackenv.json. Also fixes unit tests. Change-Id: I7d6c752342db050d651953633f18e236f60334e3 Signed-off-by: Tim Rozet <trozet@redhat.com> (cherry picked from commit 17d5b541e93f5d88ff958372cdf0b0b184bdbc27)
2017-09-08Adjustments to tmp dir handlingDan Radez1-2/+3
- prefixing with apex_tmp - removing overcloud qcow on failure JIRA: APEX-513 Change-Id: I766df10c294c31622917bbd5b0597e3373716d8b Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-06Enabling the aarch check for deploymentDan Radez1-1/+2
Change-Id: Ic5f1fc8a61f74f7aa6b2fabf67169c601a603367 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-28Merge "Add argument types for deploy.py"Tim Rozet1-0/+4
2017-08-28Passing deploy_dir through to create_vmDan Radez1-3/+6
Change-Id: I07a1c899d43c5edf1054fc819fff4336d9b3ed16 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-28Add argument types for deploy.pyFeng Pan1-0/+4
Add data type for integer arguments to avoid str to int comparison exceptions. Change-Id: Ifa40e1cc8588df6d618185882bba71f7ce7b9a1d Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-27Fixes external network with baremetal interfaceTim Rozet1-2/+7
Change-Id: Icd65ffbd14dee603e5b2a0a42e9d0cdfd98c694c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-25Fixes issues with baremetalTim Rozet1-2/+2
Change-Id: I60470611a70261d57ccbfd0e499f4336c7a12fe1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet1-0/+441
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>