Changes between Version 2 and Version 3 of Old/Documentation/OTG/ScriptsRepository/ProtoDefSender


Ignore:
Timestamp:
Sep 29, 2005, 4:32:29 PM (19 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Documentation/OTG/ScriptsRepository/ProtoDefSender

    v2 v3  
    1616# List properties of prototype
    1717p.defProperty('protocol', 'Protocol to use', 'udp')
     18p.defProperty('port', 'port to bind by sender', 3000)
    1819p.defProperty('generator', 'Generator to use', 'cbr')
    1920p.defProperty('destinationHost', 'Host to send packets to')
     
    2930otg = p.addApplication(:otg, "test:app:otg")
    3031otg.bindProperty('protocol')
    31 ptg.bindProperty('generator')
     32otg.bindProperty('port')
     33otg.bindProperty('generator')
    3234otg.bindProperty('dsthostname', 'destinationHost')
    3335otg.bindProperty('size', 'packetSize')