Changes between Initial Version and Version 1 of Documentation/OtherApps/Iperf/IperfReceiver


Ignore:
Timestamp:
Sep 5, 2006, 9:39:41 PM (18 years ago)
Author:
Surya Satyavolu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/OtherApps/Iperf/IperfReceiver

    v1 v1  
     1{{{
     2#
     3# Create an application representation from scratch
     4#
     5require 'handler/appDefinition'
     6
     7a = AppDefinition.create('test:app:iperfr')
     8a.name = "iperfr"
     9a.version(0, 0, 1)
     10a.shortDescription = "Iperf traffic generator"
     11a.description = <<TEXT
     12Iperf is a traffic generator for TCP and UDP traffic. It contains generators
     13producing various forms of packet streams and port for sending
     14these packets via various transports, such as TCP and UDP.
     15TEXT
     16
     17# addProperty(name, description, mnemonic, type, isDynamic = false, constraints
     18= nil)
     19a.addProperty('udp', 'Use UDP, otherwise TCP by default', nil, String, false)
     20a.addProperty('server', 'Client/Server', nil, String, false)
     21a.addProperty('port', 'Receiver port number', nil, Integer, false)
     22a.addProperty('window', 'TCP Receiver Window Size', nil, Integer, false)
     23a.addProperty('time', "Duration for traffic generation(seconds)", nil, Integer,
     24false)
     25a.addProperty('len', "Payload Length(bytes)", nil, Integer, false)
     26a.addProperty('interval', "Interval between reports (sec)", nil, Integer, false)
     27
     28a.addMeasurement("receiverport", nil, [
     29  ['flow_no','int'],
     30  ['throughput',Float],
     31  ['jitter',Float],
     32  ['packet_loss',Float]
     33 ])
     34a.path = "/usr/bin/iperf"
     35
     36if $0 == __FILE__
     37  require 'stringio'
     38
     39}}}