public class PcepClientControllerImpl.PcepClientAgent extends Object implements PcepAgent
| Constructor and Description |
|---|
PcepClientAgent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addConnectedClient(PccId pccId,
PcepClient pc)
Add a pcc client that has just connected to the system.
|
void |
addNode(PcepClient pc)
Adds PCEP device when session is successfully established.
|
boolean |
analyzeSyncMsgList(PccId pccId)
Analyzes report messages received during LSP DB sync again tunnel store and takes necessary actions.
|
void |
deleteNode(PccId pccId)
Removes PCEP device when session is disconnected.
|
void |
processPcepMessage(PccId pccId,
PcepMessage m)
Process a message coming from a pcc client.
|
void |
removeConnectedClient(PccId pccId)
Clear all state in controller client maps for a pcc client that has
disconnected from the local controller.
|
boolean |
validActivation(PccId pccId)
Checks if the activation for this pcc client is valid.
|
public boolean addConnectedClient(PccId pccId, PcepClient pc)
PcepAgentaddConnectedClient in interface PcepAgentpccId - the id of pcc client to addpc - the actual pce client object.public boolean validActivation(PccId pccId)
PcepAgentvalidActivation in interface PcepAgentpccId - the id of pcc client to checkpublic void removeConnectedClient(PccId pccId)
PcepAgentremoveConnectedClient in interface PcepAgentpccId - the id of pcc client to remove.public void processPcepMessage(PccId pccId, PcepMessage m)
PcepAgentprocessPcepMessage in interface PcepAgentpccId - the id of pcc client the message was received.m - the message to processpublic void addNode(PcepClient pc)
PcepAgentpublic void deleteNode(PccId pccId)
PcepAgentdeleteNode in interface PcepAgentpccId - PCEP client IDpublic boolean analyzeSyncMsgList(PccId pccId)
PcepAgentanalyzeSyncMsgList in interface PcepAgentpccId - the id of pcc client