public class L2policyServiceImpl extends BaseNetworkingServices implements L2policyService
BaseOpenStackService.Invocation<R>| Constructor and Description |
|---|
L2policyServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
L2Policy |
create(L2Policy l2Policy)
Create a new l2 policy
|
ActionResponse |
delete(String id)
Delete of the l2 policy
|
L2Policy |
get(String id)
Get the specified l2 policy by ID
|
List<? extends L2Policy> |
list()
List all l2 policies
|
List<? extends L2Policy> |
list(Map<String,String> filteringParams)
Returns list of l2 policies filtered by parameters.
|
L2Policy |
update(String l2PolicyId,
L2Policy l2Policy)
Updates an existing l2 policy
|
delete, deleteWithResponse, get, getProvider, getServiceVersion, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, request, toList, uripublic List<? extends L2Policy> list()
list in interface L2policyServicepublic List<? extends L2Policy> list(Map<String,String> filteringParams)
list in interface L2policyServicefilteringParams - map (name, value) of filtering parameterspublic L2Policy get(String id)
get in interface L2policyServiceid - the l2 policy idpublic ActionResponse delete(String id)
delete in interface L2policyServiceid - the l2 policy idpublic L2Policy create(L2Policy l2Policy)
create in interface L2policyServicepublic L2Policy update(String l2PolicyId, L2Policy l2Policy)
update in interface L2policyServiceCopyright © 2017. All rights reserved.