Package org.openstack4j.api.gbp
Interface L3policyService
-
- All Known Implementing Classes:
L3policyServiceImpl
public interface L3policyServiceThis interface defines all methods for the manipulation of l3policy- Author:
- vinod borole
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description L3Policycreate(L3Policy l3Policy)Create a new l3 policyActionResponsedelete(String id)Delete of the l3 policyL3Policyget(String id)Get the specified l3 policy by IDList<? extends L3Policy>list()List all l3 policiesList<? extends L3Policy>list(Map<String,String> filteringParams)Returns list of l3 policies filtered by parameters.L3Policyupdate(String l3PolicyId, L3Policy l3Policy)Updates an existing l3 policy
-
-
-
Method Detail
-
list
List<? extends L3Policy> list(Map<String,String> filteringParams)
Returns list of l3 policies filtered by parameters.- Parameters:
filteringParams- map (name, value) of filtering parameters
-
get
L3Policy get(String id)
Get the specified l3 policy by ID- Parameters:
id- the l3 policy id- Returns:
- l3 policy or null if not found
-
delete
ActionResponse delete(String id)
Delete of the l3 policy- Parameters:
id- the l3 policy id- Returns:
- the action response
-
create
L3Policy create(L3Policy l3Policy)
Create a new l3 policy- Parameters:
l3- policy- Returns:
- the newly created l3 policy
-
-