Changes between Version 1 and Version 2 of GEC16Agenda/WiMAX-Tutorial/Coop/04
- Timestamp:
- 03/20/13 17:04:44 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GEC16Agenda/WiMAX-Tutorial/Coop/04
v1 v2 5 5 When an OML-enabled application is run using OMF, the application itself is installed on the resource and a simple [https://mytestbed.net/projects/omf/wiki/BasicTutorialStage3-5-2 OMF application wrapper] is installed on the console where the OMF Experiment Controller runs. This wrapper just gives some basic information about the application, the parameters that can be passed at the command line, and the OML measurement points that have been defined in the application. 6 6 7 For example, here's the wrapper for the OML-ized VLC:7 Here's the wrapper for the OML-ized coopshim: 8 8 9 9 {{{ 10 10 #!ruby 11 defApplication('coopshim', 'coopshim') do |a| 11 12 12 Paste Wrapper here! 13 a.path = "/usr/bin/coopshim" 14 a.shortDescription = "Runs CoopShim Shim" 15 a.description = <<TEXT 16 This is a wrapper around the CoopShim experiment 17 TEXT 18 19 a.defProperty("queue-length", "Number of packets to buffer", "q", 20 {:type => :string, :dynamic => false}) 21 22 # The Measurement Points for this application: 23 a.defMeasurement('req') do |m| 24 m.defMetric('id',:long) 25 m.defMetric('total',:long) 26 end 27 a.defMeasurement('recv') do |m| 28 m.defMetric('id',:long) 29 m.defMetric('total',:long) 30 m.defMetric('source', :string) 31 end 32 a.defMeasurement('sent') do |m| 33 m.defMetric('id',:long) 34 m.defMetric('total',:string) 35 m.defMetric('dest', :string) 36 end 37 38 end 39 13 40 14 41 }}}