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 boolean
acceptBatch(long id, LightPath[][] lightpaths, int[] rate)
boolean
acceptBulkData(long id, LightPath[] lightpaths, int rate)
boolean
acceptFlow(long id, LightPath[] lightpaths)
boolean
acceptFlow(long id, Path[] paths, int[] bws)
boolean
acceptFlow(long id, Path[] primaryPaths, int[] primaryBWS, Path[] backupPaths, int[] backupBWS, boolean reservedProtect, boolean shared)
boolean
addStaticLightPathProtect(LightPath[] lightpaths, boolean bakcup, boolean reservedProtect)
boolean
addStaticLightPathProtect(Path[] primaryPaths, Path[] backupPaths, boolean reservedProtect)
boolean
blockBatch(long id)
boolean
blockBulkData(long id)
boolean
blockFlow(long id)
EONLightPath
createCandidateEONLightPath(int src, int dst, int[] links, int[] cores, int firstSlot, int lastSlot, int modulation)
EONLightPath
createCandidateEONLightPath(int src, int dst, int[] links, int firstSlot, int lastSlot, int modulation)
EONLightPath
createCandidateEONLightPath(int src, int dst, int[] links, int firstSlot, int lastSlot, int modulation, java.lang.String typeProtection)
WDMLightPath
createCandidateWDMLightPath(int src, int dst, int[] links, int[] wavelengths)
WDMLightPath
createCandidateWDMLightPath(int src, int dst, int[] links, int[] wavelengths, java.lang.String typeProtection)
double
getCurrentTime()
Flow
getFlow(long id)
Flow[]
getFlows(LightPath lightpath)
int
getLightpathFlowCount(long id)
java.util.Map<Flow,MultiPath>
getMappedFlowsMultiPath()
java.util.Map<Flow,MultiPathProtect>
getMappedFlowsMultiPathProtect()
java.util.Map<Flow,Path>
getMappedFlowsSinglePath()
MultiPath
getMultiPath(Flow flow)
Path
getPath(Flow flow)
PhysicalTopology
getPT()
VirtualTopology
getVT()
boolean
rerouteFlow(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
-