Add a tab to iscsi "status"
In this new tab show the following:
Parse the output of ctladm devlist -x to show a datagrid of the targets with their size and lun number.
Each target should show a list of connected initiators, obtained from ctladm islist, with two actions per item.
logout and terminate
These buttons call ctladm islogout -c connectionID and ctladm isterminate -c connectionID respectively.
#4 Updated by Alexander Motin over 5 years ago
It could be made more universal to cover not only iSCSI, but also FC. `ctladm portlist -x` provides information about all targets and connected initiators in a way shared for iSCSI and FC. There is no way terminate FC session, so it will be specific for iSCSI, though when it is possible. unification would be good.