Setting tag omf-5.3-11
[omf.git] / omf-resctl.yaml.in
1 #
2 # This is the template Config file for the OMF Resource Controller
3 # The uppercase symbols between '@' get filled by the Nodemanager 'omf_resctl' plugin 
4 #
5 # Copyright (c) 2006-2009 National ICT Australia (NICTA), Australia
6 #
7 # Copyright (c) 2004-2009 WINLAB, Rutgers University, USA
8 #
9 # Permission is hereby granted, free of charge, to any person obtaining a copy
10 # of this software and associated documentation files (the "Software"), to deal
11 # in the Software without restriction, including without limitation the rights
12 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
13 # copies of the Software, and to permit persons to whom the Software is
14 # furnished to do so, subject to the following conditions:
15 #
16 # The above copyright notice and this permission notice shall be included in
17 # all copies or substantial portions of the Software.
18 #
19 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
22 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25 # THE SOFTWARE.
26 #
27 #
28 # NOTE: use only 'spaces' to indent !
29 # ('tab' indents are not supported by the ruby yaml parser used to read this file)
30 #
31 ---
32 :rcontroller:
33   # Communication settings 
34   :communicator:
35
36     # Number of seconds between consecutive HEARTBEAT messages
37     :heartbeat_interval: 10
38   
39     # Interface to the control network from which this resource can be controlled and managed
40     :control_if: control
41
42     # set this to false if you want to disable signature checks and message signing
43     :authenticate_messages: true
44
45     # your RSA/DSA SSH private key file
46     :private_key: @SLIVER_PRIVATE_KEY@
47
48     # directory holding the public keys of your OMF peers
49     :public_key_dir: @SLIVER_PUB_KEY_DIR@
50
51     :type: 'xmpp'
52     :xmpp:
53       # Address of the PubSub server to use as gateway for PubSub communication
54       :pubsub_gateway: @XMPP_SERVER@
55
56       # Address of the PubSub server which host the communication for my slice
57       # Leave this commented if the pubsub groups for this slice are hosted on 
58       # the same server as the 'pubsub_gateway'
59       #:pubsub_domain: 10.0.0.200
60       # The following 'home_pubsub_user' and 'home_pubsub_pwd' are optional
61       # RC will create a unique user/pwd for itself if this is not provided
62       # In a typical OMF install, you should not uncomment these lines
63       # (do so only if you need to manually set user/password for 
64       # your client to connect to your pubsub server)
65       #:pubsub_user: 'my_RC_name' 
66       #:pubsub_pwd: 'my_RC_password'
67
68   # Agent settings
69   :agent:
70
71     # Name (i.e. unique HRN ID) of this resource
72     # Or this could also be passed as a command line parameter "--name"
73     # Or if set to 'default', then the RC will use the output of '/bin/hostname'
74     :name: @NODE_HRN@
75
76     # Name (i.e. unique HRN ID) of the slice to which this resource is assigned
77     :slice: @SLICE_NAME@