

def rule_update(request, rule_id, **kwargs):
    body = {
        'firewall_rule': kwargs,
    }
    rule = neutronclient(request).update_firewall_rule(rule_id, body).get('firewall_rule')
    return Rule(rule)

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