diff --git a/gestion/hptools.py b/gestion/hptools.py index 5ceab8ff..5ea20ab7 100644 --- a/gestion/hptools.py +++ b/gestion/hptools.py @@ -334,7 +334,7 @@ class hpswitch : # Sauvegarde self.__ssh("copy running-config tftp %s %s unix" % (self.IP_tftp, self.switch + '.running') ) try : - self.__ssh("copy tftp startup-config %s %s unix" % (self.IP_tftp, self.switch+'.conf') ) + print self.__ssh("copy tftp startup-config %s %s unix" % (self.IP_tftp, self.switch+'.conf') ) except ConnectionClosed : # C'est normal : le switch reboote pass @@ -343,7 +343,7 @@ class hpswitch : """ Changement de firmware, le firmware est sur la machine ayant le serveur tftfp et a pour nom firmware26xx """ if self.__debug : self.__logDest.write("HP DEBUG : upgrate()\n") - self.__ssh("copy tftp flash %s %s" % (self.IP_tftp, self.firmware_file) , 120) # Long timout + print self.__ssh("copy tftp flash %s %s" % (self.IP_tftp, self.firmware_file) , 120) # Long timout def reboot(self) : """ Reboote le switch """