|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSInterfaceMgmt
Management module for Interfaces of the Node.
The MPLSInterfaceMgmt provedes the MPLS module with management functions
to support the MPLS signaling/forwarding functions
+-------------------------+
| MPLS Signaling Protocol | +- Query a Interface Information
| - CR-LDP | | Resource Reservation/Release request
+------------+------------+ |
| Label Reqeust/Mapping request |
| +-------------+
+------------+---------------+ | +============================================+
| MPLSSignalingInterfaceMgmt | | | MPLSInterfaceMgmt |
| - Provides the CRLDP with | | | - Provides the MPLSSignalingInterfaceMgmt |
| several Interface +------>+ with resource management functions |
| functions | | - InterfaceTable(Hashtable) <-------+ |
+----------------------------+ | - Interface management functions | |
+======================================|=====+
|
+------------------------------------------+ |
| MPLSInterfaceInfo |+ |
| - NIC/ONIC/Tunnel Information |---------------+
| - Resource management(Reserve/Release) |||
| - Queueing/Scheduling |||
| - Packet forwarding |||
+------------------------------------------+||
+----------------------------------------+|
+-------------------------------------+
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.
| Field Summary | |
int |
INTERFACE_COUNT
Field INTERFACE_COUNT - Interface count |
NIC[] |
INTERFACE_SET
Field INTERFACE_SET - Interface Set |
java.util.Hashtable |
InterfaceTable
Field InterfaceTable - Interface Table |
java.util.Vector |
IPAddrList
Field IPAddrList - IP Address List |
RoutingTable |
IPRoutingTable
Field IPRoutingTable - IP Routing Table |
IP |
ipsess
Field ipsess - IP session |
MPLSMgmt |
mplsmgmt
Field mplsmgmt - MPLS Management object |
OXCSwitch |
oxcswitch
Field oxcswitch - OXC object |
int |
virtualInterfaceCount
Field virtualInterfaceCount - Virtual Interface count |
int |
virtualInterfaceStartNum
Field virtualInterfaceStartNum - Virtual Interface Start Number |
| Constructor Summary | |
MPLSInterfaceMgmt(MPLSMgmt mgmt)
Constructor MPLSInterfaceMgmt |
|
| Method Summary | |
MPLSInterfaceInfo |
addTunnelInterface(TunnelInfo tinfo,
boolean isIngress)
Method addTunnelInterface Add the Tunnel Interface to the table |
RoutingInfo |
findLSRNextHopInfo(int sourceAddr,
int destAddr)
Method findLSRNextHopInfo Return routing information from the source node to the destination node |
MPLSInterfaceInfo |
getInterface(int interfaceNum)
Method getInterface Get Interface based on the interface number |
int |
getInterfaceEncodingType(int interfaceNum)
Returns the interface encoding type. |
java.util.Hashtable |
getInterfaceTable()
Method getInterfaceTable Return the interface table |
java.util.Enumeration |
getInterfaceTableElements()
Method getInterfaceTableElements Return the interface elements from the table |
java.util.Vector |
getIPAddrList()
Method getIPAddrList Return the IP address List |
void |
init(int NodeType)
Method init |
boolean |
islocalIPAddr(int destAddr)
Method islocalIPAddr Check the this IP address is local |
void |
printResourceInformation()
Method printResourceInformation Print out the resource information |
boolean |
sendLocalIPPacket(ProtocolMessage message,
ProtocolSession fromSession)
Method sendLocalIPPacket Send the message to local IP session |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public MPLSMgmt mplsmgmt
public IP ipsess
public OXCSwitch oxcswitch
public NIC[] INTERFACE_SET
public int INTERFACE_COUNT
public int virtualInterfaceCount
public int virtualInterfaceStartNum
public RoutingTable IPRoutingTable
public java.util.Hashtable InterfaceTable
public java.util.Vector IPAddrList
| Constructor Detail |
public MPLSInterfaceMgmt(MPLSMgmt mgmt)
mgmt - - MPLS Management Object| Method Detail |
public void init(int NodeType)
NodeType - public MPLSInterfaceInfo getInterface(int interfaceNum)
interfaceNum - - Interface number
public int getInterfaceEncodingType(int interfaceNum)
interfaceNum - the interface number
public MPLSInterfaceInfo addTunnelInterface(TunnelInfo tinfo,
boolean isIngress)
tinfo - - Tunnel informationisIngress - - True if this node is Ingress node
public boolean islocalIPAddr(int destAddr)
destAddr - - Destination IP address
public RoutingInfo findLSRNextHopInfo(int sourceAddr,
int destAddr)
sourceAddr - - Source node addressdestAddr - - Destination node address
public boolean sendLocalIPPacket(ProtocolMessage message,
ProtocolSession fromSession)
message - fromSession -
public java.util.Hashtable getInterfaceTable()
public java.util.Enumeration getInterfaceTableElements()
public java.util.Vector getIPAddrList()
public void printResourceInformation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||