public interface FirewallRuleService extends RestService
Networking (Neutron) FwaaS FirewallRule Rule Extension API
Represents a collection of attributes like ports, ip addresses which define match criteria and action (allow, or deny) that needs to be taken on the matched data traffic.
The FWaaS extension provides OpenStack users with the ability to deploy firewalls to protect their networks. The FWaaS extension enables you to:
Modifier and Type | Method and Description |
---|---|
FirewallRule |
create(FirewallRule firewallRule)
Create a FirewallRule
|
ActionResponse |
delete(String firewallRuleId)
Delete the specified FirewallRule by ID
|
FirewallRule |
get(String firewallRuleId)
Get the specified FirewallRule by ID
|
List<? extends FirewallRule> |
list()
List all FirewallRules(s) that the current tenant has access to.
|
List<? extends FirewallRule> |
list(Map<String,String> filteringParams)
Returns list of FirewallRules(s) filtered by parameters.
|
FirewallRule |
update(String firewallRuleId,
FirewallRuleUpdate firewallRuleUpdate)
Update a FirewallRule
|
List<? extends FirewallRule> list()
List<? extends FirewallRule> list(Map<String,String> filteringParams)
filteringParams
- map (name, value) of filtering parametersFirewallRule get(String firewallRuleId)
firewallRuleId
- the FirewallRule identifierActionResponse delete(String firewallRuleId)
firewallRuleId
- the FirewallRule identifierFirewallRule create(FirewallRule firewallRule)
firewallRule
- FirewallRule update(String firewallRuleId, FirewallRuleUpdate firewallRuleUpdate)
firewallRuleId
- the FirewallRule identifierfirewallRuleUpdate
- firewallRuleUpdateCopyright © 2017. All rights reserved.