ovsfw: followup cleanups for the conjunction patch
This is trivial cleanups for commit 192bc5f
. No functional changes.
Change-Id: Iafd3d8fbd738737ced7709e84a7a31eb987bf13f
Related-bug: #1628819
This commit is contained in:
parent
26920b8712
commit
a429678b21
@ -80,7 +80,6 @@ class SecurityGroup(object):
|
||||
self.raw_rules = []
|
||||
self.remote_rules = []
|
||||
self.members = {}
|
||||
self.members_on_flows = {}
|
||||
self.ports = set()
|
||||
|
||||
def update_rules(self, rules):
|
||||
|
@ -256,7 +256,7 @@ class TestConjIdMap(base.BaseTestCase):
|
||||
result = self.conj_id_map.delete_sg('sg1')
|
||||
self.assertIn(('sg1', ids[0]), result)
|
||||
self.assertIn(('sg2', ids[1]), result)
|
||||
self.assertEqual(len(self.conj_id_map.id_map), 0)
|
||||
self.assertFalse(self.conj_id_map.id_map)
|
||||
|
||||
reallocated = self.conj_id_map.get_conj_id(
|
||||
'sg-foo', 'sg-foo', firewall.INGRESS_DIRECTION,
|
||||
|
Loading…
Reference in New Issue
Block a user