Auto deploy prototype #2 05/405/11
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Thu, 23 Apr 2015 15:06:18 +0000 (17:06 +0200)
committerStefan K. Berg <stefan.k.berg@ericsson.com>
Tue, 28 Apr 2015 10:26:21 +0000 (12:26 +0200)
commit0bf60004aea7359f10efc6d0133c88e5c4f40dda
tree5fe37812af029b943fe680925bbf6b681c533532
parente2b2d46756213fde3bca42a49b04e6a1e8792498
Auto deploy prototype #2

This is an evolvement of the libvirt deployer to make it fully
general, and it also add the concept of Deploy Environment
Adapter (dea), Deploy Hardware Adapter (dha) and a hardware
adapter plugin.

See the README.rst file for an introduction of how to start
experimenting with this concept in a libvirt setting.

Highlights:

- Can "xerox" an existing Fuel deploy
- Separates configuration for the deployment (DEA) and
  the configuration for the hardware (DHA)
- Introduces an API to be implemented by hardware adapters
  (a libvirt example adapter is included)
- Provides a verification tool "verify_dha.sh" to validate
  DHA adapters against the DHA API.

See the TODO.txt file for things that can be worked on.

JIRA

Change-Id: I98ff665e6b63c6c3bc42bb6b65c1d2151359e374
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
62 files changed:
fuel/prototypes/deploy/README.rst [new file with mode: 0644]
fuel/prototypes/deploy/TODO.txt [new file with mode: 0644]
fuel/prototypes/deploy/create_templates/create_templates.sh [new file with mode: 0755]
fuel/prototypes/deploy/create_templates/generate_fuel_node_info.py [new file with mode: 0755]
fuel/prototypes/deploy/create_templates/generate_node_info.py [new file with mode: 0755]
fuel/prototypes/deploy/create_templates/reap_fuel_settings.py [moved from fuel/prototypes/libvirt/create_dea/reap_interfaces.py with 66% similarity]
fuel/prototypes/deploy/create_templates/reap_network_scheme.py [moved from fuel/prototypes/libvirt/create_dea/reap_network_scheme.py with 100% similarity]
fuel/prototypes/deploy/create_templates/reap_network_settings.py [moved from fuel/prototypes/libvirt/create_dea/reap_network_settings.py with 92% similarity]
fuel/prototypes/deploy/create_templates/reap_opnfv_astute.py [new file with mode: 0755]
fuel/prototypes/deploy/create_templates/reap_settings.py [moved from fuel/prototypes/libvirt/create_dea/reap_settings.py with 100% similarity]
fuel/prototypes/deploy/deploy/deploy.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/dha-adapters/dhaParse.py [new file with mode: 0755]
fuel/prototypes/deploy/deploy/dha-adapters/libvirt.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/functions/common.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/functions/dea-api.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/functions/deaParse.py [new file with mode: 0755]
fuel/prototypes/deploy/deploy/functions/deploy_env.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/functions/install_iso.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/functions/isolinux.cfg.patch [moved from fuel/prototypes/libvirt/deploy/functions/isolinux.cfg.patch with 100% similarity]
fuel/prototypes/deploy/deploy/functions/ks.cfg.patch [moved from fuel/prototypes/libvirt/deploy/functions/ks.cfg.patch with 100% similarity]
fuel/prototypes/deploy/deploy/functions/patch-iso.sh [moved from fuel/prototypes/libvirt/deploy/functions/patch-iso.sh with 66% similarity]
fuel/prototypes/deploy/deploy/tools/transplant0.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/tools/transplant1.sh [moved from fuel/prototypes/libvirt/deploy/tools/transplant1.sh with 97% similarity]
fuel/prototypes/deploy/deploy/tools/transplant2.sh [moved from fuel/prototypes/libvirt/deploy/tools/transplant2.sh with 60% similarity]
fuel/prototypes/deploy/deploy/tools/transplant_fuel_settings.py [new file with mode: 0755]
fuel/prototypes/deploy/deploy/tools/transplant_interfaces.py [moved from fuel/prototypes/libvirt/deploy/tools/transplant_interfaces.py with 80% similarity]
fuel/prototypes/deploy/deploy/tools/transplant_network_scheme.py [moved from fuel/prototypes/libvirt/deploy/tools/transplant_network_scheme.py with 100% similarity]
fuel/prototypes/deploy/deploy/tools/transplant_network_settings.py [moved from fuel/prototypes/libvirt/deploy/tools/transplant_network_settings.py with 100% similarity]
fuel/prototypes/deploy/deploy/tools/transplant_opnfv_settings.py [new file with mode: 0755]
fuel/prototypes/deploy/deploy/tools/transplant_settings.py [moved from fuel/prototypes/libvirt/deploy/tools/transplant_settings.py with 100% similarity]
fuel/prototypes/deploy/deploy/verify_dea.sh [new file with mode: 0755]
fuel/prototypes/deploy/deploy/verify_dha.sh [new file with mode: 0755]
fuel/prototypes/deploy/documentation/1-introduction.txt [new file with mode: 0644]
fuel/prototypes/deploy/documentation/2-dea.txt [new file with mode: 0644]
fuel/prototypes/deploy/documentation/3-dha.txt [new file with mode: 0644]
fuel/prototypes/deploy/documentation/4-dha-adapter-api.txt [new file with mode: 0644]
fuel/prototypes/deploy/documentation/5-dea-api.txt [new file with mode: 0644]
fuel/prototypes/deploy/examples/libvirt/README.txt [new file with mode: 0644]
fuel/prototypes/deploy/examples/libvirt/conf/dea.yaml [moved from fuel/prototypes/libvirt/examples/libvirt_dea.yaml with 95% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/dha.yaml [new file with mode: 0644]
fuel/prototypes/deploy/examples/libvirt/conf/networks/fuel1 [moved from fuel/prototypes/libvirt/examples/networks/fuel1 with 100% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/networks/fuel2 [moved from fuel/prototypes/libvirt/examples/networks/fuel2 with 100% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/networks/fuel3 [moved from fuel/prototypes/libvirt/examples/networks/fuel3 with 100% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/networks/fuel4 [moved from fuel/prototypes/libvirt/examples/networks/fuel4 with 100% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/vms/compute4 [moved from fuel/prototypes/libvirt/examples/vms/compute4 with 94% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/vms/compute5 [moved from fuel/prototypes/libvirt/examples/vms/compute5 with 94% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/vms/controller1 [moved from fuel/prototypes/libvirt/examples/vms/controller1 with 94% similarity]
fuel/prototypes/deploy/examples/libvirt/conf/vms/fuel-master [moved from fuel/prototypes/libvirt/examples/vms/fuel-master with 88% similarity]
fuel/prototypes/deploy/examples/libvirt/install-ubuntu-packages.sh [moved from fuel/prototypes/libvirt/setup_vms/setup-vm-host.sh with 100% similarity]
fuel/prototypes/deploy/examples/libvirt/setup_example_vms.sh [new file with mode: 0755]
fuel/prototypes/deploy/examples/libvirt/tools/cleanup_example_vms.sh [new file with mode: 0755]
fuel/prototypes/deploy/examples/libvirt/tools/dump_setup.sh [moved from fuel/prototypes/libvirt/setup_vms/dump_setup.sh with 59% similarity]
fuel/prototypes/deploy/list_fixmes.sh [new file with mode: 0755]
fuel/prototypes/libvirt/README.rst [deleted file]
fuel/prototypes/libvirt/create_dea/create_dea.sh [deleted file]
fuel/prototypes/libvirt/deploy/deploy.sh [deleted file]
fuel/prototypes/libvirt/deploy/functions/common.sh [deleted file]
fuel/prototypes/libvirt/deploy/functions/deploy_env.sh [deleted file]
fuel/prototypes/libvirt/deploy/functions/install_iso.sh [deleted file]
fuel/prototypes/libvirt/examples/vms/controller2 [deleted file]
fuel/prototypes/libvirt/examples/vms/controller3 [deleted file]
fuel/prototypes/libvirt/setup_vms/apply_setup.sh [deleted file]