The neutron_fwaas.db.firewall.v2.firewall_db_v2
Module¶
-
class
neutron_fwaas.db.firewall.v2.firewall_db_v2.
FirewallGroup
(**kwargs)¶ Bases:
sqlalchemy.ext.declarative.api.Base
,neutron_lib.db.model_base.HasId
,neutron_fwaas.db.firewall.v2.firewall_db_v2.HasName
,neutron_fwaas.db.firewall.v2.firewall_db_v2.HasDescription
,neutron_lib.db.model_base.HasProject
-
admin_state_up
¶
-
description
¶
-
egress_firewall_policy_id
¶
-
id
¶
-
ingress_firewall_policy_id
¶
-
name
¶
-
ports
¶
-
project_id
¶
-
public
¶
-
status
¶
-
tenant_id
¶
-
-
class
neutron_fwaas.db.firewall.v2.firewall_db_v2.
FirewallGroupPortAssociation
(**kwargs)¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
firewall_group_id
¶
-
port_id
¶
-
-
class
neutron_fwaas.db.firewall.v2.firewall_db_v2.
FirewallPolicy
(**kwargs)¶ Bases:
sqlalchemy.ext.declarative.api.Base
,neutron_lib.db.model_base.HasId
,neutron_fwaas.db.firewall.v2.firewall_db_v2.HasName
,neutron_fwaas.db.firewall.v2.firewall_db_v2.HasDescription
,neutron_lib.db.model_base.HasProject
-
audited
¶
-
description
¶
-
id
¶
-
name
¶
-
project_id
¶
-
public
¶
-
rule_associations
¶
-
rule_count
¶
-
tenant_id
¶
-
-
class
neutron_fwaas.db.firewall.v2.firewall_db_v2.
FirewallPolicyRuleAssociation
(**kwargs)¶ Bases:
sqlalchemy.ext.declarative.api.Base
Tracks FW Policy and Rule(s) Association
-
firewall_policy_id
¶
-
firewall_rule_id
¶
-
position
¶
-
-
class
neutron_fwaas.db.firewall.v2.firewall_db_v2.
FirewallRuleV2
(**kwargs)¶ Bases:
sqlalchemy.ext.declarative.api.Base
,neutron_lib.db.model_base.HasId
,neutron_fwaas.db.firewall.v2.firewall_db_v2.HasName
,neutron_fwaas.db.firewall.v2.firewall_db_v2.HasDescription
,neutron_lib.db.model_base.HasProject
-
action
¶
-
description
¶
-
destination_ip_address
¶
-
destination_port_range_max
¶
-
destination_port_range_min
¶
-
enabled
¶
-
id
¶
-
ip_version
¶
-
name
¶
-
project_id
¶
-
protocol
¶
-
public
¶
-
source_ip_address
¶
-
source_port_range_max
¶
-
source_port_range_min
¶
-
tenant_id
¶
-
-
class
neutron_fwaas.db.firewall.v2.firewall_db_v2.
Firewall_db_mixin_v2
¶ Bases:
neutron_fwaas.extensions.firewall_v2.Firewallv2PluginBase
,neutron.db.common_db_mixin.CommonDbMixin
-
create_firewall_group
(context, firewall_group, status=None)¶
-
create_firewall_policy
(context, firewall_policy)¶
-
create_firewall_rule
(context, firewall_rule)¶
-
delete_firewall_group
(context, id)¶
-
delete_firewall_policy
(context, id)¶
-
delete_firewall_rule
(context, id)¶
-
get_firewall_group
(context, id, fields=None)¶
-
get_firewall_groups
(context, filters=None, fields=None)¶
-
get_firewall_policies
(context, filters=None, fields=None)¶
-
get_firewall_policy
(context, id, fields=None)¶
-
get_firewall_rule
(context, id, fields=None)¶
-
get_firewall_rules
(context, filters=None, fields=None)¶
-
insert_rule
(context, id, rule_info)¶
-
remove_rule
(context, id, rule_info)¶
-
update_firewall_group
(context, id, firewall_group)¶
-
update_firewall_group_status
(context, id, status, not_in=None)¶ Conditionally update firewall_group status. Status transition is performed only if firewall is not in the specified states as defined by ‘not_in’ list.
-
update_firewall_policy
(context, id, firewall_policy)¶
-
update_firewall_rule
(context, id, firewall_rule)¶
-