|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.ucl.ingi.totem.repository.RttMeasurementRequestGeneration
public class RttMeasurementRequestGeneration
The RttMeasurementRequestGeneration class is used to generate RttMeasurementRequest from a given domain. Given a domain to which all bgp message have been passed and for which we have the cluster data as specified in POPPOPTrafficMatrixGeneration, given a association of subnet list and dns server and given a traffic matrix containing information for egress data and without transit taffic. The class is used to calculate, for each egress node, the data that will transit by that node and to create a measurement request for these egress nodes, with requests to probe all subnets to which data will exit from that node.
creation 16 mar. 2007
Constructor Summary | |
---|---|
RttMeasurementRequestGeneration()
|
Method Summary | |
---|---|
void |
generateRttMeasurementRequests(Domain domain,
java.lang.String netflowTrafficMatrixFilename,
java.util.Hashtable<java.lang.String,java.lang.String[]> subnetDNS,
CBGP cbgpInstance,
java.util.HashMap clust,
java.lang.String outputBaseDirectory)
Given the specified domain, interdomain traffic matrix and instance of cbgp corresponding to the domain and to which all messages have been passed, this method creates directory outputBaseDirectoyr if it doesn't exist and creates for each egress router in the domain a sub directory containing measurements requests. |
double |
getLamba()
|
java.lang.String |
getMeasurementMethod()
|
int |
getNumberOfObservations()
|
int |
getNumberOfQueries()
Return the numbers of rtt measures that are taken at each observation |
java.util.Calendar |
getStartTime()
|
java.lang.String |
getTimingUnits()
|
boolean |
isPoissonDistribution()
|
boolean |
isRandomizeDNSInList()
|
boolean |
isTakeFirstMeasureDirectly()
|
static void |
main(java.lang.String[] args)
|
static java.util.Hashtable<java.lang.String,java.lang.String[]> |
readSubnetDnsFile(java.lang.String fileLoc)
Reads the file at fileLoc of format "subnet dnsName dnsIP" and returns a hashtable {subnet, {dnsName, dnsIp}} |
void |
setLamba(double lamba)
|
void |
setMeasurementMethod(java.lang.String measurementMethod)
|
void |
setNumberOfObservations(int numberOfObservations)
|
void |
setNumberOfQueries(int numberOfQueries)
Sets the number of rtt measures that are taken at each observation |
void |
setPoissonDistribution(boolean poissonDistribution)
|
void |
setRandomizeDNSInList(boolean randomizeDNSInList)
|
void |
setStartTime(java.util.Calendar startTime)
|
void |
setTakeFirstMeasureDirectly(boolean takeFirstMeasureDirectly)
|
void |
setTimingUnits(java.lang.String timingUnits)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RttMeasurementRequestGeneration()
Method Detail |
---|
public void generateRttMeasurementRequests(Domain domain, java.lang.String netflowTrafficMatrixFilename, java.util.Hashtable<java.lang.String,java.lang.String[]> subnetDNS, CBGP cbgpInstance, java.util.HashMap clust, java.lang.String outputBaseDirectory)
domain
- the concerned domainnetflowTrafficMatrixFilename
- the inter-domain XML traffic matrix generated using NetFlow,
without transit traffic to other nodes and for each flow, src
being a local destinatio and dst a distant one, the bandwidth
is the sum of the bandwidth in both directionssubnetDNS
- a hashtable of type cbgpInstance
- an instance of CBGPoutputBaseDirectory
- the output directorypublic static java.util.Hashtable<java.lang.String,java.lang.String[]> readSubnetDnsFile(java.lang.String fileLoc) throws java.io.FileNotFoundException, java.io.IOException
fileLoc
- the location of the file containing lines of the type :"subnet dnsName dnsIP"
java.io.FileNotFoundException
java.io.IOException
public static void main(java.lang.String[] args) throws DomainAlreadyExistException, InvalidDomainException, AlgorithmInitialisationException, java.io.FileNotFoundException, java.lang.Exception
DomainAlreadyExistException
InvalidDomainException
AlgorithmInitialisationException
java.io.FileNotFoundException
java.lang.Exception
public double getLamba()
public void setLamba(double lamba)
lamba
- the lamba to setpublic java.lang.String getMeasurementMethod()
public void setMeasurementMethod(java.lang.String measurementMethod)
measurementMethod
- the measurementMethod to setpublic int getNumberOfObservations()
public void setNumberOfObservations(int numberOfObservations)
numberOfObservations
- the numberOfObservations to setpublic int getNumberOfQueries()
public void setNumberOfQueries(int numberOfQueries)
numberOfQueries
- the numberOfQueries to setpublic boolean isPoissonDistribution()
public void setPoissonDistribution(boolean poissonDistribution)
poissonDistribution
- the poissonDistribution to setpublic boolean isRandomizeDNSInList()
public void setRandomizeDNSInList(boolean randomizeDNSInList)
randomizeDNSInList
- the randomizeDNSInList to setpublic java.util.Calendar getStartTime()
public void setStartTime(java.util.Calendar startTime)
startTime
- the startTime to setpublic boolean isTakeFirstMeasureDirectly()
public void setTakeFirstMeasureDirectly(boolean takeFirstMeasureDirectly)
takeFirstMeasureDirectly
- the takeFirstMeasureDirectly to setpublic java.lang.String getTimingUnits()
public void setTimingUnits(java.lang.String timingUnits)
timingUnits
- the timingUnits to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |