Adds functionality to modify VM resources 94/1394/4
authorTim Rozet <trozet@redhat.com>
Thu, 3 Sep 2015 21:12:11 +0000 (17:12 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 9 Sep 2015 21:03:29 +0000 (17:03 -0400)
commit5384a722ffae47bc3519512d34802102ebc7be5b
treecb820a176047a895c29e0488abe8ffaf15604cdc
parent2b551f29f886a28e609203063418ffeabfe86127
Adds functionality to modify VM resources

VM resources (vcpus, memory, disk size) are now configurable in the
opnfv_ksgen_settings files.  Each node in the ksgen settings file now
has "memory, cpus, disk" attributes:
 - cpus is an integer number of CPUs to assign to the VM
 - memory is an integer size in kilobytes
 - disk is an integer size in gigabytes

The vagrant box vmdk is resized for each VM.  Each VM will then modify
its partition to the new size, execute the normal reboot, then extend
the physical+logical volumes and filesystem using vagrant provisioning
scripts.

JIRA: APEX-1

Change-Id: I471319db14d2189052961b2f533c65850ebeb1e7
Signed-off-by: Tim Rozet <trozet@redhat.com>
foreman/ci/Vagrantfile
foreman/ci/deploy.sh
foreman/ci/opnfv_ksgen_settings.yml
foreman/ci/opnfv_ksgen_settings_no_HA.yml
foreman/ci/resize_lvm.sh [new file with mode: 0755]
foreman/ci/resize_partition.sh [new file with mode: 0755]