Class VipServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.networking.internal.BaseNetworkingServices
-
- org.openstack4j.openstack.networking.internal.ext.VipServiceImpl
-
- All Implemented Interfaces:
VipService,RestService
public class VipServiceImpl extends BaseNetworkingServices implements VipService
OpenStack (Neutron) Lbaas vip based Operations- Author:
- liujunpeng
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description VipServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vipcreate(Vip vip)Create a vipActionResponsedelete(String vipId)Delete the specified vip by IDVipget(String vipId)Get the specified vip by IDList<? extends Vip>list()List all vipss that the current tenant has access toList<? extends Vip>list(Map<String,String> filteringParams)Returns list of vip filtered by parameters.Vipupdate(String vipId, VipUpdate vip)Update a vip-
Methods inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
delete, deleteWithResponse, get, getProvider, getServiceVersion, getWithResponse, getXOpenstackRequestId, head, patch, patchWithResponse, post, postWithResponse, put, putWithResponse, request, toList, uri
-
-
-
-
Method Detail
-
list
public List<? extends Vip> list()
List all vipss that the current tenant has access to- Specified by:
listin interfaceVipService- Returns:
- list of all vip
-
list
public List<? extends Vip> list(Map<String,String> filteringParams)
Returns list of vip filtered by parameters.- Specified by:
listin interfaceVipService- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- list of vip fitered by filteringParams
-
get
public Vip get(String vipId)
Get the specified vip by ID- Specified by:
getin interfaceVipService- Parameters:
vipId- the vip identifier- Returns:
- the vip or null if not found
-
delete
public ActionResponse delete(String vipId)
Delete the specified vip by ID- Specified by:
deletein interfaceVipService- Parameters:
vipId- the vip identifier- Returns:
- the action response
-
create
public Vip create(Vip vip)
Create a vip- Specified by:
createin interfaceVipService- Parameters:
vip- vip- Returns:
- Vip
-
update
public Vip update(String vipId, VipUpdate vip)
Update a vip- Specified by:
updatein interfaceVipService- Parameters:
vipId- the vip identifiervip- VipUpdate- Returns:
- Vip
-
-