

def ex_get_firewall_rule(self, network_domain, rule_id):
    locations = self.list_locations()
    rule = self.connection.request_with_orgId_api_2(('network/firewallRule/%s' % rule_id)).object
    return self._to_firewall_rule(rule, locations, network_domain)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver.ex_get_firewall_rule/original