Class VnfServiceImpl
- java.lang.Object
-
- org.openstack4j.openstack.internal.BaseOpenStackService
-
- org.openstack4j.openstack.tacker.internal.BaseTackerServices
-
- org.openstack4j.openstack.tacker.internal.VnfServiceImpl
-
- All Implemented Interfaces:
VnfService,RestService
public class VnfServiceImpl extends BaseTackerServices implements VnfService
- Author:
- Vishvesh Deshmukh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openstack4j.openstack.internal.BaseOpenStackService
BaseOpenStackService.Invocation<R>
-
-
Constructor Summary
Constructors Constructor Description VnfServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vnfcreate(Vnf vnf)Create Vnf - Create a Vnf entry based on the Vnf template.ActionResponsedelete(String vnfId)Delete Vnf - Deletes a specified VnfId from the VNF catalog.TackerVnfget(String vnfId)Show Vnf - Show information for a specified VnfId.List<? extends TackerVnf>list()List vnfs - Lists instantiated vnfs in VNF ManagerList<? extends TackerVnf>list(Map<String,String> filteringParams)List vnfs - Lists instantiated vnfs in VNF Manager filtered by parameters.Vnfupdate(String vnfId, VnfUpdate vnfUpdate)Update vnf - Update a vnf based on user config file or data.-
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 TackerVnf> list()
List vnfs - Lists instantiated vnfs in VNF Manager- Specified by:
listin interfaceVnfService- Returns:
- list of all Vnf(s)
-
list
public List<? extends TackerVnf> list(Map<String,String> filteringParams)
List vnfs - Lists instantiated vnfs in VNF Manager filtered by parameters.- Specified by:
listin interfaceVnfService- Parameters:
filteringParams- map (name, value) of filtering parameters- Returns:
- filtered list of Vnf(s)
-
get
public TackerVnf get(String vnfId)
Show Vnf - Show information for a specified VnfId.- Specified by:
getin interfaceVnfService- Returns:
- the Vnf or null if not found
-
delete
public ActionResponse delete(String vnfId)
Delete Vnf - Deletes a specified VnfId from the VNF catalog.- Specified by:
deletein interfaceVnfService- Returns:
- the action response
-
create
public Vnf create(Vnf vnf)
Create Vnf - Create a Vnf entry based on the Vnf template.- Specified by:
createin interfaceVnfService- Returns:
- Vnf
-
update
public Vnf update(String vnfId, VnfUpdate vnfUpdate)
Update vnf - Update a vnf based on user config file or data.- Specified by:
updatein interfaceVnfService- Parameters:
vnfId- the Vnf identifiervnfUpdate- VnfUpdate- Returns:
- Vnf
-
-