summaryrefslogtreecommitdiffstats
path: root/nova/virt
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-08-01 11:24:59 -0400
committerRussell Bryant <rbryant@redhat.com>2012-08-01 12:22:53 -0400
commit9893c3eb5794e689736e881ec0551bdfeda48d8f (patch)
tree6607d3c1bbbe34c3d7bd3b982a0c67703628ad3b /nova/virt
parent3905d66dae8c4bc08079ffd4bff67ebed8044d8f (diff)
Remove agent_update from the compute manager.
It appears that this method of the compute method has never been used since it was added in fa0b64b500f3a196044459ba4bf8ed0dea214e92, so just remove it. It was also added to the virt driver API, but the only use is internally to the xenapi driver, so leave it as an internal thing to that driver only. Part of blueprint no-db-messaging. Change-Id: Idb2c823421e714fa364affbbb80d28175b9b5b4e
Diffstat (limited to 'nova/virt')
-rw-r--r--nova/virt/driver.py13
-rw-r--r--nova/virt/fake.py3
2 files changed, 0 insertions, 16 deletions
diff --git a/nova/virt/driver.py b/nova/virt/driver.py
index 4e821eab2..262c4c3ef 100644
--- a/nova/virt/driver.py
+++ b/nova/virt/driver.py
@@ -539,19 +539,6 @@ class ComputeDriver(object):
"""
pass
- def agent_update(self, instance, url, md5hash):
- """
- Update agent on the specified instance.
-
- The first parameter is an instance of nova.compute.service.Instance,
- and so the instance is being specified as instance.name. The second
- parameter is the URL of the agent to be fetched and updated on the
- instance; the third is the md5 hash of the file for verification
- purposes.
- """
- # TODO(Vek): Need to pass context in for access to auth_token
- raise NotImplementedError()
-
def inject_network_info(self, instance, nw_info):
"""inject network info for specified instance"""
# TODO(Vek): Need to pass context in for access to auth_token
diff --git a/nova/virt/fake.py b/nova/virt/fake.py
index cf143480b..0e5443074 100644
--- a/nova/virt/fake.py
+++ b/nova/virt/fake.py
@@ -114,9 +114,6 @@ class FakeDriver(driver.ComputeDriver):
def inject_file(self, instance, b64_path, b64_contents):
pass
- def agent_update(self, instance, url, md5hash):
- pass
-
def resume_state_on_host_boot(self, context, instance, network_info):
pass