From ae950b3478a8bfa45602e1b58c5bbf9a5c7d5bfe Mon Sep 17 00:00:00 2001 From: Hongbin Lu Date: Wed, 30 Nov 2016 18:14:22 -0600 Subject: [PATCH] Remove unused methods in nova virt driver Remove the following: * refresh_security_group_members * refresh_provider_fw_rules The methods above has been removed from nova, so it won't be called anymore. Change-Id: I224b7e0a767a501b1b1d7df63bdef62e9ee9f43e --- nova/virt/docker/driver.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/nova/virt/docker/driver.py b/nova/virt/docker/driver.py index e9c3dbb37..86264fd51 100644 --- a/nova/virt/docker/driver.py +++ b/nova/virt/docker/driver.py @@ -148,20 +148,6 @@ class DockerDriver(driver.ComputeDriver): """ self.firewall_driver.refresh_security_group_rules(security_group_id) - def refresh_security_group_members(self, security_group_id): - """Refresh security group members from data store. - - Invoked when instances are added/removed to a security group. - - :param security_group_id: The security group id. - - """ - self.firewall_driver.refresh_security_group_members(security_group_id) - - def refresh_provider_fw_rules(self): - """Triggers a firewall update based on database changes.""" - self.firewall_driver.refresh_provider_fw_rules() - def refresh_instance_security_rules(self, instance): """Refresh security group rules from data store.