neutron_fwaas.db.firewall package

neutron_fwaas.db.firewall package

Submodules

neutron_fwaas.db.firewall.firewall_db module

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.Base

Tracks FW Router Association

fw_id
router_id
class neutron_fwaas.db.firewall.firewall_router_insertion_db.FirewallRouterInsertionDbMixin

Bases: object

Access 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.

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.