Interface FirewallService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
FirewallServiceImpl
public interface FirewallService extends RestService
Networking (Neutron) FwaaS Firewall Extension API.
Represents a logical firewall resource that a tenant can instantiate and manage. A firewall is associated with one firewall policy.
The FWaaS extension provides OpenStack users with the ability to deploy firewalls to protect their networks. The FWaaS extension enables you to:
- Apply firewall rules on traffic entering and leaving tenant networks.
- Support for applying tcp, udp, icmp, or protocol agnostic rules.
- Creation and sharing of firewall policies which hold an ordered collection of the firewall rules.
- Audit firewall rules and policies.
- Author:
- Vishvesh Deshmukh
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Firewallcreate(Firewall firewall)Create a FirewallActionResponsedelete(String firewallId)Delete the specified Firewall by IDFirewallget(String firewallId)Get the specified Firewall by IDList<? extends Firewall>list()List all Firewall(s) that the current tenant has access to.List<? extends Firewall>list(Map<String,String> filteringParams)Returns list of Firewall(s) filtered by parameters.Firewallupdate(String firewallId, FirewallUpdate firewallUpdate)Update a Firewall
-
-
-
Method Detail
-
list
List<? extends Firewall> list()
List all Firewall(s) that the current tenant has access to.- Returns:
- list of all Firewall(s)
-
list
List<? extends Firewall> list(Map<String,String> filteringParams)
Returns list of Firewall(s) filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- filtered list of Firewall(s)
-
get
Firewall get(String firewallId)
Get the specified Firewall by ID- Parameters:
firewallId- the Firewall identifier- Returns:
- the Firewall or null if not found
-
delete
ActionResponse delete(String firewallId)
Delete the specified Firewall by ID- Parameters:
firewallId- the Firewall identifier- Returns:
- the action response
-
update
Firewall update(String firewallId, FirewallUpdate firewallUpdate)
Update a Firewall- Parameters:
firewallId- the Firewall identifierfirewallUpdate- FirewallUpdate- Returns:
- Firewall
-
-