wiki:Internal/Infrastructure/OMF/GridServices/CMC

Version 8 (modified by sswami, 19 years ago) ( diff )

CMC APIs

http://www.orbit-lab.org/wiki/Documentation/APIs

Initial CMC Config File

The config file for CMC is cmc.yaml in the /etc/gridservices directory.

communicators:
  default:
    port: 9030
    ip: 10.1.200.1
primaryIF: "10.0"
testbeds:
  sb1:
    baseIP: 10.1.101.
    ip_block: lambda {|x,y| "10.1.101.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb2:
    baseIP: 10.1.102.
    ip_block: lambda {|x,y| "10.1.102.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb3:
    baseIP: 10.1.103.
    ip_block: lambda {|x,y| "10.1.103.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb4:
    baseIP: 10.1.104.
    ip_block: lambda {|x,y| "10.1.104.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb5:
    baseIP: 10.1.105.
    ip_block: lambda {|x,y| "10.1.105.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb6:
    baseIP: 10.1.106.
    ip_block: lambda {|x,y| "10.1.106.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb7:
    baseIP: 10.1.107.
    ip_block: lambda {|x,y| "10.1.107.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb8:
    baseIP: 10.1.108.
    ip_block: lambda {|x,y| "10.1.108.#{x * 16 + y}"}
    x_max: 1
    y_max: 2
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  grid:
    baseIP: 10.1.
    ip_block: lambda {|x,y| "10.1.#{x}.#{y}"}
    x_max: 20
    y_max: 20
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016
  sb9:
    baseIP: 10.1.109.
    ip_block: lambda {|x,y| "10.1.109.#{x * 16 + y}"}
    x_max: 8
    y_max: 8
    node_alias: []
    inactive_list: "[]"
    12vStatus: 0.064
    5vStatus: 0.032
    3vStatus: 0.016

Config File Updates

Note: See TracWiki for help on using the wiki.