Changes between Version 18 and Version 19 of GIMIv1.1Tutorial/Orchestrate


Ignore:
Timestamp:
10/15/12 12:48:09 (12 years ago)
Author:
zink@cs.umass.edu
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GIMIv1.1Tutorial/Orchestrate

    v18 v19  
    8585
    8686defApplication('ping_app', 'pingmonitor') do |a|
    87     a.path = "/root/pingWrap.rb"
     87    a.path = "/root/pingWrap.rb" 
    8888    a.version(1, 2, 0)
    89     a.shortDescription = "Wrapper around ping"
     89    a.shortDescription = "Wrapper around ping" 
    9090    a.description = "ping application"
    9191    a.defProperty('dest_addr', 'Address to ping', '-a', {:type => :string, :dynamic => false})
    92     a.defProperty('count', 'Number of times to ping', '-c', {:type => :integer, :dynamic => false})
     92    a.defProperty('count', 'Number of times to ping', '-c', {:type => :integer, :dynamic => false}) 
    9393    a.defProperty('interval', 'Interval between pings in s', '-i', {:type => :integer, :dynamic => false})
    9494
    9595    a.defMeasurement('myping') do |m|
    96      m.defMetric('dest_addr',:string)
     96     m.defMetric('dest_addr',:string) 
    9797     m.defMetric('ttl',:int)
    9898     m.defMetric('rtt',:float)
     
    117117end
    118118
    119 
    120119defGroup('Source2', property.source2) do |node|
    121120  node.addApplication("ping_app") do |app|
     
    172171
    173172defGroup('Source4', property.source4) do |node|
     173
    174174  node.addApplication("ping_app") do |app|
    175175    app.setProperty('dest_addr', property.sinkaddr41)