gov.nist.antd.mpls.mgmt.traffic_eng
Class TEManager

java.lang.Object
  |
  +--SSF.OS.ProtocolSession
        |
        +--gov.nist.antd.mpls.mgmt.traffic_eng.TEManager
All Implemented Interfaces:
com.renesys.raceway.DML.Configurable

public class TEManager
extends ProtocolSession

The TEManager will be extend to support Network management such as load balancing. In this simulator, It is used for LSPs establishment module. The TEManager reads LSPs informations for the DML file and establish LSPs at its starting time.

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government 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.

Author:
EunHyuk Lim (ehlim@antd.nist.gov, othree28@hotmail.com)
, borchert , rouil , Chul Kim

Nested Class Summary
private  class TEManager.StartupTimer
          A timer used to apply a brief waiting period before the link state database is first calculated at startup.
 class TEManager.TEAgentInfo
          Class TEAgentInfo TE Agent Information class
 
Field Summary
 com.renesys.raceway.DML.Configuration CRLDPInfoCfg
          Field CRLDPInfoCfg
 Host localHost
          Field localHost - Local Host object
 Net net
          Field net - Net object
 java.util.Hashtable TEAgentTable
          Field TEAgentTable - TE Agent Table
 
Fields inherited from class SSF.OS.ProtocolSession
name, use
 
Constructor Summary
TEManager()
          Constructor TEManager
 
Method Summary
 void config(com.renesys.raceway.DML.Configuration cfg)
          Method config
 MPLSSignalingInfo createReverseLSP(MPLSSignalingInfo sinfo)
          Method createReverseLSP Create reverse LSP(bi-directional - backward LSP)
 void init()
          Method init
 void initTEManager()
          Method initTEManager Initialize the TE Manager
 void LSPSetUp(MPLSSignalingInfo sigInfo)
          Method LSPSetUp Set Up LSP
 void print(MPLSSignalingInfo sigInfo)
          Method print Print the Signaling information
 boolean push(ProtocolMessage message, ProtocolSession fromSession)
          Method push Push the packet
 void readCRLDPInfo()
          Method readCRLDPInfo Read CR-LDP information from DML file
 void setupLSPs(com.renesys.raceway.DML.Configuration cfg)
          Method setupLSPs Setup LSP according to the DML configuration
 
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

net

public Net net
Field net - Net object


localHost

public Host localHost
Field localHost - Local Host object


CRLDPInfoCfg

public com.renesys.raceway.DML.Configuration CRLDPInfoCfg
Field CRLDPInfoCfg


TEAgentTable

public java.util.Hashtable TEAgentTable
Field TEAgentTable - TE Agent Table

Constructor Detail

TEManager

public TEManager()
Constructor TEManager

Method Detail

config

public void config(com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
Method config

Specified by:
config in interface com.renesys.raceway.DML.Configurable
Overrides:
config in class ProtocolSession
Parameters:
cfg -
Throws:
com.renesys.raceway.DML.configException

init

public void init()
          throws ProtocolException
Method init

Overrides:
init in class ProtocolSession
Throws:
ProtocolException

initTEManager

public void initTEManager()
Method initTEManager Initialize the TE Manager


push

public boolean push(ProtocolMessage message,
                    ProtocolSession fromSession)
             throws ProtocolException
Method push Push the packet

Specified by:
push in class ProtocolSession
Parameters:
message -
fromSession -
Returns:
boolean
Throws:
ProtocolException

readCRLDPInfo

public void readCRLDPInfo()
Method readCRLDPInfo Read CR-LDP information from DML file


setupLSPs

public void setupLSPs(com.renesys.raceway.DML.Configuration cfg)
               throws com.renesys.raceway.DML.configException
Method setupLSPs Setup LSP according to the DML configuration

Parameters:
cfg -
Throws:
com.renesys.raceway.DML.configException

createReverseLSP

public MPLSSignalingInfo createReverseLSP(MPLSSignalingInfo sinfo)
Method createReverseLSP Create reverse LSP(bi-directional - backward LSP)

Parameters:
sinfo - - Forwarding LSP signaling information
Returns:
MPLSSignalingInfo - Backward LSP Signaling information

LSPSetUp

public void LSPSetUp(MPLSSignalingInfo sigInfo)
Method LSPSetUp Set Up LSP

Parameters:
sigInfo -

print

public void print(MPLSSignalingInfo sigInfo)
Method print Print the Signaling information

Parameters:
sigInfo -