The vmware_nsx.services.fwaas.nsx_v3.fwaas_callbacks_v2 Module

class vmware_nsx.services.fwaas.nsx_v3.fwaas_callbacks_v2.Nsxv3FwaasCallbacksV2

Bases: vmware_nsx.services.fwaas.common.fwaas_callbacks_v2.NsxFwaasCallbacksV2

NSX-V3 RPC callbacks for Firewall As A Service - V2.

delete_port(context, port_id)
get_port_rules(nsx_ls_id, fwg, plugin_rules)
plugin_type
should_apply_firewall_to_router(context, router_id)

Return True if the FWaaS rules should be added to this router.

update_router_firewall(context, nsxlib, router_id, router_interfaces, nsx_router_id, section_id)

Rewrite all the FWaaS v2 rules in the router edge firewall

This method should be called on FWaaS updates, and on router interfaces changes.