def rule_create(request, **kwargs):
    body = {'firewall_rule': kwargs}
    rule = neutronclient(request).create_firewall_rule(
        body).get('firewall_rule')
    return Rule(rule)
Create a firewall rule
dataset/ETHPy150Open openstack/horizon/openstack_dashboard/api/fwaas.py/rule_create