public interface PceLabelStore
| Modifier and Type | Method and Description |
|---|---|
void |
addAdjLabel(org.onosproject.net.Link link,
LabelResourceId labelId)
Stores adjacency label into adjacency label store.
|
void |
addGlobalNodeLabel(org.onosproject.net.DeviceId deviceId,
LabelResourceId labelId)
Stores node label into global node label store.
|
boolean |
addLsrIdDevice(String lsrId,
org.onosproject.net.DeviceId deviceId)
Adds lsrid to device id mapping.
|
boolean |
addPccLsr(org.onosproject.net.DeviceId lsrId)
Adds lsrId of the PCC in form of device id for the PCC for which sync is pending due to non-availability of BGP.
|
void |
addTunnelInfo(TunnelId tunnelId,
List<LspLocalLabelInfo> lspLocalLabelInfoList)
Stores local label info with tunnel consumer id into tunnel info store for specified tunnel id.
|
boolean |
existsAdjLabel(org.onosproject.net.Link link)
Checks whether link is present in adjacency label store.
|
boolean |
existsGlobalNodeLabel(org.onosproject.net.DeviceId id)
Checks whether device id is present in global node label store.
|
boolean |
existsTunnelInfo(TunnelId tunnelId)
Checks whether tunnel id is present in tunnel info store.
|
LabelResourceId |
getAdjLabel(org.onosproject.net.Link link)
Retrieves adjacency label for specified link.
|
int |
getAdjLabelCount()
Retrieves the adjacency label count.
|
Map<org.onosproject.net.Link,LabelResourceId> |
getAdjLabels()
Retrieves link and label pairs collection from adjacency label store.
|
LabelResourceId |
getGlobalNodeLabel(org.onosproject.net.DeviceId id)
Retrieves node label for specified device id.
|
int |
getGlobalNodeLabelCount()
Retrieves the node label count.
|
Map<org.onosproject.net.DeviceId,LabelResourceId> |
getGlobalNodeLabels()
Retrieves device id and label pairs collection from global node label store.
|
org.onosproject.net.DeviceId |
getLsrIdDevice(String lsrId)
Gets lsrid to device id mapping.
|
List<LspLocalLabelInfo> |
getTunnelInfo(TunnelId tunnelId)
Retrieves local label info with tunnel consumer id from tunnel info store.
|
int |
getTunnelInfoCount()
Retrieves the tunnel info count.
|
Map<TunnelId,List<LspLocalLabelInfo>> |
getTunnelInfos()
Retrieves tunnel id and pcecc tunnel info pairs collection from tunnel info store.
|
boolean |
hasPccLsr(org.onosproject.net.DeviceId lsrId)
Gets lsrId of the PCC in form of device id.
|
boolean |
removeAdjLabel(org.onosproject.net.Link link)
Removes adjacency label from adjacency label store for specified link information.
|
boolean |
removeGlobalNodeLabel(org.onosproject.net.DeviceId id)
Removes device label from global node label store for specified device id.
|
boolean |
removeLsrIdDevice(String lsrId)
Removes lsrid to device id mapping.
|
boolean |
removePccLsr(org.onosproject.net.DeviceId lsrId)
Removes lsrId of the PCC in form of device id for the PCC for which pending sync is done.
|
boolean |
removeTunnelInfo(TunnelId tunnelId)
Removes local label info with tunnel consumer id from tunnel info store for specified tunnel id.
|
boolean existsGlobalNodeLabel(org.onosproject.net.DeviceId id)
id - device idboolean existsAdjLabel(org.onosproject.net.Link link)
link - link between devicesboolean existsTunnelInfo(TunnelId tunnelId)
tunnelId - tunnel idint getGlobalNodeLabelCount()
int getAdjLabelCount()
int getTunnelInfoCount()
Map<org.onosproject.net.DeviceId,LabelResourceId> getGlobalNodeLabels()
Map<org.onosproject.net.Link,LabelResourceId> getAdjLabels()
Map<TunnelId,List<LspLocalLabelInfo>> getTunnelInfos()
LabelResourceId getGlobalNodeLabel(org.onosproject.net.DeviceId id)
id - device idLabelResourceId getAdjLabel(org.onosproject.net.Link link)
link - between devicesList<LspLocalLabelInfo> getTunnelInfo(TunnelId tunnelId)
tunnelId - tunnel idvoid addGlobalNodeLabel(org.onosproject.net.DeviceId deviceId,
LabelResourceId labelId)
deviceId - device idlabelId - node label idvoid addAdjLabel(org.onosproject.net.Link link,
LabelResourceId labelId)
link - link between nodeslabelId - link label idvoid addTunnelInfo(TunnelId tunnelId, List<LspLocalLabelInfo> lspLocalLabelInfoList)
tunnelId - tunnel idlspLocalLabelInfoList - local label infoboolean removeGlobalNodeLabel(org.onosproject.net.DeviceId id)
id - device idboolean removeAdjLabel(org.onosproject.net.Link link)
link - between nodesboolean removeTunnelInfo(TunnelId tunnelId)
tunnelId - tunnel idboolean addLsrIdDevice(String lsrId, org.onosproject.net.DeviceId deviceId)
lsrId - lsrId of the devicedeviceId - device idboolean removeLsrIdDevice(String lsrId)
lsrId - lsrId of the deviceorg.onosproject.net.DeviceId getLsrIdDevice(String lsrId)
lsrId - lsrId of the deviceboolean addPccLsr(org.onosproject.net.DeviceId lsrId)
lsrId - LSR id of the PCC in form of device idboolean removePccLsr(org.onosproject.net.DeviceId lsrId)
lsrId - LSR id of the PCC in form of device idboolean hasPccLsr(org.onosproject.net.DeviceId lsrId)
lsrId - LSR id of the PCC in form of device id