Package ons.ra
Interface ControlPlaneForRA
- All Known Implementing Classes:
ControlPlane,PseudoControlPlane,PseudoControlPlane2
public interface ControlPlaneForRA
This is the interface that provides several methods for the
RWA Class within the Control Plane.
-
Method Summary
Modifier and Type Method Description booleanacceptBatch(long id, LightPath[][] lightpaths, int[] rate)booleanacceptBulkData(long id, LightPath[] lightpaths, int rate)booleanacceptFlow(long id, LightPath[] lightpaths)booleanacceptFlow(long id, Path[] paths, int[] bws)booleanacceptFlow(long id, Path[] primaryPaths, int[] primaryBWS, Path[] backupPaths, int[] backupBWS, boolean reservedProtect, boolean shared)booleanaddStaticLightPathProtect(LightPath[] lightpaths, boolean bakcup, boolean reservedProtect)booleanaddStaticLightPathProtect(Path[] primaryPaths, Path[] backupPaths, boolean reservedProtect)booleanblockBatch(long id)booleanblockBulkData(long id)booleanblockFlow(long id)EONLightPathcreateCandidateEONLightPath(int src, int dst, int[] links, int[] cores, int firstSlot, int lastSlot, int modulation)EONLightPathcreateCandidateEONLightPath(int src, int dst, int[] links, int firstSlot, int lastSlot, int modulation)EONLightPathcreateCandidateEONLightPath(int src, int dst, int[] links, int firstSlot, int lastSlot, int modulation, java.lang.String typeProtection)WDMLightPathcreateCandidateWDMLightPath(int src, int dst, int[] links, int[] wavelengths)WDMLightPathcreateCandidateWDMLightPath(int src, int dst, int[] links, int[] wavelengths, java.lang.String typeProtection)doublegetCurrentTime()FlowgetFlow(long id)Flow[]getFlows(LightPath lightpath)intgetLightpathFlowCount(long id)java.util.Map<Flow,MultiPath>getMappedFlowsMultiPath()java.util.Map<Flow,MultiPathProtect>getMappedFlowsMultiPathProtect()java.util.Map<Flow,Path>getMappedFlowsSinglePath()MultiPathgetMultiPath(Flow flow)PathgetPath(Flow flow)PhysicalTopologygetPT()VirtualTopologygetVT()booleanrerouteFlow(long id, LightPath[] lightpaths)
-
Method Details
-
acceptFlow
-
acceptFlow
-
acceptFlow
-
blockFlow
boolean blockFlow(long id) -
acceptBulkData
-
blockBulkData
boolean blockBulkData(long id) -
acceptBatch
-
blockBatch
boolean blockBatch(long id) -
rerouteFlow
-
getFlow
-
getPath
-
getMultiPath
-
getLightpathFlowCount
int getLightpathFlowCount(long id) -
getMappedFlowsSinglePath
-
getMappedFlowsMultiPath
-
getMappedFlowsMultiPathProtect
java.util.Map<Flow,MultiPathProtect> getMappedFlowsMultiPathProtect() -
getPT
PhysicalTopology getPT() -
getVT
VirtualTopology getVT() -
getCurrentTime
double getCurrentTime() -
createCandidateWDMLightPath
-
createCandidateWDMLightPath
WDMLightPath createCandidateWDMLightPath(int src, int dst, int[] links, int[] wavelengths, java.lang.String typeProtection) -
createCandidateEONLightPath
EONLightPath createCandidateEONLightPath(int src, int dst, int[] links, int firstSlot, int lastSlot, int modulation) -
createCandidateEONLightPath
EONLightPath createCandidateEONLightPath(int src, int dst, int[] links, int[] cores, int firstSlot, int lastSlot, int modulation) -
createCandidateEONLightPath
EONLightPath createCandidateEONLightPath(int src, int dst, int[] links, int firstSlot, int lastSlot, int modulation, java.lang.String typeProtection) -
addStaticLightPathProtect
-
addStaticLightPathProtect
-
getFlows
-