summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-05-29 21:30:59 -0400
committerRussell Bryant <rbryant@redhat.com>2012-05-31 15:19:31 -0400
commitebedbfd243ed99e33501c039f09ac62aaf041cd7 (patch)
tree1a4ba9d167aafb6b18f233d620b14354da7e84f6 /nova/tests
parent23cfb85e385478df01b0623afb07a8995fa801cc (diff)
Add refresh_provider_fw_rules() to compute rpcapi.
Part of bug 1006467. This patch adds another method to the compute rpcapi - refresh_provider_fw_rules(). It is used from compute.api. Change-Id: I653efc00a2324047f34a383da9e36454a45c4038
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/compute/test_rpcapi.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nova/tests/compute/test_rpcapi.py b/nova/tests/compute/test_rpcapi.py
index 3f5e63d35..02ac53102 100644
--- a/nova/tests/compute/test_rpcapi.py
+++ b/nova/tests/compute/test_rpcapi.py
@@ -194,6 +194,10 @@ class ComputeRpcAPITestCase(test.TestCase):
injected_files='files', image_ref='ref',
orig_image_ref='orig_ref')
+ def refresh_provider_fw_rules(self):
+ self._test_compute_api('refresh_provider_fw_rules', 'cast',
+ host='host')
+
def test_refresh_security_group_rules(self):
self._test_compute_api('refresh_security_group_rules', 'cast',
security_group_id='id', host='host')