summaryrefslogtreecommitdiffstats
path: root/zfcp.py
diff options
context:
space:
mode:
authorKarsten Hopp <karsten@redhat.de>2004-08-26 16:38:36 +0000
committerKarsten Hopp <karsten@redhat.de>2004-08-26 16:38:36 +0000
commit3cba382d14d3a50c603d60f9181082cc5c875683 (patch)
tree0b779f272769bfe717f678b5d0beb8037647e0a9 /zfcp.py
parentcea4c4a756e9aed461ddd17e43efcd65334be600 (diff)
downloadanaconda-3cba382d14d3a50c603d60f9181082cc5c875683.tar.gz
anaconda-3cba382d14d3a50c603d60f9181082cc5c875683.tar.xz
anaconda-3cba382d14d3a50c603d60f9181082cc5c875683.zip
move errormessage windows to zfcp.py, lets see if they can be reused in zfcp_text.py
Diffstat (limited to 'zfcp.py')
-rw-r--r--zfcp.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/zfcp.py b/zfcp.py
index 5aa1600e0..48863b75a 100644
--- a/zfcp.py
+++ b/zfcp.py
@@ -171,6 +171,26 @@ class ZFCP:
fcpconf[4] = self.expandLun(fcpconf[4])
self.fcpdevices.append(fcpconf)
+ def handleInvalidDevice(self, intf):
+ intf.messageWindow(_("Error With Data"),
+ _("You have not specified a device number or the number is invalid"))
+
+ def handleInvalidSCSIId(self, intf):
+ intf.messageWindow(_("Error With Data"),
+ _("You have not specified a SCSI ID or the ID is invalid."))
+
+ def handleInvalidWWPN(self, intf):
+ intf.messageWindow(_("Error With Data"),
+ _("You have not specified a worldwide port name or the name is invalid."))
+
+ def handleInvalidSCSILun(self, intf):
+ intf.messageWindow(_("Error With Data"),
+ _("You have not specified a SCSI LUN or the number is invalid."))
+
+ def handleInvalidFCPLun(self, intf):
+ intf.messageWindow(_("Error With Data"),
+ _("You have not specified a FCP LUN or the number is invalid."))
+
def sanityCheckHexValue(self, length, value):
# FIXME: do a real checking if this is a valid hex value
if len(value) == length: