Documentation ¶
Index ¶
- Constants
- type FcPlugin
- func (plugin *FcPlugin) DiscoverDevice(serial string, lunId string) error
- func (plugin *FcPlugin) GetAllFcHostPortWwn() ([]string, error)
- func (plugin *FcPlugin) GetAllFcHostPorts() ([]*model.FcHostPort, error)
- func (plugin *FcPlugin) GetFcInitiators() (*model.Initiator, error)
- func (plugin *FcPlugin) RescanAdapter(adapter string) error
- func (plugin *FcPlugin) RescanFcTarget(lunID string) error
Constants ¶
View Source
const (
// FcHostLIPNameFormat :
FcHostLIPNameFormat = "/sys/class/fc_host/host%s/issue_lip"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FcPlugin ¶
type FcPlugin struct { }
func NewFcPlugin ¶
func NewFcPlugin() *FcPlugin
func (*FcPlugin) DiscoverDevice ¶
func (*FcPlugin) GetAllFcHostPortWwn ¶
GetAllFcHostPortWWN get all FC host port WWN's on the host
func (*FcPlugin) GetAllFcHostPorts ¶
func (plugin *FcPlugin) GetAllFcHostPorts() ([]*model.FcHostPort, error)
GetAllFcHostPorts get all the FC host port details on the host
func (*FcPlugin) GetFcInitiators ¶
GetInitiators get all host fc initiators (port WWNs)
func (*FcPlugin) RescanAdapter ¶
func (*FcPlugin) RescanFcTarget ¶
RescanFcTarget rescans host ports for new Fibre Channel devices
Click to show internal directories.
Click to hide internal directories.