From a4455e02863e9eeb3f93cfed8c265eb1f2a8482e Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Mon, 21 Sep 2009 22:20:09 +0200 Subject: [PATCH] =?UTF-8?q?[gen=5Fconfs/switchs.py]=20Le=20stp=20ne=20sert?= =?UTF-8?q?=20plus=20=C3=A0=20rien?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ignore-this: 975776515eaf06e7696dfa100d5bed3 darcs-hash:20090921202009-ffbb2-0797dec7652355422ea25daec82fdd2a1ad92934.gz --- gestion/gen_confs/switchs.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/gestion/gen_confs/switchs.py b/gestion/gen_confs/switchs.py index 5aaa7ccf..f64cf43e 100644 --- a/gestion/gen_confs/switchs.py +++ b/gestion/gen_confs/switchs.py @@ -11,10 +11,10 @@ * copie fichier de conf pour les reconfiguration copier le fichier de conf - Dans tous les cas FAIRE LE SNMP A LA MAIN (script hpttols) + Dans tous les cas FAIRE LE SNMP A LA MAIN (script hptools) """ -import string, sys, os, commands, smtplib, tempfile, getopt +import sys, os, commands, smtplib, tempfile, getopt sys.path.append('/usr/scripts/gestion') from hptools import hpswitch, sw_chbre @@ -108,18 +108,6 @@ aaa authentication ssh enable public-key none ip ssh ip authorized-managers 10.231.136.0 255.255.255.0 ip ssh filetransfer -;------------------------------------------------------- Spanning-tree -spanning-tree force-version rstp-operation -; Config des uplinks -no spanning-tree %(uplinks)s admin-edge-port -spanning-tree %(uplinks)s point-to-point-mac true -spanning-tree %(uplinks)s priority 6 -; Config des prises adhérent -spanning-tree %(non_uplinks)s admin-edge-port -spanning-tree %(non_uplinks)s point-to-point-mac auto -spanning-tree %(non_uplinks)s priority 8 -; On active -spanning-tree ;------------------------------------------------------- DHCP Snooping dhcp-snooping vlan %(vlan_adherent)s dhcp-snooping trust %(uplinks)s