public class FHNManagerImpl extends Object implements org.gcube.resources.federation.fhnmanager.api.FHNManager
| Constructor and Description |
|---|
FHNManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
Set<org.gcube.resources.federation.fhnmanager.api.type.ServiceProfile> |
allServiceProfiles() |
String |
buildOccopusDescription(org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructureTemplate it) |
org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructure |
createInfrastructureByTemplate(String infraTemplate) |
org.gcube.resources.federation.fhnmanager.api.type.Node |
createNode(String vmProviderId,
String serviceProfileId,
String resourceTemplateId) |
void |
deleteNode(String NodeId) |
void |
destroyInfrastructure(String infrastructureId) |
Set<org.gcube.resources.federation.fhnmanager.api.type.Node> |
findNodes(String serviceProfileId,
String vmProviderId) |
Collection<org.gcube.resources.federation.fhnmanager.api.type.ResourceTemplate> |
findResourceTemplate(String vmProviderid) |
Set<org.gcube.resources.federation.fhnmanager.api.type.VMProvider> |
findVMProviders(String serviceProfileId) |
Set<org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructure> |
getAllInfrastructures() |
org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructure |
getInfrastructureById(String infraId) |
void |
getInfrastructures() |
org.gcube.resources.federation.fhnmanager.api.type.Node |
getNodeById(String nodeId) |
void |
getOccopusInfrastructureById(String infraid) |
org.gcube.resources.federation.fhnmanager.api.type.VMProvider |
getVMProviderbyId(String vmProviderid) |
static void |
main(String[] args) |
String |
resourceTemplateName(String vmpId,
String rtId) |
void |
startNode(String NodeId) |
void |
stopNode(String NodeId) |
void |
updateOccopusInfra() |
public String buildOccopusDescription(org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructureTemplate it)
public org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructure createInfrastructureByTemplate(String infraTemplate)
createInfrastructureByTemplate in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic org.gcube.resources.federation.fhnmanager.api.type.Node createNode(String vmProviderId, String serviceProfileId, String resourceTemplateId)
createNode in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic Set<org.gcube.resources.federation.fhnmanager.api.type.Node> findNodes(String serviceProfileId, String vmProviderId) throws UnknownHostException
findNodes in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerUnknownHostExceptionpublic Set<org.gcube.resources.federation.fhnmanager.api.type.VMProvider> findVMProviders(String serviceProfileId) throws org.gcube.resources.federation.fhnmanager.api.exception.FHNManagerException
findVMProviders in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerorg.gcube.resources.federation.fhnmanager.api.exception.FHNManagerExceptionpublic org.gcube.resources.federation.fhnmanager.api.type.VMProvider getVMProviderbyId(String vmProviderid)
getVMProviderbyId in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic Set<org.gcube.resources.federation.fhnmanager.api.type.ServiceProfile> allServiceProfiles() throws org.gcube.resources.federation.fhnmanager.api.exception.FHNManagerException
allServiceProfiles in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerorg.gcube.resources.federation.fhnmanager.api.exception.FHNManagerExceptionpublic Collection<org.gcube.resources.federation.fhnmanager.api.type.ResourceTemplate> findResourceTemplate(String vmProviderid)
findResourceTemplate in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic org.gcube.resources.federation.fhnmanager.api.type.Node getNodeById(String nodeId)
getNodeById in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic void startNode(String NodeId) throws org.gcube.resources.federation.fhnmanager.api.exception.FHNManagerException
startNode in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerorg.gcube.resources.federation.fhnmanager.api.exception.FHNManagerExceptionpublic void stopNode(String NodeId) throws org.gcube.resources.federation.fhnmanager.api.exception.FHNManagerException
stopNode in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerorg.gcube.resources.federation.fhnmanager.api.exception.FHNManagerExceptionpublic void deleteNode(String NodeId) throws org.gcube.resources.federation.fhnmanager.api.exception.FHNManagerException
deleteNode in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerorg.gcube.resources.federation.fhnmanager.api.exception.FHNManagerExceptionpublic void destroyInfrastructure(String infrastructureId)
destroyInfrastructure in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic void getInfrastructures()
public org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructure getInfrastructureById(String infraId)
getInfrastructureById in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic void updateOccopusInfra()
public void getOccopusInfrastructureById(String infraid)
public Set<org.gcube.resources.federation.fhnmanager.api.type.OccopusInfrastructure> getAllInfrastructures()
getAllInfrastructures in interface org.gcube.resources.federation.fhnmanager.api.FHNManagerpublic static void main(String[] args)
Copyright © 2017. All Rights Reserved.