# # $Id$ # $ $URL$ # # This is the template Config file for the OMF Resource Controller # The uppercase symbols between '@' get filled by the Nodemanager 'omf_resctl' plugin # # Copyright (c) 2006-2009 National ICT Australia (NICTA), Australia # # Copyright (c) 2004-2009 WINLAB, Rutgers University, USA # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. # # # NOTE: use only 'spaces' to indent ! # ('tab' indents are not supported by the ruby yaml parser used to read this file) # --- :rcontroller: # Communication settings :comm: # Number of seconds between consecutive HEARTBEAT messages :heartbeat_interval: 10 # Interface to the control network from which this resource can be controlled and managed :control_if: control # Address of the local PubSub server to use for PubSub communication :local_pubsub_server: @XMPP_SERVER@ # Address of the remote PubSub server which host the PubSub groups for my Slice :remote_pubsub_server: @XMPP_SERVER@ # Agent settings :agent: # Name (i.e. unique HRN ID) of this resource # Or this could also be passed as a command line parameter "--name" # Or if set to 'default', then the RC will use the output of '/bin/hostname' :name: @NODE_HRN@ # Name (i.e. unique HRN ID) of the slice to which this resource is assigned :slice: @SLICE_NAME@