54f3ec004f7314f1ba3f94f1f0cbfa5d22d8a42d
[sfa.git] / config / sfa_config
1 # HRN
2 # Human readable name for this interface
3 SFA_INTERFACE_HRN="plc"   
4
5 # API Debug
6 # Are we logging
7 SFA_API_DEBUG=1
8
9 ## ============================================================
10 # Registry Configuration
11 #
12 # Enabled
13 # Enable the registry interface 
14 SFA_REGISTRY_ENABLED=1
15
16 # Registry Type
17 #
18 # The type of backend server for this registry
19 # Some registries may not be myplc 
20 SFA_REGISTRY_TYPE='pl'
21
22 # Root Auth
23 # The hrn of the registry's root auth
24 SFA_REGISTRY_ROOT_AUTH="plc"
25
26 # Level1 Auth
27 # The hrn of the registry's level1 auth (sub authority)
28 # The full name of this interface (only secify if this 
29 # interface is a sub authority)
30 # xxx could be determined from hrn above
31 SFA_REGISTRY_LEVEL1_AUTH=""
32
33 # Hostname
34 # The fully qualified hostname of the registry server
35 SFA_REGISTRY_HOST="localhost"
36
37 # Port
38 # Geni registry port
39 SFA_REGISTRY_PORT=12345
40
41 ## ==============================================================
42 ## Aggregate Configuration
43 ##
44 ## Enable aggregate inteface
45 ## Enable the aggregate inteface.
46 SFA_AGGREGATE_ENABLED=1
47
48 # Aggregate Type
49 #
50 # The type of backend server for this aggregate
51 # Some aggregates may not be myplc 
52 SFA_AGGREGATE_TYPE='pl'
53
54 #
55 #
56 ## Hostname
57 ## The fully qualified hostname of the aggregate server
58 SFA_AGGREGATE_HOST="localhost"
59 #
60 ## Port
61 ## Geni aggregate server port
62 SFA_AGGREGATE_PORT=12346
63
64 ## ==============================================================
65 # Slice Manager Configuration
66 #
67 # Enabled
68 # Enable the slice manager  
69 SFA_SM_ENABLED=1
70
71 # Slice Manager type
72 #
73 ## The type of backend server for this slice manager
74 ## The slice manager doesnt rely on a specific backend server so 
75 ## you probably will never need to change this type unless you 
76 ## need to reimplement the slice manager
77 SFA_SM_TYPE='pl' 
78
79 # Host
80 ## The fully qualified hostname or IP address of the slice manager server
81 SFA_SM_HOST="localhost"
82
83 # Port
84 # Geni slice manager server port  
85 SFA_SM_PORT=12347
86
87 ## ===============================================================
88 # Component Manager Configuration
89 #
90 # Enabled
91 ## Enable the slice manager
92 SFA_CM_ENABLED=1
93
94 # Component Manager type
95 #
96 # The type of backend server for this component manager
97 SFA_CM_TYPE='pl'
98 #
99 # Host
100 ## The fully qualified hostname or IP address of the slice manager server
101 SFA_SM_HOST="localhost"
102 #
103 # Port
104 # Geni slice manager server port
105 SFA_SM_PORT=12348
106
107
108
109 # PLC Interface Access Configuration
110 #
111 # PLC user
112 # sfa services will use this account for issuing plc requests - must have admin rights
113
114 SFA_PLC_USER='root@localhost.localdomain'
115
116 # Password
117 # Password for user account
118 SFA_PLC_PASSWORD='root'
119
120 # Full URL of PLC interface
121 SFA_PLC_URL='https://localhost:443/PLCAPI/'
122
123 # PLC DB Name
124 SFA_PLC_DB_NAME='planetlab5'
125
126 # PLC DB Host
127 SFA_PLC_DB_HOST='localhost'
128
129 # PLC DB port
130 SFA_PLC_DB_PORT=5432
131
132 # PLC DB User
133 SFA_PLC_DB_USER='pgsqluser'
134
135 # PLC DB Password
136 SFA_PLC_DB_PASSWORD=''
137
138 # Directory internal data gets stored
139 # using /etc/sfa until gec5 but /var/lib/sfa would be a more reasonable choice
140 SFA_CONFIG_DIR="/etc/sfa"
141
142 # Directory internal data gets stored
143 SFA_DATA_DIR="/var/lib/sfa"
144