tobiko/roles/tobiko-cleanup
Eduardo Olivares 109802be5f Create only one Sec Group per fixture
This patch includes some changes wrt StatelessSecurityGroupFixture:
- a task that cleans up the security groups generated with this fixture
  is added to the tobiko-cleanup role
- when TOBIKO_PREVENT_CREATE env variable is set, the security groups
  are not created (they should have been created before)
- the lockutils.synchronized decorator is used to avoid that two
  security groups with the same name are created concurrently
- neutron.get_security_group(self.name) did not work because that method
  does not work with the security group name; it is replaced by
  neutron.list_security_groups(name=self.name) instead

Change-Id: I3ab84e138049a27db017630b32d81d290aa5f6cd
2023-04-21 13:17:31 +00:00
..
defaults Add new flag cleanup-heat-stacks to the infrared plugin 2021-10-20 06:43:33 +00:00
tasks Create only one Sec Group per fixture 2023-04-21 13:17:31 +00:00