Package org.openstack4j.api.gbp
Interface L2policyService
-
- All Known Implementing Classes:
L2policyServiceImpl
public interface L2policyServiceThis interface defines all methods for the manipulation of l2policy- Author:
- vinod borole
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description L2Policycreate(L2Policy l2Policy)Create a new l2 policyActionResponsedelete(String id)Delete of the l2 policyL2Policyget(String id)Get the specified l2 policy by IDList<? extends L2Policy>list()List all l2 policiesList<? extends L2Policy>list(Map<String,String> filteringParams)Returns list of l2 policies filtered by parameters.L2Policyupdate(String l2PolicyId, L2Policy l2Policy)Updates an existing l2 policy
-
-
-
Method Detail
-
list
List<? extends L2Policy> list(Map<String,String> filteringParams)
Returns list of l2 policies filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
L2Policy get(String id)
Get the specified l2 policy by ID- Parameters:
id- the l2 policy id- Returns:
- l2 policy or null if not found
-
delete
ActionResponse delete(String id)
Delete of the l2 policy- Parameters:
id- the l2 policy id- Returns:
- the action response
-
create
L2Policy create(L2Policy l2Policy)
Create a new l2 policy- Parameters:
l2- policy- Returns:
- the newly created l2 policy
-
-