ARMband patches for the fuel@opnfv deploy scripts 15/13715/6
authorJosep Puigdemont <josep.puigdemont@enea.com>
Sun, 8 May 2016 11:04:07 +0000 (13:04 +0200)
committerJosep Puigdemont <josep.puigdemont@gmail.com>
Sun, 8 May 2016 12:18:25 +0000 (12:18 +0000)
commitbedeb36ac9ad42fb1ead2449ed8e75f0171808a2
treed09bf3d730b109339363c326dc96dfd187b037f9
parent82b3b366f2c677ea0ad58555d630f4c4091f82a3
ARMband patches for the fuel@opnfv deploy scripts

These are a collection of patches that adapt the current Fuel deploy
scripts for mainly two purposes:

  - Make it possible to create a Fuel VM on a remote libvirt server.
    We use the LIBVIRT_DEFAULT_URI environment variable to detect that.
    Local deploys are possible by setting this variable to
    'quemu:///system', or leaving it empty.
    See: https://libvirt.org/remote.html for more details.

  - Make it possible to add additional network interfaces. For this we
    allow the user to pass the "-b bridge" paramter several times, and
    creating a new virtual NIC for each of them, in the same order they
    were given.
    This required a bit of refactoring of the code.

None of the changes above should break backwards compatibility, except
when indicated in the commit (search for CHANGE in the log)

In addition there are some updates to the code that were deemed
necessary, like the ability to retry when executing shell commands
instead of directly failing, and a simplification of the DHA IPMI
adapter.

Change-Id: I8a0cd5b8672383decd861309328137971eaed14b
Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>
16 files changed:
patches/opnfv-fuel/0010-deployment.py-stdout-not-consumed-when-deploying-cha.patch [new file with mode: 0644]
patches/opnfv-fuel/0011-common.py-catch-stderr-in-exec_cmd.patch [new file with mode: 0644]
patches/opnfv-fuel/0012-deploy.sh-do-not-expect-a-parameter-for-h.patch [new file with mode: 0644]
patches/opnfv-fuel/0013-VirtualFuel-Add-temp_dir-and-vm_name-attributes.patch [new file with mode: 0644]
patches/opnfv-fuel/0014-virtual_fuel-factor-out-image-creation-into-a-method.patch [new file with mode: 0644]
patches/opnfv-fuel/0015-virtual_fuel-initial-support-for-libvirt-volumes.patch [new file with mode: 0644]
patches/opnfv-fuel/0016-Remove-check-for-root.patch [new file with mode: 0644]
patches/opnfv-fuel/0017-virtual_fuel-make-vm_template-an-attibute.patch [new file with mode: 0644]
patches/opnfv-fuel/0018-virtual_fuel-add-XML-tree-as-attribute-of-VirtualFue.patch [new file with mode: 0644]
patches/opnfv-fuel/0019-transplant-Generate-extra-interfaces-config-file.patch [new file with mode: 0644]
patches/opnfv-fuel/0020-deploy.sh-no-need-to-set-umask-0000.patch [new file with mode: 0644]
patches/opnfv-fuel/0021-common.py-allow-specifying-number-of-attempts-in-exe.patch [new file with mode: 0644]
patches/opnfv-fuel/0022-ipmi_adapter-simplify-retry-if-command-fails.patch [new file with mode: 0644]
patches/opnfv-fuel/0023-deploy.py-add-multiple-bridges-support.patch [new file with mode: 0644]
patches/opnfv-fuel/0024-deploy.sh-allow-specifying-several-bridges.patch [new file with mode: 0644]
patches/opnfv-fuel/0025-Fuel-VM-for-the-Enea-Armband-lab.patch [new file with mode: 0644]