fc

package
v4.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 (plugin *FcPlugin) DiscoverDevice(serial string, lunId string) error

func (*FcPlugin) GetAllFcHostPortWwn

func (plugin *FcPlugin) GetAllFcHostPortWwn() ([]string, error)

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

func (plugin *FcPlugin) GetFcInitiators() (*model.Initiator, error)

GetInitiators get all host fc initiators (port WWNs)

func (*FcPlugin) RescanAdapter

func (plugin *FcPlugin) RescanAdapter(adapter string) error

func (*FcPlugin) RescanFcTarget

func (plugin *FcPlugin) RescanFcTarget(lunID string) error

RescanFcTarget rescans host ports for new Fibre Channel devices

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL