public interface PceService
| Modifier and Type | Method and Description |
|---|---|
List<ExplicitPathInfo> |
explicitPathInfoList(String tunnelName)
Returns list of explicit path info.
|
Iterable<Tunnel> |
queryAllPath()
Queries all paths.
|
Tunnel |
queryPath(TunnelId tunnelId)
Queries particular path based on tunnel identifier.
|
boolean |
releasePath(TunnelId tunnelId)
Releases an existing path.
|
boolean |
setupPath(DeviceId src,
DeviceId dst,
String tunnelName,
List<Constraint> constraints,
LspType lspType)
Creates new path based on constraints and LSP type.
|
boolean |
setupPath(DeviceId src,
DeviceId dst,
String tunnelName,
List<Constraint> constraints,
LspType lspType,
List<ExplicitPathInfo> explicitPathInfo)
Creates new path based on constraints and LSP type.
|
boolean |
updatePath(TunnelId tunnelId,
List<Constraint> constraints)
Updates an existing path.
|
boolean setupPath(DeviceId src, DeviceId dst, String tunnelName, List<Constraint> constraints, LspType lspType)
src - source devicedst - destination devicetunnelName - name of the tunnelconstraints - list of constraints to be applied on pathlspType - type of path to be setupboolean setupPath(DeviceId src, DeviceId dst, String tunnelName, List<Constraint> constraints, LspType lspType, List<ExplicitPathInfo> explicitPathInfo)
src - source devicedst - destination devicetunnelName - name of the tunnelconstraints - list of constraints to be applied on pathlspType - type of path to be setupexplicitPathInfo - list of explicit path infoboolean updatePath(TunnelId tunnelId, List<Constraint> constraints)
tunnelId - tunnel identifierconstraints - list of constraints to be applied on pathboolean releasePath(TunnelId tunnelId)
tunnelId - tunnel identifierIterable<Tunnel> queryAllPath()
Tunnel queryPath(TunnelId tunnelId)
tunnelId - tunnel identifierList<ExplicitPathInfo> explicitPathInfoList(String tunnelName)
tunnelName - tunnel name