

def firewall_create(request, **kwargs):
    'Create a firewall for specified policy\n\n    :param request: request context\n    :param name: name for firewall\n    :param description: description for firewall\n    :param firewall_policy_id: policy id used by firewall\n    :param shared: boolean (default false)\n    :param admin_state_up: boolean (default true)\n    :return: Firewall object\n    '
    body = {
        'firewall': kwargs,
    }
    firewall = neutronclient(request).create_firewall(body).get('firewall')
    return Firewall(firewall)

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