|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.mpls.mgmt.MPLSMonitor
Class MPLSMonitor for monitoring functions.
The Monitoring class creates several log files to record traffic monitoring
result
Log File Name Contents
------------- -----------------
CR-LDP_Log.txt Path Informations of LSPs
Bandwidth.txt In/Out Bandwidth of NICs
PacketBytes.txt In/Out Packet Bytes of NICs
PacketCounts.txt In/Out Packet Counts of NICs
TG_BandWidth.txt Bandwidth monitoring result of
the Traffic Generator
that is attached to this Node
TG_PacketDelay.txt End-to-end packet delay
TG_totalByte.txt Packet Bytes
TG_packetCount.txt Packet Counts
TG_packetLossRatio.txt Packet Loss Ratio
TG_packetJitter.txt Jitter monitoring
Monitoring Point
TG_BandWidth
TG_PacketDelay
TG_totalByte
TG_packetCount
TG_packetLossRatio +-----------------+
TG_packetJitter | +-----------+ |
| | | CR-LDP ---------- CR-LDP_Log.txt
+-----|-----+ | +-----------+ |
| Traffic | | +-----------+ |
| Generator | | | Protocol | |
| | | | stacks | |
| | | | IP, MPLS..| |
| | | +-----------+ |
| +-------+ | |+---+ +---+ +---+|
| | NIC +------------+NIC| |NIC| |NIC||
| +-------+ | |+--|+ +--|+ +--|+|
+-----------+ +---|-----|-----|-+
| | |
+-----+-----+
|
Bandwidth.txt
PacketBytes.txt
PacketCounts.txt
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 | |
java.io.FileWriter |
bandwidth
Field bandwidth - XXX |
java.io.FileWriter |
CRLDPLog
Field CRLDPLog - XXX |
boolean |
isInterfaceMonitorOn
Field isInterfaceMonitorOn - XXX |
boolean |
isLogOn
Field isLogOn - XXX |
boolean |
isTGMonitorOn
Field isTGMonitorOn - XXX |
java.io.FileWriter |
jitter
Field jitter - XXX |
Host |
localHost
Field localHost - XXX |
java.io.File |
LogFileDir
Field LogFileDir - XXX |
java.lang.String |
LogFileDirName
Field LogFileDirName - XXX |
MPLSMgmt |
mplsmgmt
Field mplsmgmt - XXX |
java.io.FileWriter |
NICTrafficBPS
Field NICTrafficBPS - XXX |
java.io.FileWriter |
NICTrafficBytes
Field NICTrafficBytes - XXX |
java.io.FileWriter |
NICTrafficCount
Field NICTrafficCount - XXX |
java.io.FileWriter |
packetDelay
Field packetDelay - XXX |
java.io.FileWriter |
packetLossRatio
Field packetLossRatio - XXX |
java.io.File |
TGHostDir
Field TGHostDir - XXX |
java.lang.String |
TGHostDirName
Field TGHostDirName - XXX |
java.io.FileWriter |
totalByte
Field totalByte - XXX |
java.io.FileWriter |
totalPacketCount
Field totalPacketCount - XXX |
java.util.Vector |
TrafficInfoTable
Field TrafficInfoTable - XXX |
java.io.File |
TrafficMonitoringDir
Field TrafficMonitoringDir - XXX |
java.lang.String |
TrafficMonitoringDirName
Field TrafficMonitoringDirName - XXX |
| Constructor Summary | |
MPLSMonitor(MPLSMgmt mgmt)
Constructor MPLSMonitor |
|
| Method Summary | |
void |
flushFile()
Method flushFile |
void |
init()
Method init |
void |
InterfaceMonitorSetup()
Method InterfaceMonitorSetup |
void |
logCRLDPInfo(java.lang.String str)
Method logCRLDPInfo XXX |
void |
Monitoring()
Method Monitoring |
void |
registerFlowInfo(java.lang.String id,
double starttime,
int protocolnum,
int clientip,
int serverip,
int serverport)
Method registerFlowInfo XXX |
void |
TGMonitorSetup()
Method TGMonitorSetup |
void |
updateFlowInfo(java.lang.String id,
double recvByte,
double delay,
long packetloss,
double lossbytes)
Method updateFlowInfo XXX |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public MPLSMgmt mplsmgmt
public Host localHost
public boolean isLogOn
public java.io.File LogFileDir
public java.lang.String LogFileDirName
public boolean isInterfaceMonitorOn
public java.io.File TrafficMonitoringDir
public java.lang.String TrafficMonitoringDirName
public java.io.FileWriter NICTrafficBPS
public java.io.FileWriter NICTrafficCount
public java.io.FileWriter NICTrafficBytes
public java.util.Vector TrafficInfoTable
public boolean isTGMonitorOn
public java.io.File TGHostDir
public java.lang.String TGHostDirName
public java.io.FileWriter bandwidth
public java.io.FileWriter packetDelay
public java.io.FileWriter totalByte
public java.io.FileWriter totalPacketCount
public java.io.FileWriter packetLossRatio
public java.io.FileWriter jitter
public java.io.FileWriter CRLDPLog
| Constructor Detail |
public MPLSMonitor(MPLSMgmt mgmt)
mgmt - - XXX| Method Detail |
public void init()
public void InterfaceMonitorSetup()
public void TGMonitorSetup()
public void Monitoring()
public void logCRLDPInfo(java.lang.String str)
str - - XXXpublic void flushFile()
public void registerFlowInfo(java.lang.String id,
double starttime,
int protocolnum,
int clientip,
int serverip,
int serverport)
id - - XXXstarttime - - XXXprotocolnum - - XXXclientip - - XXXserverip - - XXXserverport - - XXX
public void updateFlowInfo(java.lang.String id,
double recvByte,
double delay,
long packetloss,
double lossbytes)
id - - XXXrecvByte - - XXXdelay - - XXXpacketloss - - XXXlossbytes - - XXX
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||