Changes between Version 1 and Version 2 of Old/Documentation/OTG/ScriptsRepository/ProtoDefColocateSender
- Timestamp:
- Sep 30, 2005, 3:26:38 AM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Documentation/OTG/ScriptsRepository/ProtoDefColocateSender
v1 v2 33 33 otg1 = p.addApplication(:otg, "test:app:otg") 34 34 otg1.bindProperty('protocol') 35 otg1.bindProperty('port' )35 otg1.bindProperty('port','port1') 36 36 otg1.bindProperty('generator') 37 37 otg1.bindProperty('dsthostname', 'destinationHost') … … 50 50 ) 51 51 52 otg2 = p.addApplication(:otg, "test:app:otg") 53 otg2.bindProperty('protocol') 54 otg2.bindProperty('port','port2') 55 otg2.bindProperty('generator') 56 otg2.bindProperty('dsthostname', 'destinationHost') 57 otg2.bindProperty('size', 'packetSize') 58 otg2.bindProperty('rate') 59 otg2.bindProperty('broadcast') 60 61 otg3.addMeasurement('senderport', Filter::TIME, 62 {Filter::SAMPLE_SIZE => 1}, 63 [ 64 ['pkt_seqno'], 65 ['pkt_size', Filter::SUM], 66 ['gen_timestamp'], 67 ['tx_timestamp'] 68 ] 69 ) 52 70 otg3 = p.addApplication(:otg, "test:app:otg") 53 71 otg3.bindProperty('protocol') 54 otg3.bindProperty('port' )72 otg3.bindProperty('port','port3') 55 73 otg3.bindProperty('generator') 56 74 otg3.bindProperty('dsthostname', 'destinationHost')