gov.nist.antd.mpls.signaling.ouni
Class OUNI_C

java.lang.Object
  |
  +--gov.nist.antd.mpls.signaling.ouni.OUNIModule
        |
        +--gov.nist.antd.mpls.signaling.ouni.OUNI_C

public class OUNI_C
extends OUNIModule

Class OUNI_C

 ========================
 Concept of OUNI_C/OUNI_N
 ========================

 +----------------------------+                      +----------------------------+
 | LSR                        |                      | OXC                        |
 | +------------------------+ |                      | +------------------------+ |
 | | CR-LDP                 | |                      | | CR-LDP                 | |
 | | - General Signaling    | |                      | | - General Signaling    | |
 | |   functions            | |                      | |   functions            | |
 | | +--------------------+ | |                      | | +--------------------+ | |
 | | | OUNI_C (a)         | | |    exchange OUNI     | | | OUNI_N (b)         | | |
 | | |  - ConnectionTable | | |       messages       | | |  - ConnectionTable | | |
 | | |  - OUN_N info      |..............................|  - OUNI_C table    | | |
 | | |  - Interface Infos | | |                      | | |  - Interface Infos | | |
 | | +--------------------+ | |                      | | +--------------------+ | |
 | +------------------------+ |                      | +------------------------+ |
 | .......................... |                      | .......................... |
 | +-----+           +------+ |                      | +------+          +------+ |
 | | NIC |.......... | ONIC +==========================+ ONIC |......... | ONIC | |
 | +-----+           +------+ |                      | +------+          +------+ |
 +----------------------(c)---+                      +----(d)---------------------+

                        LSR Domain <--- | ---> Optical Domain...

 ==================
 OUNI Label Request
 ==================

           Ingress LSR                              Ingress OXC
         +------------------------+              +------------------------------------------+
         | CR-LDP                 |              | CR-LDP                   (5) send a      |
         |    (2) creates a       | (3) sends    | (4) creates a             LabelRequest   |
         |        OUNIConnection  |    a OUNI    |  OUNIConnection+-------+  message to the |
         |    +----------------+  |    message   | +--------------+-+     |  egress LSR to  |
         |    | OUNIConnection |+ | to establish | | OUNIConnection |+    |  establish a LSP|
         |    | - ConnectionID |..................>| - ConnectionID ||  +-+------------+    |(6)general Label 
         |    +----------------+| |   a Optical  | +----------------+|  | CRLDPControl |    | Request Procedure
  (1)    |     +----------------+ |      path    |  +----------------+  |  Block       |---------------------->
  OUNI   |           |            | (Label       |          |           +--------------+    |    Label Request 
  Request|   +-------+------+     |     Request) |  +-------+------+                        |    message
     ----+-->| OUNI-C       |     |              |  | OUNI-N       |                        |
         |   | - Connection +=====|==============|==+ - Connection |                        |
         |   |   Table      |     |              |  |   Table      |                        |
         |   +--------------+     |              |  +--------------+                        |
         |                        |              |                                          |
         +------------------------+              +------------------------------------------+

                          LSR Domain <--- | ---> Optical Domain...
                       Egress OXC                                                      Egress LSR
                     +------------------------------------------+                    +------------------------+
                     | CR-LDP                                   |                    | CR-LDP                 |
                     |  (7) create a OUNIConnection             |                    |    (9) creates a       | 
                     |             +----------+                 | (8) sends a OUNI   |        OUNIConnection  | 
                     |             |       +--+-------------+   |     message to     |    +----------------+  | 
                     |             |       | OUNIConnection |+  |     establish      |    | OUNIConnection |+ | 
 6)general Label     | +-----------+--+    | - ConnectionID |............................>| - ConnectionID || |
   Request Procedure | | CRLDPControl |    +----------------+|  |     a Optical      |    +----------------+| |  
 --------------------->| Block        |     +----------------+  |     path           |     +----------------+ |  
  Label Request      | +--------------+            |            |  (Label Request)   |           |            | 
  message            |                     +-------+------+     |                    |   +-------+------+     |  
                     |                     | OUNI-N       |     |                    |   | OUNI-C       |     |   
                     |                     | - Connection +=====|====================|===+ - Connection |     |    
                     |                     |   Table      |     |                    |   |   Table      |     | 
                     |                     +--------------+     |                    |   +--------------+     |
                     |                                          |                    |                        |   
                     +------------------------------------------+                    +------------------------+    

                                                    ...Optical Domain <--- | ---> LSR Domain
 ==================
 OUNI Label Mapping
 ==================

                       Egress OXC                                                      Egress LSR
                     +------------------------------------------+                    +------------------------+
                     | CR-LDP  (12) Label Mapping between the   |                    | CR-LDP                 |
                     |              EgressOXC and Egress LSR    |                    |  (10) EgressLSR Label  | 
                     |             +----------+                 | (11) sends a OUNI  |    mapping procedure   | 
                     |             |       +--+-------------+   |     message to     |    +----------------+  | 
                     |             |       | OUNIConnection |+  |     allocate       |    | OUNIConnection |+ | 
 (13)general Label   | +-----------+--+    | - ConnectionID |<............................| - ConnectionID || |
   Mapping Procedure | | CRLDPControl |    +----------------+|  |     resource into  |    +----------------+| |  
 <---------------------+ Block        |     +----------------+  |     a Optical path |     +----------------+ |  
  Label Mapping      | +--------------+            |            |   (Label Mapping)  |           |            | 
  message            |                     +-------+------+     |                    |   +-------+------+     |  
                     |                     | OUNI-N       |     |                    |   | OUNI-C       |     |   
                     |                     | - Connection +=====|====================|===+ - Connection |     |    
                     |                     |   Table      |     |                    |   |   Table      |     | 
                     |                     +--------------+     |                    |   +--------------+     |
                     |                                          |                    |                        |   
                     +------------------------------------------+                    +------------------------+    

                                                    ...Optical Domain <--- | ---> LSR Domain

           Ingress LSR                              Ingress OXC
         +------------------------+              +------------------------------------------+
         | CR-LDP                 |              | CR-LDP                                   |
         |(17) Label Mapping,     | (16) sends   |                                          |
         |established Optical Path|    a OUNI    |                +-------+                 |
         |    +----------------+  |    message   | +--------------+-+     | (14) Label      |
         |    | OUNIConnection |+ | to allocate  | | OUNIConnection |+    |      Mapping    |
         |    | - ConnectionID |<..................| - ConnectionID ||  +-+------------+    |(13)general Label 
         |    +----------------+| |  resource    | +----------------+|  | CRLDPControl |    | Mapping Procedure
         |     +----------------+ |              |  +----------------+  |  Block       |<----------------------
         |           |            | (Label       |          |           +--------------+    |    Label Mapping 
         |   +-------+------+     |     Mapping) |  +-------+------+                        |    message
         |   | OUNI-C       |     |              |  | OUNI-N       |(15) get Incoming Label |
         |   | - Connection +=====|==============|==+ - Connection |  and send it to the    |
         |   |   Table      |     |              |  |   Table      |  Ingress LSR           |
         |   +--------------+     |              |  +--------------+                        |
         |                        |              |                                          |
         +------------------------+              +------------------------------------------+

                          LSR Domain <--- | ---> Optical Domain...
 

 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.

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

Field Summary
 MPLSInterfaceInfo clientIfaceInfo
          Field clientIfaceInfo - reference : (c)
 int ConnectionIDCount
          Field ConnectionIDCount - Connection count
 java.util.Hashtable ConnectionTable
          Field ConnectionTable - reference : (a) , OUNIConnection.java
 int IPaddr
          Field IPaddr - IP Address
 java.util.Vector MessageQueue
          Field MessageQueue - Message queue
 OUNI_N OUNIServer
          Field OUNIServer - reference : (b)
 PeerLSRInfo peerInfo
          Field peerInfo - Peer LSR information
 double PropagationDelay
          Field PropagationDelay - Propagation Delay
 MPLSInterfaceInfo serverIfaceInfo
          Field serverIfaceInfo - reference : (d)
 
Fields inherited from class gov.nist.antd.mpls.signaling.ouni.OUNIModule
NodeID, sCRLDPInfo
 
Constructor Summary
OUNI_C(S_CRLDP crldp, PeerLSRInfo pinfo)
          Creates an OUNI_C instance.
 
Method Summary
 void establishTransportNetworkPath(MPLSSignalingInfo sinfo)
          Method establishTransportNetworkPath Reference : (1), (2) Called by the IngressLSR to eastablish a Optical Path This is the first called function in the OUNI procedure.
 int getClientIPAddr()
          Return the ip address of the client.
 long getConnectionID()
          Method getConnectionID Get Connection ID between O-UNI Server and O-UNI Client
 int getServerIPAddr()
          Determine the server ip address.
 void initOUNIEstablish()
          Method initOUNIEstablish Initialize the O-UNI client
 void push(ProtocolMessage message, OUNIModule fromServer)
          Method push
 void sendOUNIMessage()
          Method sendOUNIMessage Deliver the O-UNI message to O-UNI Server
 boolean sendOUNIMessage(ProtocolMessage message)
          Method sendOUNIMessage OUNI message forwarding functions.
 
Methods inherited from class gov.nist.antd.mpls.signaling.ouni.OUNIModule
getTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUNIServer

public OUNI_N OUNIServer
Field OUNIServer - reference : (b)


peerInfo

public PeerLSRInfo peerInfo
Field peerInfo - Peer LSR information


clientIfaceInfo

public MPLSInterfaceInfo clientIfaceInfo
Field clientIfaceInfo - reference : (c)


serverIfaceInfo

public MPLSInterfaceInfo serverIfaceInfo
Field serverIfaceInfo - reference : (d)


ConnectionTable

public java.util.Hashtable ConnectionTable
Field ConnectionTable - reference : (a) , OUNIConnection.java


IPaddr

public int IPaddr
Field IPaddr - IP Address


ConnectionIDCount

public int ConnectionIDCount
Field ConnectionIDCount - Connection count


PropagationDelay

public double PropagationDelay
Field PropagationDelay - Propagation Delay


MessageQueue

public java.util.Vector MessageQueue
Field MessageQueue - Message queue

Constructor Detail

OUNI_C

public OUNI_C(S_CRLDP crldp,
              PeerLSRInfo pinfo)
Creates an OUNI_C instance.

Parameters:
crldp - - local CR-LDP object
pinfo - - Peer LSR Information
Method Detail

getClientIPAddr

public int getClientIPAddr()
Return the ip address of the client.

Returns:
int The clients ip address

getServerIPAddr

public int getServerIPAddr()
Determine the server ip address.

Returns:
the ip address.

initOUNIEstablish

public void initOUNIEstablish()
Method initOUNIEstablish Initialize the O-UNI client


getConnectionID

public long getConnectionID()
Method getConnectionID Get Connection ID between O-UNI Server and O-UNI Client

Returns:
long - XXX

establishTransportNetworkPath

public void establishTransportNetworkPath(MPLSSignalingInfo sinfo)
Method establishTransportNetworkPath Reference : (1), (2) Called by the IngressLSR to eastablish a Optical Path This is the first called function in the OUNI procedure.

Parameters:
sinfo - - XXX

push

public void push(ProtocolMessage message,
                 OUNIModule fromServer)
Method push

Parameters:
message -
fromServer -

sendOUNIMessage

public boolean sendOUNIMessage(ProtocolMessage message)
Method sendOUNIMessage OUNI message forwarding functions. Call sendOUNIMessage() method

Overrides:
sendOUNIMessage in class OUNIModule
Parameters:
message -
Returns:
boolean - True if success

sendOUNIMessage

public void sendOUNIMessage()
Method sendOUNIMessage Deliver the O-UNI message to O-UNI Server