From 3e6efb0385be6600856a2e62d48e2e5ff3cf0f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Mon, 25 Aug 2014 20:42:38 +0200 Subject: [PATCH] [iscsi] On met des ip en lieu et place des noms, en cas de panne de dns --- gestion/iscsi/nolslib.py | 2 +- gestion/iscsi/slonlib.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gestion/iscsi/nolslib.py b/gestion/iscsi/nolslib.py index 85240a9d..30348e57 100644 --- a/gestion/iscsi/nolslib.py +++ b/gestion/iscsi/nolslib.py @@ -38,7 +38,7 @@ class NolsError(Exception): class Nols(object): '''Objet représentant la baie de stockage''' - def __init__(self, host="nols.adm.crans.org"): + def __init__(self, host="10.231.136.36"): self.tn = telnetlib.Telnet(host) # Identification diff --git a/gestion/iscsi/slonlib.py b/gestion/iscsi/slonlib.py index 1c4688f8..c4c29bef 100644 --- a/gestion/iscsi/slonlib.py +++ b/gestion/iscsi/slonlib.py @@ -43,7 +43,7 @@ volume_map_regexp = re.compile("Volume \[SN [0-9a-f]+, Name \(([^)]*)\)\][^\n]*\ class Slon(object): '''Objet représentant la baie de stockage''' - def __init__(self, host="slon.adm.crans.org"): + def __init__(self, host="10.231.136.85"): self.tn = telnetlib.Telnet(host) # Identification