|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.mpls.signaling.PeerLSRMgmt
This class manages the peerLSRInfoTable in the sCR-LDP module. It has functions to find PeerLSRs and to create PeerLSRInfo to maintain peer info.
The sCRLDP 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 int |
DOMAIN
Field DOMAIN |
java.lang.String |
LSRID
Field LSRID - LSR ID |
int |
NodeType
Field NodeType - Node Type |
java.util.Vector |
peerLSRInfoTable
Field peerLSRInfoTable - Peer LSR information Table |
static int |
PEERTOPEER
Field PEERTOPEER |
S_CRLDP |
sCRLDPProc
Field sCRLDPProc - CR-LDP object |
| Constructor Summary | |
PeerLSRMgmt(S_CRLDP scrldp)
Constructor PeerLSRMgmt |
|
| Method Summary | |
void |
addPeerInfo(int ifaceid,
ProtocolGraph peerLSR,
int peerIface,
boolean istunnel)
Method addPeerInfo Add Peer Information to table |
int |
getInInterfaceID(S_CRLDP peercrldp)
Method getInInterfaceID |
PeerLSRInfo |
getNextLSR(int ifaceid)
Method getNextLSR Get the next LSR |
PeerLSRInfo |
getNextLSRbyIP(int ipaddr)
Method getNextLSRbyIP Get next LSR using IP address |
java.util.Vector |
getOUNICleints()
Method getOUNICleints Get OUNI Clients |
void |
setPeerLSRInfo_NIC(MPLSInterfaceInfo iface)
Method setPeerLSRInfo_NIC Set Peer LSR information with NIC |
void |
setPeerLSRInfo_ONIC(MPLSInterfaceInfo iface)
Method setPeerLSRInfo_ONIC Set the Peer LSR information (ONIC type) |
void |
setPeerLSRInfo_Tunnel(MPLSInterfaceInfo iface)
Method setPeerLSRInfo_Tunnel Set the Peer LSR information (Tunnel Interface) |
void |
setPeerLSRInfo()
Method setPeerLSRInfo Set Peer LSR Infomation |
void |
setPeerLSRInfo(MPLSInterfaceInfo iface)
Method setPeerLSRInfo Set peer LSR information using the Interface Information |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public S_CRLDP sCRLDPProc
public int NodeType
public java.util.Vector peerLSRInfoTable
public java.lang.String LSRID
public static final int PEERTOPEER
public static final int DOMAIN
| Constructor Detail |
public PeerLSRMgmt(S_CRLDP scrldp)
scrldp - - CR-LDP object| Method Detail |
public void setPeerLSRInfo()
public void setPeerLSRInfo(MPLSInterfaceInfo iface)
iface - - XXXpublic void setPeerLSRInfo_NIC(MPLSInterfaceInfo iface)
iface - Interface Information Objectpublic void setPeerLSRInfo_Tunnel(MPLSInterfaceInfo iface)
iface - - XXXpublic void setPeerLSRInfo_ONIC(MPLSInterfaceInfo iface)
iface - - XXXpublic PeerLSRInfo getNextLSR(int ifaceid)
ifaceid - - Interface ID
public PeerLSRInfo getNextLSRbyIP(int ipaddr)
ipaddr - - IP address
public int getInInterfaceID(S_CRLDP peercrldp)
peercrldp - - XXX
public void addPeerInfo(int ifaceid,
ProtocolGraph peerLSR,
int peerIface,
boolean istunnel)
ifaceid - - Interface IDpeerLSR - - Peer LSR(ProtocolGraph)peerIface - - Peer interface idistunnel - - True if interface is tunnel interfacepublic java.util.Vector getOUNICleints()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||