The vmware_nsx.services.fwaas.nsx_v3.edge_fwaas_driver_v1
Module¶
-
class
vmware_nsx.services.fwaas.nsx_v3.edge_fwaas_driver_v1.
EdgeFwaasV3DriverV1
¶ Bases:
vmware_nsx.services.fwaas.nsx_v3.edge_fwaas_driver_base.CommonEdgeFwaasV3Driver
NSX-V3 driver for Firewall As A Service - V1.
-
apply_default_policy
(*args, **kwargs)¶ Apply the default policy (deny all).
The backend firewall always has this policy (=deny all) as default, so we only need to delete the current rules.
-
create_firewall
(*args, **kwargs)¶ Create the Firewall with a given policy.
-
delete_firewall
(*args, **kwargs)¶ Delete firewall.
Removes rules created by this instance from the backend firewall And add the default allow rule.
-
get_router_translated_rules
(router_id, firewall)¶ Return the list of translated rules
The default drop all will be added later
-
update_firewall
(*args, **kwargs)¶ Remove previous policy and apply the new policy.
Update the backend router with tags marking the attached fw id
-