[./gestion/config.py] la correspondance serveur attribus est maintenant extraite de bcfg2

darcs-hash:20100704041003-8fbb1-475ce918178d0dc12d6d8a6f955a5998e3038364.gz
This commit is contained in:
Olivier Huber 2010-07-04 06:10:03 +02:00
parent e8ce8b1e01
commit 1013d13c61

View file

@ -7,6 +7,9 @@
from time import localtime from time import localtime
# Fichier généré
from config_srv import adm_only, role
# Administratif # Administratif
caution = 0 caution = 0
#Précablage possible ? #Précablage possible ?
@ -492,16 +495,6 @@ vlans = {
'appts': 21 'appts': 21
} }
# a faire générer par bcfg2 ?
# Les noms des attributs peuvent être changé.
role = { 'komaz' : ['main-router'],
'sable' : ['main-proxy'],
'titanic' : ['appt-proxy', 'failover-proxy'],
'gordon' : ['wifi-router'],
'zamok' : ['adherents-server'],
'dyson' : ['sniffer']
}
filter_policy = { 'komaz' : { 'policy_input' : 'ACCEPT', filter_policy = { 'komaz' : { 'policy_input' : 'ACCEPT',
'policy_forward' : 'DROP', 'policy_forward' : 'DROP',
'policy_output' : 'ACCEPT' 'policy_output' : 'ACCEPT'