

def policy_update(request, policy_id, **kwargs):
    body = {
        'firewall_policy': kwargs,
    }
    policy = neutronclient(request).update_firewall_policy(policy_id, body).get('firewall_policy')
    return Policy(policy)

dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/fwaas.py policy_update/original