From 81334650378fe67bf9adc22daf67ccf41688be04 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 2 Jul 2009 11:31:19 +0200 Subject: 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 --- storage/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'storage/__init__.py') 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) -- cgit