ba0e0aa67bd6c8e4a4a92be2e2f6dad10113627e,perfkitbenchmarker/providers/openstack/os_virtual_machine.py,OpenStackVirtualMachine,_DeleteServerGroup,#OpenStackVirtualMachine#,321

Before Change


    with self._lock:
      if self.zone in self.deleted_server_group_set:
        return
      nova_cmd = [FLAGS.openstack_nova_path, "server-group-delete",
                  self.server_group_id]
      vm_util.IssueCommand(nova_cmd, suppress_warning=True)
      self.deleted_server_group_set.add(self.zone)
      if self.zone in self.created_server_group_dict:
        del self.created_server_group_dict[self.zone]

After Change


    with self._lock:
      if self.zone in self.deleted_server_group_set:
        return
      cmd = os_utils.OpenStackCLICommand(self, "server group", "delete",
                                         self.server_group_id)
      del cmd.flags["format"]  // delete does not support json output
      cmd.Issue()
      self.deleted_server_group_set.add(self.zone)
      if self.zone in self.created_server_group_dict:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ba0e0aa67bd6c8e4a4a92be2e2f6dad10113627e
Time: 2017-01-09
Author: cltorrespr@gmail.com
File Name: perfkitbenchmarker/providers/openstack/os_virtual_machine.py
Class Name: OpenStackVirtualMachine
Method Name: _DeleteServerGroup


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ba0e0aa67bd6c8e4a4a92be2e2f6dad10113627e
Time: 2017-01-09
Author: cltorrespr@gmail.com
File Name: perfkitbenchmarker/providers/openstack/os_virtual_machine.py
Class Name: OpenStackVirtualMachine
Method Name: _CreateServerGroup


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 67075044afaa2a663a1ed3ca093b5fcc9f468431
Time: 2016-07-08
Author: victor.estrada@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_network.py
Class Name: OpenStackFloatingIPPool
Method Name: release