Changes between Version 19 and Version 20 of GEC19Agenda/GIMI/Procedure/Execute


Ignore:
Timestamp:
03/18/14 12:54:45 (6 years ago)
Author:
divyashri.bhat@gmail.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GEC19Agenda/GIMI/Procedure/Execute

    v19 v20  
    258258}}}
    259259
    260 === 3.2 Write your !LabWiki Application ===
     260=== 3.2 Design and Execute measurement in !LabWiki ===
    261261
    262262=== 3.2.1 Edit and save a Markdown and Experiment Script in the Prepare Window ===
     
    432432
    433433        defProperty('source1', "client-testpingplus", "ID of a resource")
    434         #defProperty('source2', "ig-utah-testBBN", "ID of a resource")
    435         #defProperty('source3', "nodeC-createexoimage", "ID of a resource")
    436         #defProperty('source4', "nodeD-createexoimage", "ID of a resource")
    437         #defProperty('source5', "nodeE-createexoimage", "ID of a resource")
    438         defProperty('graph', true, "Display graph or not")
    439434       
    440435       
     
    442437        defProperty('eth11','eth1',"Output Eth interface")
    443438        defProperty('sinkaddr12', 'fe:16:3e:00:74:38', "Ping destination address")
    444        
    445         #defProperty('sinkaddr11', '192.168.6.10', "Ping destination address")
    446         #defProperty('sinkaddr12', '192.168.5.12', "Ping destination address")
    447        
    448         #defProperty('sinkaddr21', '192.168.4.11', "Ping destination address")
    449         #defProperty('sinkaddr22', '192.168.2.12', "Ping destination address")
    450         #defProperty('sinkaddr23', '192.168.1.13', "Ping destination address")
    451        
    452         #defProperty('sinkaddr31', '192.168.5.11', "Ping destination address")
    453         #defProperty('sinkaddr32', '192.168.2.10', "Ping destination address")
    454         #defProperty('sinkaddr33', '192.168.3.13', "Ping destination address")
    455         #defProperty('sinkaddr34', '192.168.6.14', "Ping destination address")
    456        
    457         #defProperty('sinkaddr41', '192.168.1.10', "Ping destination address")
    458         #defProperty('sinkaddr42', '192.168.3.12', "Ping destination address")
    459        
    460         #defProperty('sinkaddr51', '192.168.6.12', "Ping destination address")
    461439       
    462440        defApplication('ping') do |app|
     
    464442          # Define the path to the binary executable for this application
    465443          app.binary_path = '/usr/local/bin/pingl2'
    466           # Define the configurable parameters for this application
    467           # For example if target is set to foo.com and count is set to 2, then the
    468           # application will be started with the command line:
    469           # /usr/bin/ping-oml2 -a foo.com -c 2
    470444          app.defProperty('target', 'Address to ping', '-a', {:type => :string})
    471445          app.defProperty('count', 'Number of times to ping', '-c', {:type => :integer})
     
    473447          app.defProperty('eth', 'Ethernet Type', '-e', {:type => :string})
    474448          # Define the OML2 measurement point that this application provides.
    475           # Here we have only one measurement point (MP) named 'ping'. Each measurement
    476           # sample from this MP will be composed of a 4-tuples (addr,ttl,rtt,rtt_unit)
    477449          app.defMeasurement('ping') do |m|
    478450            m.defMetric('hw_dest_addr',:string)
     
    489461          end
    490462        end
    491        
    492        
    493         #defGroup('Source2', property.source2) do |node|
    494          # node.addApplication("ping") do |app|
    495           #  app.setProperty('target', property.sinkaddr11)
    496            # app.setProperty('count', 30)
    497             #app.setProperty('interval', 1)
    498            # app.measure('ping', :samples => 1)
    499           #end
    500         #end
    501463       
    502464