|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.diffserv.DiffServMonitor
DiffServMonitor controls the peformance monitoring of each class-type micro-flow of DiffServ packet processing.
Following performance data are provided as the result of monitoring: - bandwidth - packet delay - total byte - total packet count - packet loss ratio - jitter (delay variance) The DiffServMonitor is turned on by setting the "logfile on" in the ProtocolSession [name DiffServ use gov.nist.antd.diffServ.DiffServTrafficConditioner] of DiffServ-aware LSR. ========================= Example DML specification ========================= LSR [ id 110 graph [ ProtocolSession [name sCRLDP use gov.nist.antd.mpls_signaling.sCRLDP ] ProtocolSession [name MPLSModule use gov.nist.antd.mpls_mgmt.MPLSMgmt logfile on _find .dictionary.mplsinit ] ProtocolSession [name te-app use gov.nist.antd.ospf_te.TEPath] ProtocolSession [name ospf-te use gov.nist.antd.ospf_te.sOSPF_TE] ProtocolSession [name ip use SSF.OS.IP] ProtocolSession [name DiffServ use gov.nist.antd.DiffServ.DiffServTrafficConditioner ############ DiffServMonitor on logfile on ########### _find .dictionary.LER110_DiffServ.diffServFlow ] ProtocolSession [ name ospf use SSF.OS.OSPF.sOSPF ] ] interface [ id 0 _find .dictionary.host_LER_bitrate.bitrate ] interface [ id 1 _find .dictionary.host_LER_bitrate.bitrate ] interface [ id 2 _find .dictionary.host_LER_bitrate.bitrate ] interface [ id 3 _find .dictionary.LER_LSR_bitrate.bitrate ] ]
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.File |
DiffServHostDir
Field DiffServHostDir - XXX |
java.lang.String |
DiffServHostDirName
Field DiffServHostDirName - XXX |
java.util.Vector |
FlowInfoTable
Field FlowInfoTable - XXX |
(package private) boolean |
isLog
Field isLog - XXX |
java.io.FileWriter |
jitter
Field jitter - XXX |
DiffServTrafficConditioner |
owner
Field owner - XXX |
java.io.FileWriter |
packetDelay
Field packetDelay - XXX |
java.io.FileWriter |
packetLossRatio
Field packetLossRatio - XXX |
java.io.FileWriter |
totalByte
Field totalByte - XXX |
java.io.FileWriter |
totalPacketCount
Field totalPacketCount - XXX |
| Constructor Summary | |
DiffServMonitor(DiffServTrafficConditioner o)
Constructor DiffServMonitor |
|
| Method Summary | |
void |
flushFile()
Method flushFile |
boolean |
registerFlowInfo(java.lang.String id,
double starttime,
int protocolnum,
int clientip,
int serverip,
int serverport)
Method registerFlowInfo XXX |
void |
setupMonitor()
Method setupMonitor |
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 DiffServTrafficConditioner owner
public java.util.Vector FlowInfoTable
boolean isLog
public java.io.File DiffServHostDir
public java.lang.String DiffServHostDirName
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
| Constructor Detail |
public DiffServMonitor(DiffServTrafficConditioner o)
o - - XXX| Method Detail |
public void setupMonitor()
public boolean 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 - - XXXpublic void flushFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||