diff options
| author | Mate Lakat <mate.lakat@citrix.com> | 2012-10-26 16:00:14 +0100 |
|---|---|---|
| committer | Mate Lakat <mate.lakat@citrix.com> | 2012-10-26 17:55:47 +0100 |
| commit | f25c2d873014eb7d665e53dbb98ee80d9a424f6b (patch) | |
| tree | af3d8857b4a9cb93922fa5aa42eb193a370392a5 /bin/stack | |
| parent | 50a0f3efb6cc4ae9c94439eea346828d35080d6c (diff) | |
| download | nova-f25c2d873014eb7d665e53dbb98ee80d9a424f6b.tar.gz nova-f25c2d873014eb7d665e53dbb98ee80d9a424f6b.tar.xz nova-f25c2d873014eb7d665e53dbb98ee80d9a424f6b.zip | |
xenapi: refactor: Agent class
Related to blueprint xenapi-config-drive
As config drive and agent are doing similar operations, part of the
config drive introduction, we would like to make the agent optional.
This refactor is introducing an agent class holding together the agent
operations, as a first step.
The steps were:
Introduce XenAPIBasedAgent
Added constructor parameters to XenAPIBasedAgent
get rid of parameters on get_agent_version
get rid of parameters on agent_update
get rid of parameters on set_admin_password
get rid of parameters on inject_file
get rid of parameters on resetnetwork
Correct newlines
add factory method for getting an agent instance
For the small changes, see:
https://github.com/citrix-openstack/nova/commits/agent2class
Change-Id: I3928c0776ff98c830c19487eb8ff7820e41ca025
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
