summaryrefslogtreecommitdiffstats
path: root/apex/virtual
AgeCommit message (Collapse)AuthorFilesLines
2018-02-16Fixes ensuring VBMCs are actually runningTim Rozet2-3/+45
We currently start VBMCs using CLI due to issues with the VBMC python lib. However when we start them, there is no check to make sure they are actually changed to 'running' status. This patch adds logic to check (up to 5 times) to ensure each VBMC is running or raises an error. Note this is for virtual deployments only. JIRA: APEX-527 Change-Id: Iab7ee3b76292d6fc547f18c83f23c04205e9bb2e Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-01-31wrapping up deploy items for aarchDan Radez1-2/+2
Change-Id: Ib5f4715d851dc91be6a57fcb5d18a0557a7b0c7f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-28Adding python unittests for apex/virtual/*Dan Radez1-4/+4
Change-Id: I13dd395cd6270cbf0a02855b1d29794ecca06d76 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-22Adds detection for virsh default network IPTim Rozet1-2/+25
In case a user already has a default virsh network and the default IP is not 192.168.122.1, this patch will allow detecting and using the found value. Change-Id: Id5d46a820d89e86c9b5897f5d29b83ed32f9d6f9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-08Restarts libvirtd after stopping firewalldTim Rozet1-2/+5
When stopping firewalld, libvirtd needs to be restarted in order for libvirt to use/populate iptables with the NAT rules for the default virsh network. JIRA: APEX-510 Change-Id: Ia5b4515fd961baa70de58814e9eae4b397db28a7 Signed-off-by: Tim Rozet <trozet@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-28Updates to create_vm for aarch64Dan Radez1-12/+15
- serial console was being duplicated in libvirt xml template - force undercloud VM arch to jumphost arch - assign diskbus to scsi for aarch64 Change-Id: I5208883c2001497fc7e958f9ffcdf14f0be5f600 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet3-0/+346
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>