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