diff options
| author | Hans Lindgren <hanlind@kth.se> | 2015-04-23 22:43:24 +0200 |
|---|---|---|
| committer | Hans Lindgren <hanlind@kth.se> | 2016-02-01 15:50:04 +0100 |
| commit | c5e2d4b6b4dfa64f898249d6ed871cf6d41c58a2 (patch) | |
| tree | 57395ba967fa5c62ea5db557d557d6e8cd1792c2 /nova/tests/unit/compute/test_virtapi.py | |
| parent | e5256c32a7dde66a0b13290ec1c266a67ff7827c (diff) | |
| download | nova-c5e2d4b6b4dfa64f898249d6ed871cf6d41c58a2.tar.gz | |
Remove unused provider firewall rules functionality in nova
Provider firewall rules functionality is not in use and hasn't been
for a very long time. The api for this was removed in [1] and db api
methods for adding/removing rows in the associated db table have not
been used since.
Stop refreshing those rules as it is essentially a no-op and indeed a
costly one that includes a rpc round trip to the conductor to get
back an always empty db result. This should have a positive impact on
instance boot performance since the conductor call happens to live
inside an externally syncronized block of code.
Removes related compute rpcapi/manager code that were missed in a
recent cleanup[2]. Since this functionality hasn't been in use since
Havana timeframe(!), it should be fairly safe to remove without first
deprecating it.
Also removes the now unused virtapi method provider_fw_rule_get_all()
and the virtapi itself from virt firewall driver initialization.
[1] Commit: 62d5fae8d11b6403f9a63a709270ffafebb7ef09
[2] Commit: e6f7d8041783a0b3c740559d97b8d40b3568f214
Change-Id: Ifbb2514b9bc1445eaa07dcfe172c7405fd1a58f7
Partial-Bug: #1016633
Diffstat (limited to 'nova/tests/unit/compute/test_virtapi.py')
| -rw-r--r-- | nova/tests/unit/compute/test_virtapi.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/nova/tests/unit/compute/test_virtapi.py b/nova/tests/unit/compute/test_virtapi.py index 5a236760d4..28a4f4cdd6 100644 --- a/nova/tests/unit/compute/test_virtapi.py +++ b/nova/tests/unit/compute/test_virtapi.py @@ -42,9 +42,6 @@ class VirtAPIBaseTest(test.NoDBTestCase, test.APICoverage): getattr(self.virtapi, method), self.context, *args, **kwargs) - def test_provider_fw_rule_get_all(self): - self.assertExpected('provider_fw_rule_get_all') - def test_wait_for_instance_event(self): self.assertExpected('wait_for_instance_event', 'instance', ['event']) |
