

def _firewall_list(request, expand_policy, **kwargs):
    firewalls = neutronclient(request).list_firewalls(**kwargs).get('firewalls')
    if (expand_policy and firewalls):
        policies = _policy_list(request, expand_rule=False)
        policy_dict = OrderedDict(((p.id, p) for p in policies))
        for fw in firewalls:
            fw['policy'] = kwargs.get(fw['firewall_policy_id'])
    return [Firewall(f) for f in firewalls]

dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/fwaas.py _firewall_list/VarMisuse@84/115 `policy_dict`->`kwargs`