[deployment handler] Refactor the old installer_handler 49/28149/6
authorjose.lausuch <jose.lausuch@ericsson.com>
Mon, 6 Feb 2017 21:10:00 +0000 (22:10 +0100)
committerjose.lausuch <jose.lausuch@ericsson.com>
Thu, 9 Feb 2017 13:09:03 +0000 (14:09 +0100)
commitba25afb8b30e8f757ea1a6a2819d30dd1644e5d3
tree978efa55bd79a3609db99a998c76e11a56a1ee4e
parent8c17dd593620d962011cb4e810634182cba1d100
[deployment handler] Refactor the old installer_handler

This is a util library to interact with the
deployment regardless of the installer.

Objects:
  - Deployment
  - Node
  - DeploymentHandler
     - ApexAdapter
     - FuelAdapter
  - Factory

The installer adapters implement some of the
abstract functions of DeploymentHandler class
that can't be generalized.

Printout of example.py:
http://pastebin.com/raw/SF3A1fee

More info: JIRA: RELENG-149

Change-Id: I5c9e94459d5be0bfad6ffac29908a8cfc7ba919c
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
modules/opnfv/deployment/__init__.py [new file with mode: 0644]
modules/opnfv/deployment/apex/__init__.py [new file with mode: 0644]
modules/opnfv/deployment/apex/adapter.py [new file with mode: 0644]
modules/opnfv/deployment/example.py [new file with mode: 0644]
modules/opnfv/deployment/factory.py [new file with mode: 0644]
modules/opnfv/deployment/fuel/__init__.py [new file with mode: 0644]
modules/opnfv/deployment/fuel/adapter.py [new file with mode: 0644]
modules/opnfv/deployment/manager.py [new file with mode: 0644]
modules/opnfv/utils/opnfv_logger.py [moved from modules/opnfv/utils/OPNFVLogger.py with 100% similarity]
modules/opnfv/utils/ssh_utils.py [moved from modules/opnfv/utils/SSHUtils.py with 95% similarity]