gov.nist.antd.ospf_te
Class TLVInfo

java.lang.Object
  |
  +--gov.nist.antd.ospf_te.TLVInfo

public class TLVInfo
extends java.lang.Object

A unit of information describing a TE link and used in the contents of an Opaque link state advertisement. The following table shows the information that goes into the different fields depending on the LSA packet type:


 
TYPE LINK ID LINK DATA
----------------------------------------------------------------------------
1 - Router link neighbor's router ID interface number
(Point-to-Point)
1 - Router link address prefix for length (in bits) of prefix
(Connect-to-Stub) subnetwork
3 - Summary link - length (in bits) of prefix
(IP network)
4 - Summary link - -
(AS boundary router)
5 - External link Forwarding address # of bits in destination's
(AS_Ext_Link) address prefix
----------------------------------------------------------------------------
9 - Link Opaque LSA
<10>10- Area Opaque LSA
<11>11- AS Opaque LSA


Nested Class Summary
 class TLVInfo.tlvEntry
          Class tlvEntry XXX
 
Field Summary
 int area
          The Area to which the link interface belongs.
 int GroupAddr
          Field GroupAddr, SourceAddr - XXX
 int id
          Router ID of the neighbor, if this ID exists.
 int link_data
          This holds additional data about the link.
 int link_id
          This variable holds the ID of the link.
 java.util.Hashtable mcastinfo
          Field mcastinfo - XXX
 java.lang.String nh
          Field nh - XXX
 int SourceAddr
          Field GroupAddr, SourceAddr - XXX
 java.util.Vector tlvs
          This is the cost of the link.
 int TypeOneType
          This field is used by Router links only to indicate if it is a point-to-point or summary link.
 
Constructor Summary
TLVInfo(int ar, java.lang.String nhipref, int tot, int ip, int data, TEInterface intf, int[] lsa, int length)
          Constructs a new unit of TLV information.
 
Method Summary
 java.lang.Object getByIndex(int index)
          Method getByIndex XXX
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

area

public int area
The Area to which the link interface belongs.


id

public int id
Router ID of the neighbor, if this ID exists.


nh

public java.lang.String nh
Field nh - XXX


TypeOneType

public int TypeOneType
This field is used by Router links only to indicate if it is a point-to-point or summary link.


link_id

public int link_id
This variable holds the ID of the link.


link_data

public int link_data
This holds additional data about the link.


GroupAddr

public int GroupAddr
Field GroupAddr, SourceAddr - XXX


SourceAddr

public int SourceAddr
Field GroupAddr, SourceAddr - XXX


tlvs

public java.util.Vector tlvs
This is the cost of the link.


mcastinfo

public java.util.Hashtable mcastinfo
Field mcastinfo - XXX

Constructor Detail

TLVInfo

public TLVInfo(int ar,
               java.lang.String nhipref,
               int tot,
               int ip,
               int data,
               TEInterface intf,
               int[] lsa,
               int length)
Constructs a new unit of TLV information.

Method Detail

getByIndex

public java.lang.Object getByIndex(int index)
Method getByIndex XXX

Parameters:
index - - XXX
Returns:
Object - XXX