public interface PceStore
| Modifier and Type | Method and Description |
|---|---|
void |
addFailedPathInfo(PcePathInfo failedPathInfo)
Stores path information into failed path info store.
|
void |
addTunnelInfo(TunnelId tunnelId,
ResourceConsumer tunnelConsumerId)
Stores local label info with tunnel consumer id into tunnel info store for specified tunnel id.
|
boolean |
existsFailedPathInfo(PcePathInfo failedPathInfo)
Checks whether path info is present in failed path info list.
|
boolean |
existsTunnelInfo(TunnelId tunnelId)
Checks whether tunnel id is present in tunnel info store.
|
int |
getFailedPathInfoCount()
Retrieves the failed path info count.
|
Iterable<PcePathInfo> |
getFailedPathInfos()
Retrieves path info collection from failed path info store.
|
ResourceConsumer |
getTunnelInfo(TunnelId tunnelId)
Retrieves local label info with tunnel consumer id from tunnel info store.
|
int |
getTunnelInfoCount()
Retrieves the tunnel info count.
|
Map<TunnelId,ResourceConsumer> |
getTunnelInfos()
Retrieves tunnel id and pcecc tunnel info pairs collection from tunnel info store.
|
List<ExplicitPathInfo> |
getTunnelNameExplicitPathInfoMap(String tunnelName)
Gets explicit path info based on tunnel name.
|
boolean |
removeFailedPathInfo(PcePathInfo failedPathInfo)
Removes path info from failed path info store.
|
boolean |
removeTunnelInfo(TunnelId tunnelId)
Removes local label info with tunnel consumer id from tunnel info store for specified tunnel id.
|
boolean |
tunnelNameExplicitPathInfoMap(String tunnelName,
List<ExplicitPathInfo> explicitPathInfo)
Adds explicit path info to the map with corresponding tunnel name.
|
boolean existsTunnelInfo(TunnelId tunnelId)
tunnelId - tunnel idboolean existsFailedPathInfo(PcePathInfo failedPathInfo)
failedPathInfo - failed path informationint getTunnelInfoCount()
int getFailedPathInfoCount()
Map<TunnelId,ResourceConsumer> getTunnelInfos()
Iterable<PcePathInfo> getFailedPathInfos()
ResourceConsumer getTunnelInfo(TunnelId tunnelId)
tunnelId - tunnel idvoid addTunnelInfo(TunnelId tunnelId, ResourceConsumer tunnelConsumerId)
tunnelId - tunnel idtunnelConsumerId - tunnel consumer idvoid addFailedPathInfo(PcePathInfo failedPathInfo)
failedPathInfo - failed path informationboolean removeTunnelInfo(TunnelId tunnelId)
tunnelId - tunnel idboolean removeFailedPathInfo(PcePathInfo failedPathInfo)
failedPathInfo - failed path informationboolean tunnelNameExplicitPathInfoMap(String tunnelName, List<ExplicitPathInfo> explicitPathInfo)
tunnelName - tunnel name as keyexplicitPathInfo - list of explicit path objectsList<ExplicitPathInfo> getTunnelNameExplicitPathInfoMap(String tunnelName)
tunnelName - tunnel name as key