The neutron_fwaas.db.firewall.firewall_router_insertion_db Module¶
-
class
neutron_fwaas.db.firewall.firewall_router_insertion_db.FirewallRouterAssociation(**kwargs)¶ Bases:
sqlalchemy.ext.declarative.api.BaseTracks FW Router Association
-
fw_id¶
-
router_id¶
-
-
class
neutron_fwaas.db.firewall.firewall_router_insertion_db.FirewallRouterInsertionDbMixin¶ Bases:
objectAccess methods for the firewall_router_associations table.
-
get_firewall_routers(*args, **kwargs)¶ Gets all routers associated with a firewall.
-
set_routers_for_firewall(*args, **kwargs)¶ Sets the routers associated with the fw.
-
update_firewall_routers(*args, **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(*args, **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.
-