org.gcube.application.framework.vremanagement.vremanagement.impl
Class VREGeneratorEvo
java.lang.Object
org.gcube.application.framework.vremanagement.vremanagement.impl.VREGeneratorEvo
- All Implemented Interfaces:
- VREGeneratorInterface
public class VREGeneratorEvo
- extends java.lang.Object
- implements VREGeneratorInterface
- Author:
- Massimiliano Assante - ISTI-CNR
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VREGeneratorEvo
public VREGeneratorEvo(ASLSession session,
java.lang.String id)
- Parameters:
session - the d4s sessionepr - the epr
VREGeneratorEvo
public VREGeneratorEvo(ASLSession session)
- Parameters:
session - the d4s session
isVreModelerServiceUp
public boolean isVreModelerServiceUp()
getAllVREs
public static ReportList getAllVREs(ASLSession session)
- Parameters:
session - the d4s session
- Returns:
- the VRE names
removeVRE
public static void removeVRE(ASLSession session,
java.lang.String id)
- Parameters:
session - the d4s sessionid - the id of the VRE to be removed
checkVREStatus
public java.lang.String checkVREStatus()
throws java.rmi.RemoteException
- Specified by:
checkVREStatus in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
deployVRE
public void deployVRE()
throws java.rmi.RemoteException
- Specified by:
deployVRE in interface VREGeneratorInterface
- Throws:
java.rmi.RemoteException
getExistingNamesVREs
public java.lang.String[] getExistingNamesVREs()
getSelectedFunctionality
public FunctionalityNodes getSelectedFunctionality()
throws java.lang.Exception
- Specified by:
getSelectedFunctionality in interface VREGeneratorInterface
- Throws:
java.lang.Exception
getGHNs
public java.util.List<GHNType> getGHNs()
throws java.rmi.RemoteException
- Specified by:
getGHNs in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
getGHNsPerFunctionality
public GHNsPerFunctionality[] getGHNsPerFunctionality()
throws java.rmi.RemoteException
- Specified by:
getGHNsPerFunctionality in interface VREGeneratorInterface
- Returns:
- GHNsPerFunctionality
- Throws:
java.rmi.RemoteException
setFunctionality
public void setFunctionality(int[] funcIds,
SelectedResourceDescriptionType[] selResDesc)
throws java.rmi.RemoteException
- Specified by:
setFunctionality in interface VREGeneratorInterface
- Throws:
java.rmi.RemoteException
getFunctionality
public FunctionalityList getFunctionality()
throws java.lang.Exception
- Specified by:
getFunctionality in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
java.lang.Exception
getMetadataRelatedToCollection
public java.lang.String getMetadataRelatedToCollection()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getQuality
public java.lang.String getQuality()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getVREModel
public VREDescription getVREModel()
throws java.rmi.RemoteException
- first call
- Specified by:
getVREModel in interface VREGeneratorInterface
- Returns:
- what the vVRE modeler returns
- Throws:
java.rmi.RemoteException
setGHNs
public void setGHNs(java.lang.String[] selectedGHNIds)
throws java.rmi.RemoteException
- Specified by:
setGHNs in interface VREGeneratorInterface
- Parameters:
selectedGHNIds - the GHNs selected
- Throws:
java.rmi.RemoteException
setVREModel
public void setVREModel(java.lang.String VREName,
java.lang.String VREDescription,
java.lang.String VREDesigner,
java.lang.String VREManager,
long startTime,
long endTime)
throws java.rmi.RemoteException
- Specified by:
setVREModel in interface VREGeneratorInterface
- Parameters:
VREName - the VRE nameVREDescription - a description for the VREVREDesigner - the VRE designerVREManager - the VRE managerstartTime - start timeendTime - end time
- Throws:
java.rmi.RemoteException
setVREtoPendingState
public void setVREtoPendingState()
throws java.rmi.RemoteException
- Specified by:
setVREtoPendingState in interface VREGeneratorInterface
- Throws:
java.rmi.RemoteException
getVREepr
public java.lang.String getVREepr()
-
- Specified by:
getVREepr in interface VREGeneratorInterface
- Returns:
isCloudAvailable
public boolean isCloudAvailable()
- Specified by:
isCloudAvailable in interface VREGeneratorInterface
isCloudSelected
public boolean isCloudSelected()
- Specified by:
isCloudSelected in interface VREGeneratorInterface
setCloudDeploy
public boolean setCloudDeploy(int virtualMachines)
- Specified by:
setCloudDeploy in interface VREGeneratorInterface
getCloudVMSelected
public int getCloudVMSelected()
- Specified by:
getCloudVMSelected in interface VREGeneratorInterface