diff options
author | Karsten Hopp <karsten@redhat.de> | 2004-08-26 16:38:36 +0000 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.de> | 2004-08-26 16:38:36 +0000 |
commit | 3cba382d14d3a50c603d60f9181082cc5c875683 (patch) | |
tree | 0b779f272769bfe717f678b5d0beb8037647e0a9 /zfcp.py | |
parent | cea4c4a756e9aed461ddd17e43efcd65334be600 (diff) | |
download | anaconda-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.py | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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: |