summaryrefslogtreecommitdiffstats
path: root/apex/virtual
AgeCommit message (Collapse)AuthorFilesLines
2017-09-28Adding python unittests for apex/virtual/*Dan Radez1-4/+4
Change-Id: I13dd395cd6270cbf0a02855b1d29794ecca06d76 Signed-off-by: Dan Radez <dradez@redhat.com> (cherry picked from commit 9d24ddc56a76175a4b7514cea5c789e2612b2528)
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> (cherry picked from commit 57c0f8adbb5dabe9ddd66b049b543c596fa0f068)
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>