summaryrefslogtreecommitdiffstats
path: root/nova/compute
diff options
context:
space:
mode:
authorSoren Hansen <soren.hansen@rackspace.com>2010-09-13 12:04:06 +0200
committerSoren Hansen <soren.hansen@rackspace.com>2010-09-13 12:04:06 +0200
commit077fc783c4f94de427da98818d262aeb09a31044 (patch)
tree9242d13c80c17cd4ee8b5d6340e2897bec6d4c6d /nova/compute
parent2a782110bc51f147bdb35264445badac3b3e8e65 (diff)
downloadnova-077fc783c4f94de427da98818d262aeb09a31044.tar.gz
nova-077fc783c4f94de427da98818d262aeb09a31044.tar.xz
nova-077fc783c4f94de427da98818d262aeb09a31044.zip
(Untested) Make changes to security group rules propagate to the relevant compute nodes.
Diffstat (limited to 'nova/compute')
-rw-r--r--nova/compute/manager.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/nova/compute/manager.py b/nova/compute/manager.py
index 5f7a94106..a00fd9baa 100644
--- a/nova/compute/manager.py
+++ b/nova/compute/manager.py
@@ -63,6 +63,11 @@ class ComputeManager(manager.Manager):
@defer.inlineCallbacks
@exception.wrap_exception
+ def refresh_security_group(self, context, security_group_id, **_kwargs):
+ self.driver.refresh_security_group(security_group_id)
+
+ @defer.inlineCallbacks
+ @exception.wrap_exception
def run_instance(self, context, instance_id, **_kwargs):
"""Launch a new instance with specified options."""
instance_ref = self.db.instance_get(context, instance_id)