mapping lun and fix portal management

This commit is contained in:
Le Zhang
2016-10-04 13:39:55 +08:00
parent 89382bddb0
commit c9b93c7527
16 changed files with 298 additions and 119 deletions

View File

@@ -25,7 +25,7 @@ import (
type SCSITargetService interface {
Run() error
NewTarget(string, []string) (SCSITargetDriver, error)
AddNewPortal([]string) error
AddNewPortal(string, string) error
}
type TargetServiceFunc func(*scsi.SCSITargetService) (SCSITargetService, error)