6a3988c73af1b0fc8c9a880eb26f8606ebd32ad2,perfkitbenchmarker/rackspace/rackspace_network.py,RackspaceSecurityGroup,DisallowAllPorts,#RackspaceSecurityGroup#,129

Before Change


            firewall_cmd.extend([FLAGS.neutron_path,
                                 "security-group-show",
                                 "--format", "value"])
            firewall_cmd.extend(util.GetDefaultRackspaceNeutronFlags(self))
            firewall_cmd.append(firewall)
            stdout, _ = vm_util.IssueRetryableCommand(firewall_cmd)
            rules = [v for v in stdout.split("\n") if v != ""][2:-1]
            for rule in rules:

After Change



    def DisallowAllPorts(self):
        Closes all ports on the firewall.
        firewall_env = dict(os.environ.copy(),
                            **util.GetDefaultRackspaceNeutronEnv(self))

        for firewall in self.firewall_names:
            firewall_cmd = []
            firewall_cmd.extend([FLAGS.neutron_path,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6a3988c73af1b0fc8c9a880eb26f8606ebd32ad2
Time: 2015-07-01
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/rackspace/rackspace_network.py
Class Name: RackspaceSecurityGroup
Method Name: DisallowAllPorts


Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 25fecb75789e421699454dafd0b4ced8dad4fc78
Time: 2018-09-20
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAFetch/QAQuery.py
Class Name:
Method Name: QA_fetch_financial_report


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 6a3988c73af1b0fc8c9a880eb26f8606ebd32ad2
Time: 2015-07-01
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/rackspace/rackspace_network.py
Class Name: RackspaceSecurityGroup
Method Name: AllowPort


Project Name: pytorch/pytorch
Commit Name: 249c21346208b682d128e28fe4480262f8b76cd8
Time: 2021-02-27
Author: benjamin.lefaudeux@gmail.com
File Name: torch/distributed/optim/zero_redundancy_optimizer.py
Class Name: ZeroRedundancyOptimizer
Method Name: state_dict