neutron_fwaas.db.firewall.firewall_router_insertion_db.
FirewallRouterAssociation
(**kwargs)¶Bases: sqlalchemy.ext.declarative.api.Base
Tracks FW Router Association
fw_id
¶router_id
¶neutron_fwaas.db.firewall.firewall_router_insertion_db.
FirewallRouterInsertionDbMixin
¶Bases: object
Access methods for the firewall_router_associations table.
get_firewall_routers
(**kwargs)¶Gets all routers associated with a firewall.
set_routers_for_firewall
(**kwargs)¶Sets the routers associated with the fw.
update_firewall_routers
(**kwargs)¶Update the firewall with new routers.
This involves removing existing router associations and replacing it with the new router associations provided in the update method.
validate_firewall_routers_not_in_use
(**kwargs)¶Validate if router-ids not associated with any firewall.
If any of the router-ids in the list is already associated with a firewall, raise an exception else just return.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.