From 9893c3eb5794e689736e881ec0551bdfeda48d8f Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 1 Aug 2012 11:24:59 -0400 Subject: 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 --- nova/virt/driver.py | 13 ------------- nova/virt/fake.py | 3 --- 2 files changed, 16 deletions(-) (limited to 'nova/virt') 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 -- cgit