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