cab829d874e81468524248779738d550eb7a065f,perfkitbenchmarker/providers/aws/aws_network.py,AwsSubnet,__init__,#AwsSubnet#Any#Any#Any#,146

Before Change


  def __init__(self, zone, vpc_id, cidr_block="10.0.0.0/24"):
    super(AwsSubnet, self).__init__()
    self.zone = zone
    self.region = zone[:-1]
    self.vpc_id = vpc_id
    self.id = None
    self.cidr_block = cidr_block

After Change


  def __init__(self, zone, vpc_id, cidr_block="10.0.0.0/24"):
    super(AwsSubnet, self).__init__()
    self.zone = zone
    self.region = util.GetRegionFromZone(zone)
    self.vpc_id = vpc_id
    self.id = None
    self.cidr_block = cidr_block
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cab829d874e81468524248779738d550eb7a065f
Time: 2015-11-24
Author: ehankland@google.com
File Name: perfkitbenchmarker/providers/aws/aws_network.py
Class Name: AwsSubnet
Method Name: __init__


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cab829d874e81468524248779738d550eb7a065f
Time: 2015-11-24
Author: ehankland@google.com
File Name: perfkitbenchmarker/providers/aws/aws_disk.py
Class Name: AwsDisk
Method Name: __init__


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cab829d874e81468524248779738d550eb7a065f
Time: 2015-11-24
Author: ehankland@google.com
File Name: perfkitbenchmarker/providers/aws/aws_network.py
Class Name: AwsNetwork
Method Name: __init__


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: cab829d874e81468524248779738d550eb7a065f
Time: 2015-11-24
Author: ehankland@google.com
File Name: perfkitbenchmarker/providers/aws/aws_virtual_machine.py
Class Name: AwsVirtualMachine
Method Name: __init__