The openstack_dashboard.api.fwaas ModuleΒΆ

class openstack_dashboard.api.fwaas.Firewall(apidict)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron firewall.

Firewall.get_dict()[source]
class openstack_dashboard.api.fwaas.Policy(apidict)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron firewall policy.

Policy.get_dict()[source]
class openstack_dashboard.api.fwaas.Rule(apidict)[source]

Bases: openstack_dashboard.api.neutron.NeutronAPIDictWrapper

Wrapper for neutron firewall rule.

Rule.get_dict()[source]
openstack_dashboard.api.fwaas.firewall_create(request, **kwargs)[source]

Create a firewall for specified policy

Parameters:
  • request – request context
  • name – name for firewall
  • description – description for firewall
  • firewall_policy_id – policy id used by firewall
  • shared – boolean (default false)
  • admin_state_up – boolean (default true)
Returns:

Firewall object

openstack_dashboard.api.fwaas.firewall_delete(request, firewall_id)[source]
openstack_dashboard.api.fwaas.firewall_get(request, firewall_id)[source]
openstack_dashboard.api.fwaas.firewall_list(request, **kwargs)[source]
openstack_dashboard.api.fwaas.firewall_update(request, firewall_id, **kwargs)[source]
openstack_dashboard.api.fwaas.policy_create(request, **kwargs)[source]

Create a firewall policy

Parameters:
  • request – request context
  • name – name for policy
  • description – description for policy
  • firewall_rules – ordered list of rules in policy
  • shared – boolean (default false)
  • audited – boolean (default false)
Returns:

Policy object

openstack_dashboard.api.fwaas.policy_delete(request, policy_id)[source]
openstack_dashboard.api.fwaas.policy_get(request, policy_id)[source]
openstack_dashboard.api.fwaas.policy_insert_rule(request, policy_id, **kwargs)[source]
openstack_dashboard.api.fwaas.policy_list(request, **kwargs)[source]
openstack_dashboard.api.fwaas.policy_remove_rule(request, policy_id, **kwargs)[source]
openstack_dashboard.api.fwaas.policy_update(request, policy_id, **kwargs)[source]
openstack_dashboard.api.fwaas.rule_create(request, **kwargs)[source]

Create a firewall rule

Parameters:
  • request – request context
  • name – name for rule
  • description – description for rule
  • protocol – protocol for rule
  • action – action for rule
  • source_ip_address – source IP address or subnet
  • source_port – integer in [1, 65535] or range in a:b
  • destination_ip_address – destination IP address or subnet
  • destination_port – integer in [1, 65535] or range in a:b
  • shared – boolean (default false)
  • enabled – boolean (default true)
Returns:

Rule object

openstack_dashboard.api.fwaas.rule_delete(request, rule_id)[source]
openstack_dashboard.api.fwaas.rule_get(request, rule_id)[source]
openstack_dashboard.api.fwaas.rule_list(request, **kwargs)[source]
openstack_dashboard.api.fwaas.rule_update(request, rule_id, **kwargs)[source]

Previous topic

The openstack_dashboard.api.vpn Module

Next topic

The openstack_dashboard.api.network_base Module

This Page