diff options
author | Hans de Goede <hdegoede@redhat.com> | 2009-07-02 11:31:19 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2009-07-02 22:05:40 +0200 |
commit | 81334650378fe67bf9adc22daf67ccf41688be04 (patch) | |
tree | faab618c7164ebd6de2776ca8a58f0b12139636c /storage/__init__.py | |
parent | 4031b12d3e59a6904ad3ab8c092c5a101216f2f6 (diff) | |
download | anaconda-81334650378fe67bf9adc22daf67ccf41688be04.tar.gz anaconda-81334650378fe67bf9adc22daf67ccf41688be04.tar.xz anaconda-81334650378fe67bf9adc22daf67ccf41688be04.zip |
Initial FCoE support
This patch adds support for using FCoE during the installation. This patch
merely lays the initial ground work, there is more work todo:
- The system will not boot without manual help after the install, as
dracut / mkinitrd do not support FCoE yet
- If FCoE is not used for / but for example for /srv, then information
about the nic used for FCoE needs to be written in a to be defined
config file in the system, and rc.sysinit needs to be thought to read
this file and bring up FCoE SAN's / Fabrics not used for /
- kickstart support for FCoE still needs to be done
Diffstat (limited to 'storage/__init__.py')
-rw-r--r-- | storage/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/__init__.py b/storage/__init__.py index 572c7448e..03b987619 100644 --- a/storage/__init__.py +++ b/storage/__init__.py @@ -46,6 +46,7 @@ from devicelibs.lvm import safeLvmName from devicelibs.dm import name_from_dm_node from udev import * import iscsi +import fcoe import zfcp import gettext @@ -204,6 +205,7 @@ class Storage(object): self.__luksDevs = {} self.iscsi = iscsi.iscsi() + self.fcoe = fcoe.fcoe() self.zfcp = zfcp.ZFCP() self._nextID = 0 @@ -269,6 +271,7 @@ class Storage(object): w = self.anaconda.intf.waitWindow(_("Finding Devices"), _("Finding storage devices...")) self.iscsi.startup(self.anaconda.intf) + self.fcoe.startup(self.anaconda.intf) self.zfcp.startup() if self.anaconda.id.getUpgrade(): clearPartType = CLEARPART_TYPE_NONE @@ -913,6 +916,7 @@ class Storage(object): def write(self, instPath): self.fsset.write(instPath) self.iscsi.write(instPath, self.anaconda) + self.fcoe.write(instPath, self.anaconda) self.zfcp.write(instPath) def writeKS(self, f): @@ -980,6 +984,7 @@ class Storage(object): f.write("\n") self.iscsi.writeKS(f) + self.fcoe.writeKS(f) self.zfcp.writeKS(f) |