f34a52372415b94afdd0902f2444ffa8f0944086,perfkitbenchmarker/providers/azure/azure_virtual_machine.py,AzureNIC,_Create,#AzureNIC#,152
Before Change
self.args = ["--nics", self.name]
def _Create(self):
vm_util.IssueCommand(
[azure.AZURE_PATH, "network", "nic", "create",
"--location", self.location,
"--vnet-name", self.subnet.vnet.name,
"--subnet", self.subnet.name,
"--public-ip-address", self.public_ip,
"--name", self.name] + self.resource_group.args)
def _Exists(self):
if self._deleted:
return False
After Change
"--subnet", self.subnet.name,
"--public-ip-address", self.public_ip,
"--name", self.name] + self.resource_group.args
if self.accelerated_networking:
cmd += ["--accelerated-networking", "true"]
vm_util.IssueCommand(cmd)
def _Exists(self):
if self._deleted:
return False
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: f34a52372415b94afdd0902f2444ffa8f0944086
Time: 2018-02-13
Author: dlott@google.com
File Name: perfkitbenchmarker/providers/azure/azure_virtual_machine.py
Class Name: AzureNIC
Method Name: _Create
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: c6f259675ad7047b2a20acccd7aad69ff97a7970
Time: 2020-04-02
Author: pclay@google.com
File Name: perfkitbenchmarker/providers/azure/azure_kubernetes_service.py
Class Name: AksCluster
Method Name: _Create
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2ed154ed175831d54619c0c1bcef1b496a9148fa
Time: 2015-05-19
Author: ehankland@google.com
File Name: perfkitbenchmarker/vm_util.py
Class Name:
Method Name: GetLastRunUri