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
This commit is contained in:
Hongbin Lu 2016-11-30 18:14:22 -06:00
parent a466ae755e
commit ae950b3478

View File

@ -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.