# Functions
BeautifyHostInfo prints the output to console.
BeautifyVolumeInfo output the volume information to stdout.
Convert2ConnectionProperty converts wwn and lunid pair into ConnnectionProperty.
FetchVolumeInfo fetches the volume information via iscsiConnector.
HandleConnect dispatches the cli to iscsi/fc respectively.
HandleDisconnect dispatches the cli to iscsi/fc respectively.
HandleExtend handles the Extend request based the device type.
HandleFCConnect handles the connection of FC target.
HandleFCExtend handle the request to extend the FC devices.
HandleInfo displays the host information.
HandleISCSIConnect connects the iSCSI target via iscsiadm.
HandleISCSIDisconnect disconnects the volume devices from local host Accessible format likes follows: /dev/sdb sdb <Target IP> <LUN ID>.
HandleISCSIExtend extends the iscsi block device.
InitLog enables the console log for client.
IsFcLike tests if *data* is a fc wwn.
IsIPLike tests if *data* is a ipv4 address.
IsLunLike tests if *data* is a lun id.
Session2ConnectionProperty converts a session to an ConnectionProperty.
SetFcConnector sets the connector for FC connection.
SetISCSIConnector sets the iSCSI connector This will help when doing mock testing.
ValidateLunID validates the LunIDs as integer.
# Variables
HostInfoFormat defines the `info` command output.
VolumeFormat defines the `volume` output format.