Further preparation for transition to guest agent

* Added abstract classes defining remote interface. The first class
   is for driver and the second one is for remote object. Note:
   execute_on_vm_interactive is not included into the later interface
   as it is not used in anywhere.
 * Now driver can provide additional part for userdata. This will be
   used by agent driver to setup guest agent on instances.
 * SSH opts are moved from ssh_remote.py to remote.py. While
   ssh_remote.py is the best place for them, together with change #1
   opts created circular imports:
     * remote.py imports ssh_remote.py to get options
     * ssh_remote.py imports remote.py to get abstract classes
   The problem can be resolved by moving abstract classes to a new
   module, say remote_common.py. But I prefer the variant I've
   implemented.
 * Fixed tests to work with the changes.

Implements: blueprint guest-agent
Change-Id: I2ccae4df7b664c612fd15a3e9578af5b7dd6f81c
This commit is contained in:
Dmitry Mescheryakov 2014-01-28 15:22:51 +04:00
parent 6457cdee90
commit 34e51abf9c
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ savanna.infrastructure.engine =
heat = savanna.service.heat_engine:HeatEngine
savanna.remote =
ssh = savanna.utils.ssh_remote
ssh = savanna.utils.ssh_remote:SshRemoteDriver
[build_sphinx]
all_files = 1