From 1b99a841152eda5b2222386036d894c9066f35b1 Mon Sep 17 00:00:00 2001 From: Daniel STAN Date: Tue, 24 Apr 2012 15:31:20 +0200 Subject: [PATCH] [annuaire_pg] Ajout du backbone MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: d1e7f7cc5648ee6360088a280739d1f0 C'est juste pour éviter d'avoir une feuille volante darcs-hash:20120424133120-28565-884b59b42b4ac210ffb7475214fd4ba355560d7f.gz --- gestion/annuaires_pg.py | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/gestion/annuaires_pg.py b/gestion/annuaires_pg.py index c5a29fd3..4e58d974 100755 --- a/gestion/annuaires_pg.py +++ b/gestion/annuaires_pg.py @@ -198,11 +198,30 @@ uplink_prises={ 'a' : 122: 'uplink->backbone', 123: 'uplink->backbone (unused)', 124: 'uplink->batp-0' } , - 'v' : -{ 49 : 'libre-service', 50 : 'libre-service', - 51 : 'uplink->backbone', 52 : 'libre-service', - 149 : 'libre-service', 150 : 'libre-service', - 749 : 'libre-service', 750 : 'libre-service' } +'backbone' : #For your consideration + { + #A: 12eth+12fibre, B: 24 eth + 'A1': 'zamok', 'B1': 'bata', + 'A2': 'komaz-ens', 'B2': 'multiprise-wifi', + 'A3': 'sable', 'B3': 'monit', + 'A4': 'komaz', 'B4': 'fy', + 'B5': 'switch-ilo', + 'B6': 'vigile 0B', + 'B7': 'rouge', + 'B8': 'batb', + 'B9': '2b', + 'B10': 'fz', + 'B11': 'gordon', + 'B12': 'ragnarok', + 'A13': 'batm', 'B13': 'osm', + 'A14': 'batp', 'B14': 'fx', + 'A15': 'batc', 'B15': 'sila', + 'A16': 'bato', 'B16': 'dyson', + 'A17': 'bath', + 'A18': 'bati', + 'A19': 'batj', + 'A20': 'batg', + }, } def all_switchs(bat=None):