pyanaconda.modules.storage.fcoe.fcoe_interface

Classes

FCOEInterface

DBus interface for the FCoE module.

Module Contents

class pyanaconda.modules.storage.fcoe.fcoe_interface.FCOEInterface[source]

Bases: pyanaconda.modules.common.base.KickstartModuleInterfaceTemplate

DBus interface for the FCoE module.

IsSupported()[source]

Is this module supported?

Return type:

Bool

DiscoverWithTask(nic, dcb, auto_vlan)[source]

Discover a FCoE device.

Parameters:
  • nic (Str) – a name of the network device

  • dcb (Bool) – Data Center Bridging awareness enabled

  • auto_vlan (Bool) – automatic VLAN discovery and setup enabled

Returns:

a DBus path to a task

Return type:

ObjPath

WriteConfiguration()[source]

Write the configuration to sysroot.

FIXME: This is just a temporary method.

GetNics()[source]

Get all NICs.

Returns:

a list of names of network devices connected to FCoE switches

Return type:

List[Str]

GetDracutArguments(nic)[source]

Get dracut arguments for the given FCoE device.

Parameters:

nic (Str) – a name of the network device connected to the FCoE switch

Returns:

a list of dracut arguments

Return type:

List[Str]

FIXME: This is just a temporary method.