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

java.lang.Object
  |
  +--gov.nist.antd.mpls.signaling.ouni.OUNIModule
Direct Known Subclasses:
OUNI_C, OUNI_N

public class OUNIModule
extends java.lang.Object

The OUNIModule calss is the super class of the OUNI_C and the OUNI_N.

 ========================
 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
 java.lang.String NodeID
          Field NodeID - Node ID
 S_CRLDP sCRLDPInfo
          Field sCRLDPInfo - CR-LDP object
 
Constructor Summary
OUNIModule(S_CRLDP crldp)
          Constructor OUNIModule
 
Method Summary
 double getTime()
          Method getTime Get current Time
 boolean sendOUNIMessage(ProtocolMessage message)
          Method sendOUNIMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NodeID

public java.lang.String NodeID
Field NodeID - Node ID


sCRLDPInfo

public S_CRLDP sCRLDPInfo
Field sCRLDPInfo - CR-LDP object

Constructor Detail

OUNIModule

public OUNIModule(S_CRLDP crldp)
Constructor OUNIModule

Parameters:
crldp - - XXX
Method Detail

sendOUNIMessage

public boolean sendOUNIMessage(ProtocolMessage message)
Method sendOUNIMessage

Parameters:
message - - XXX
Returns:
boolean - XXX

getTime

public double getTime()
Method getTime Get current Time

Returns:
double - XXX