From ebedbfd243ed99e33501c039f09ac62aaf041cd7 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Tue, 29 May 2012 21:30:59 -0400 Subject: 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 --- nova/tests/compute/test_rpcapi.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nova/tests') 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') -- cgit