|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.ProtocolSession
|
+--gov.nist.antd.mpls.signaling.S_CRLDP
Class S_CRLDP.
The S_CRLDP class is MPLS Signaling Protocol.
+------------------------+
(1) When the sCR-LDP is started, it creates | PeerLSRInfo |+
a peerLSRInfoTable to maintain peer | - PeerLSR information ||+
LSR information to support MPLS signaling| - Interface Info |||
messages exchanging | - IP address Info |||
(2) If there is no peerLSR infomation | |||
that is requested to establish a LSP, +-----------.------------+||
Label request will be rejected. +---------.-------------+|
+------.--------------+
.
+=========================+ .
| sCR-LDP | .
to/from a peerCR-LDP | - peerLSRInfoTable........... to/from a peerCR-LDP
| - ControlBlockTable.......
| - Signaling functions | .
+=========================+ .
.
+--------.---------------+
(3) When the sCR-LDP receives a Label | CRLDPControlBlock |+
request message form the peer CR-LDP, | - LSP information ||+
thesCR-LDP creates a CRLDPControlBlock | - Label Request funcs |||
to establish a requested LST | - Label Mapping funcs |||
(4) The CRLDPControlBlock has all of | - Notification funcs |||
Label Request, Mapping and Release +------------------------+||
functions. So It performs a LSP +-----------------------+|
establish, management and release. +---------------------+
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government and the Towson University by student in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
static short |
AvailableExcessBandwidthReportMessage
Field AvailableExcessBandwidthReportMessage |
java.util.Vector |
ControlBlockTable
Field ControlBlockTable - Control Block Table |
boolean |
debug
Field debug - Debug flag |
FaultManager |
faultManager
|
MPLSInterfaceMgmt |
interfacemgmt
Field interfacemgmt - Interface Management |
boolean |
isFaultManager
|
boolean |
isFirst
Field isFirst - First run flag |
boolean |
isTEAgent
Field isTEAgent - TE Agent activation flag |
static short |
LabelMappingMessage
Field LabelMappingMessage |
static short |
LabelReleaseMessage
Field LabelReleaseMessage |
static short |
LabelRequestMessage
Field LabelRequestMessage |
static short |
LabelWithdrawMessage
Field LabelWithdrawMessage |
ProtocolGraph |
localNode
Field localNode - Local Node(ProtocolGraph) |
java.lang.String |
LSRID
Field LSRID - LSR ID |
int |
MessageIDCount
Field MessageIDCount - Message ID count |
java.util.Vector |
MessageList
Field MessageList - Message List(Queue) |
MPLSMgmt |
mplsmgmt
Field mplsmgmt - MPLS Management Object |
Net |
net
Field net - Net object |
int |
NodeType
Field NodeType - Node Type |
static short |
NotificationMessage
Field NotificationMessage |
java.util.Hashtable |
OUNIClientTable
Field OUNIClientTable - O-UNI Client Table |
OUNI_N |
ouniServer
Field ouniServer - O-UNI Server |
java.util.Vector |
peerLSRInfoTable
Field peerLSRInfoTable - Peer LSR information Table |
PeerLSRMgmt |
peerLSRMgmtModule
Field peerLSRMgmtModule - Peer LSR Management Module |
double |
ProcessingDelay
Field ProcessingDelay - Processing Delay |
MPLSSignalingInterfaceMgmt |
siginterfacemgmt
Field siginterfacemgmt - Signaling Interface Management object |
TEAgent |
teagent
Field teagent - TE Agent module |
ProtocolSession |
tePath
Field tePath - Traffic Engineering path(ProtocolSeesion) Object |
| Fields inherited from class SSF.OS.ProtocolSession |
name, use |
| Constructor Summary | |
S_CRLDP()
Constructor S_CRLDP |
|
| Method Summary | |
void |
addMessage(MPLSSignalingMessage message)
Method addMessage Add Message to the message queue |
void |
config(com.renesys.raceway.DML.Configuration cfg)
Method config Configuration |
void |
CRLDPMessageProc(short messageType,
MPLSSignalingInfo sigInfo,
double DelayTime,
S_CRLDP peercrldp)
Method CRLDPMessageProc Send MPLS Signaling message(call CRLDPMessageProc() method) |
void |
CRLDPMessageProc(short messageType,
MPLSSignalingInfo sigInfo,
double DelayTime,
S_CRLDP peercrldp,
ProtocolMessage additionalMsg)
Method CRLDPMessageProc Send the Signaling message |
CRLDPControlBlock |
getCRLDPControlBlock(int ingresslsrid,
int locallspid)
Method getCRLDPControlBlock Extract CRLDP Control block using Ingress LSR ID and Local LSP ID |
MPLSSignalingInfo |
getCRLDPSignalingInfo(int locallspid,
int ingresslsrid)
Method getCRLDPSignalingInfo Retrieves the Signaling Information |
java.util.Vector |
getDefactInCCB(int incomingInterfaceid,
int incomingfiberid,
int incominglambdaid)
Method getDefactInCCB Return the CRLDPControlBlock that have the specified NIC or Fiber ID, Lambda ID. |
OUNI_N |
getOUNIServer()
Method getOUNIServer Get the O-UNI server Module |
void |
init()
Method init |
boolean |
push(ProtocolMessage message,
ProtocolSession fromSession)
Method push |
void |
recvCRLDPMessage(ProtocolMessage message,
S_CRLDP peercrldp)
Method recvCRLDPMessage Called when it received the CR-LDP message to handle it |
void |
registeSCRLDP()
Method registeSCRLDP Register CR-LDP module to MPLS Management module |
void |
releaseMulticastLSP(int groupid,
int sourceid)
Method releaseMulticastLSP Remove the Control block belong to Multicast LSP |
void |
removeCRLDPControlBlock(CRLDPControlBlock cblock)
Method removeCRLDPControlBlock Remove this control block from the table |
CRLDPControlBlock |
removeCRLDPControlBlock(int locallspid,
int ingressip)
Method removeCRLDPControlBlock Remove Control block using Ingress LSR ID and Local LSP ID |
void |
sendCRLDPMessage()
Method sendCRLDPMessage Deliver the CR-LDP siganling message to peer node |
void |
setFaultManager(FaultManager fm)
Method setFaultManager This function is called by the Fault Manager to register its information... |
void |
setOUNIClient(PeerLSRInfo pinfo)
Method setOUNIClient Set O-UNI client connection and put this to the table |
void |
setTEAgent(TEAgent tea)
Method setTEAgent This function is called by the TEAgent to register its information... |
void |
setupCRLDP(int nodetype,
MPLSInterfaceMgmt ifacemgmt)
Method setupCRLDP The MPLSMgmt module calls this functions to register the MPLSInterfaceMgmt instance and the NodeType of this node... |
CRLDPControlBlock |
startMessage(MPLSSignalingInfo sinfo,
boolean isouni)
Method startMessage Create New Control block and send MPLS Signaling Message |
| Methods inherited from class SSF.OS.ProtocolSession |
close, closed, debugIdentifier, inGraph, open, opened, pushAfterDelay, pushAfterDelayFailed, setGraph, version |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public ProtocolGraph localNode
public int NodeType
public java.lang.String LSRID
public Net net
public MPLSMgmt mplsmgmt
public MPLSInterfaceMgmt interfacemgmt
public MPLSSignalingInterfaceMgmt siginterfacemgmt
public ProtocolSession tePath
public boolean debug
public boolean isFirst
public double ProcessingDelay
public java.util.Vector peerLSRInfoTable
public java.util.Vector ControlBlockTable
public java.util.Vector MessageList
public PeerLSRMgmt peerLSRMgmtModule
public boolean isTEAgent
public TEAgent teagent
public boolean isFaultManager
public FaultManager faultManager
public OUNI_N ouniServer
public java.util.Hashtable OUNIClientTable
public int MessageIDCount
public static final short NotificationMessage
public static final short LabelMappingMessage
public static final short LabelRequestMessage
public static final short LabelWithdrawMessage
public static final short LabelReleaseMessage
public static final short AvailableExcessBandwidthReportMessage
| Constructor Detail |
public S_CRLDP()
| Method Detail |
public void config(com.renesys.raceway.DML.Configuration cfg)
throws com.renesys.raceway.DML.configException
config in interface com.renesys.raceway.DML.Configurableconfig in class ProtocolSessioncfg -
com.renesys.raceway.DML.configException
public void init()
throws ProtocolException
init in class ProtocolSessionProtocolExceptionpublic void registeSCRLDP()
public void setupCRLDP(int nodetype,
MPLSInterfaceMgmt ifacemgmt)
nodetype - - Node Typeifacemgmt - - Interface Managementpublic void setOUNIClient(PeerLSRInfo pinfo)
pinfo - - XXXpublic void setTEAgent(TEAgent tea)
tea - - TE Agent modulepublic void setFaultManager(FaultManager fm)
public OUNI_N getOUNIServer()
public CRLDPControlBlock startMessage(MPLSSignalingInfo sinfo,
boolean isouni)
sinfo - - Singaling Informationisouni - - True if this node is connected to Optical Network
public CRLDPControlBlock getCRLDPControlBlock(int ingresslsrid,
int locallspid)
ingresslsrid - locallspid -
public CRLDPControlBlock removeCRLDPControlBlock(int locallspid,
int ingressip)
locallspid - ingressip -
public void removeCRLDPControlBlock(CRLDPControlBlock cblock)
cblock - - XXX
public MPLSSignalingInfo getCRLDPSignalingInfo(int locallspid,
int ingresslsrid)
locallspid - - Local LSP IDingresslsrid - - Ingress LSR ID
public java.util.Vector getDefactInCCB(int incomingInterfaceid,
int incomingfiberid,
int incominglambdaid)
incomingInterfaceid - - NIC Idincomingfiberid - - Fiber IDincominglambdaid - - Lambda ID
public void recvCRLDPMessage(ProtocolMessage message,
S_CRLDP peercrldp)
message - peercrldp -
public void releaseMulticastLSP(int groupid,
int sourceid)
groupid - sourceid -
public boolean push(ProtocolMessage message,
ProtocolSession fromSession)
throws ProtocolException
push in class ProtocolSessionmessage - fromSession -
ProtocolException
public void CRLDPMessageProc(short messageType,
MPLSSignalingInfo sigInfo,
double DelayTime,
S_CRLDP peercrldp)
messageType - - Message TypesigInfo - - Signaling InformationDelayTime - - Delay Timepeercrldp - - Peer CR-LDP module
public void CRLDPMessageProc(short messageType,
MPLSSignalingInfo sigInfo,
double DelayTime,
S_CRLDP peercrldp,
ProtocolMessage additionalMsg)
messageType - sigInfo - DelayTime - peercrldp - additionalMsg - public void addMessage(MPLSSignalingMessage message)
message - public void sendCRLDPMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||