[PATCH 3/3] Add FCoE disks to the devicetree with a type of FcoeDiskDevice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add FCoE disks to the devicetree with a type of FcoeDiskDevice instead
of DiskDevice
---
 storage/devicetree.py |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 9ffe726..08846f3 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1152,6 +1152,11 @@ class DeviceTree(object):
             kwargs["iscsi_address"] = udev_device_get_iscsi_address(info)
             kwargs["iscsi_port"]    = udev_device_get_iscsi_port(info)
             log.debug("%s is an iscsi disk" % name)
+        elif udev_device_is_fcoe(info):
+            diskType = FcoeDiskDevice
+            kwargs["nic"]        = udev_device_get_fcoe_nic(info)
+            kwargs["identifier"] = udev_device_get_fcoe_identifier(info)
+            log.debug("%s is an fcoe disk" % name)
         else:
             diskType = DiskDevice
             log.debug("%s is a disk" % name)
-- 
1.6.2.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux