Package g4ds :: Module config
[show private | hide private]
[frames | no frames]

Module g4ds.config

Main Configuration file for G4DS

Grid for Digital Security (G4DS)

Modules import that module and may read the settings important to them.

Options provided here:
  1. General options (name, organisation, location, ...)
  2. Logging options
  3. Routing options
  4. Inter process communication options
  5. Access control options
  6. Database options

Author: Michael Pilgermann

Contact: mailto:mpilgerm@glam.ac.uk

License: GPL (General Public License)

Variable Summary
int DAEMON_MODE = 1                                                                     
int dbconnected = 1                                                                     
list default_mdls = ['xml/M001.mdl', 'xml/M002.mdl']
str default_tc_id = 'C9999999999'
str default_tcdl = 'xml/DefaultCommunity.tcl'
str description_fullname = 'g4ds test - node at home'
str description_location_city = 'Cardiff'
str description_location_countrycode = 'UK'
str description_location_countryname = 'United Kingdom'
str description_organisation = 'University of Glamorgan'
int ENABLE_ROUTING = 1                                                                     
int ENABLE_SYSLOG = 0                                                                     
str FIFO_PATH_IN = '/tmp/g4ds.in.fifo'
str FIFO_PATH_OUT = '/tmp/g4ds.out.fifo'
str g4ds_comm_dbname = 'g4ds'
str g4ds_comm_host = 'localhost'
str g4ds_comm_password = 'pwg4ds'
int g4ds_comm_port = 5432                                                                  
str g4ds_comm_table_endpoints = 'endpoints'
str g4ds_comm_table_protocols = 'protocols'
str g4ds_comm_table_relation_communities_protocols = 'commun...
str g4ds_comm_username = 'ug4ds'
str g4ds_cudb_dbname = 'g4ds'
str g4ds_cudb_host = 'localhost'
str g4ds_cudb_password = 'pwg4ds'
int g4ds_cudb_port = 5432                                                                  
str g4ds_cudb_table_communities = 'communities'
str g4ds_cudb_table_gateways = 'gateways'
str g4ds_cudb_table_members = 'members'
str g4ds_cudb_table_relation_communities_authorities = 'comm...
str g4ds_cudb_table_relation_communities_members = 'communit...
str g4ds_cudb_username = 'ug4ds'
str g4ds_rtdb_dbname = 'g4ds'
str g4ds_rtdb_host = 'localhost'
str g4ds_rtdb_password = 'pwg4ds'
int g4ds_rtdb_port = 5432                                                                  
str g4ds_rtdb_table_routingtable = 'routingtable'
str g4ds_rtdb_username = 'ug4ds'
str g4ds_sec_dbname = 'g4ds'
str g4ds_sec_host = 'localhost'
str g4ds_sec_password = 'pwg4ds'
int g4ds_sec_port = 5432                                                                  
str g4ds_sec_table_algorithms = 'algorithms'
str g4ds_sec_table_credentials = 'credentials'
str g4ds_sec_table_mycredentials = 'personalcredentials'
str g4ds_sec_table_relation_communities_algorithms = 'commun...
str g4ds_sec_username = 'ug4ds'
str g4ds_serv_dbname = 'g4ds'
str g4ds_serv_host = 'localhost'
str g4ds_serv_password = 'pwg4ds'
int g4ds_serv_port = 5432                                                                  
str g4ds_serv_table_relation_services_authorities = 'service...
str g4ds_serv_table_relation_services_communities = 'service...
str g4ds_serv_table_relation_services_members = 'services_me...
str g4ds_serv_table_services = 'services'
str g4ds_serv_username = 'ug4ds'
str LOGGING_FILENAME = '/var/log/g4ds.log'
int LOGGING_LEVEL = 5                                                                     
str member_name = 'kichkasch-home'
str memberid = 'M111'
str PATH_PUBLIC_KEYS = '/var/lib/g4ds/authorised_services'
int POLICY_DEFAULT_REACTION = 1                                                                     
str POLICY_DIRECTORY = '/var/lib/g4ds/policy/'
list POLICY_FILES = ['default_policy.pol', 'roles.pol']
str POLICY_MAJOR_RULESET_ID = 'RS000000'
int ROUTING_UPDATE_INTERVAL = 3600                                                                  
str SYSLOG_IDENTIFIER = 'g4ds'
str VERSION = '0.1'

Variable Details

DAEMON_MODE

Type:
int
Value:
1                                                                     

dbconnected

Type:
int
Value:
1                                                                     

default_mdls

Type:
list
Value:
['xml/M001.mdl', 'xml/M002.mdl']                                       

default_tc_id

Type:
str
Value:
'C9999999999'                                                          

default_tcdl

Type:
str
Value:
'xml/DefaultCommunity.tcl'                                             

description_fullname

Type:
str
Value:
'g4ds test - node at home'                                             

description_location_city

Type:
str
Value:
'Cardiff'                                                              

description_location_countrycode

Type:
str
Value:
'UK'                                                                   

description_location_countryname

Type:
str
Value:
'United Kingdom'                                                       

description_organisation

Type:
str
Value:
'University of Glamorgan'                                              

ENABLE_ROUTING

Type:
int
Value:
1                                                                     

ENABLE_SYSLOG

Type:
int
Value:
0                                                                     

FIFO_PATH_IN

Type:
str
Value:
'/tmp/g4ds.in.fifo'                                                    

FIFO_PATH_OUT

Type:
str
Value:
'/tmp/g4ds.out.fifo'                                                   

g4ds_comm_dbname

Type:
str
Value:
'g4ds'                                                                 

g4ds_comm_host

Type:
str
Value:
'localhost'                                                            

g4ds_comm_password

Type:
str
Value:
'pwg4ds'                                                               

g4ds_comm_port

Type:
int
Value:
5432                                                                  

g4ds_comm_table_endpoints

Type:
str
Value:
'endpoints'                                                            

g4ds_comm_table_protocols

Type:
str
Value:
'protocols'                                                            

g4ds_comm_table_relation_communities_protocols

Type:
str
Value:
'communities_protocols'                                                

g4ds_comm_username

Type:
str
Value:
'ug4ds'                                                                

g4ds_cudb_dbname

Type:
str
Value:
'g4ds'                                                                 

g4ds_cudb_host

Type:
str
Value:
'localhost'                                                            

g4ds_cudb_password

Type:
str
Value:
'pwg4ds'                                                               

g4ds_cudb_port

Type:
int
Value:
5432                                                                  

g4ds_cudb_table_communities

Type:
str
Value:
'communities'                                                          

g4ds_cudb_table_gateways

Type:
str
Value:
'gateways'                                                             

g4ds_cudb_table_members

Type:
str
Value:
'members'                                                              

g4ds_cudb_table_relation_communities_authorities

Type:
str
Value:
'communities_authorities'                                              

g4ds_cudb_table_relation_communities_members

Type:
str
Value:
'communities_members'                                                  

g4ds_cudb_username

Type:
str
Value:
'ug4ds'                                                                

g4ds_rtdb_dbname

Type:
str
Value:
'g4ds'                                                                 

g4ds_rtdb_host

Type:
str
Value:
'localhost'                                                            

g4ds_rtdb_password

Type:
str
Value:
'pwg4ds'                                                               

g4ds_rtdb_port

Type:
int
Value:
5432                                                                  

g4ds_rtdb_table_routingtable

Type:
str
Value:
'routingtable'                                                         

g4ds_rtdb_username

Type:
str
Value:
'ug4ds'                                                                

g4ds_sec_dbname

Type:
str
Value:
'g4ds'                                                                 

g4ds_sec_host

Type:
str
Value:
'localhost'                                                            

g4ds_sec_password

Type:
str
Value:
'pwg4ds'                                                               

g4ds_sec_port

Type:
int
Value:
5432                                                                  

g4ds_sec_table_algorithms

Type:
str
Value:
'algorithms'                                                           

g4ds_sec_table_credentials

Type:
str
Value:
'credentials'                                                          

g4ds_sec_table_mycredentials

Type:
str
Value:
'personalcredentials'                                                  

g4ds_sec_table_relation_communities_algorithms

Type:
str
Value:
'communities_algorithms'                                               

g4ds_sec_username

Type:
str
Value:
'ug4ds'                                                                

g4ds_serv_dbname

Type:
str
Value:
'g4ds'                                                                 

g4ds_serv_host

Type:
str
Value:
'localhost'                                                            

g4ds_serv_password

Type:
str
Value:
'pwg4ds'                                                               

g4ds_serv_port

Type:
int
Value:
5432                                                                  

g4ds_serv_table_relation_services_authorities

Type:
str
Value:
'services_authorities'                                                 

g4ds_serv_table_relation_services_communities

Type:
str
Value:
'services_communities'                                                 

g4ds_serv_table_relation_services_members

Type:
str
Value:
'services_members'                                                     

g4ds_serv_table_services

Type:
str
Value:
'services'                                                             

g4ds_serv_username

Type:
str
Value:
'ug4ds'                                                                

LOGGING_FILENAME

Type:
str
Value:
'/var/log/g4ds.log'                                                    

LOGGING_LEVEL

Type:
int
Value:
5                                                                     

member_name

Type:
str
Value:
'kichkasch-home'                                                       

memberid

Type:
str
Value:
'M111'                                                                 

PATH_PUBLIC_KEYS

Type:
str
Value:
'/var/lib/g4ds/authorised_services'                                    

POLICY_DEFAULT_REACTION

Type:
int
Value:
1                                                                     

POLICY_DIRECTORY

Type:
str
Value:
'/var/lib/g4ds/policy/'                                                

POLICY_FILES

Type:
list
Value:
['default_policy.pol', 'roles.pol']                                    

POLICY_MAJOR_RULESET_ID

Type:
str
Value:
'RS000000'                                                             

ROUTING_UPDATE_INTERVAL

Type:
int
Value:
3600                                                                  

SYSLOG_IDENTIFIER

Type:
str
Value:
'g4ds'                                                                 

VERSION

Type:
str
Value:
'0.1'                                                                  

Generated by Epydoc 2.0 on Sat Oct 22 22:52:46 2005 http://epydoc.sf.net