iscsi.target.create

Create an iSCSI Target.

groups is a list of group dictionaries which provide information related to using a portal, initiator, authmethod and auth with this target. auth represents a valid iSCSI Authorized Access and defaults to null.

auth_networks is a list of IP/CIDR addresses which are allowed to use this initiator. If all networks are to be allowed, this field should be left empty.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: iscsi_target_create

iscsi_target_create

Type: object
No Additional Properties

Name

Type: string

Must be at least 1 characters long

Must be at most 120 characters long

Alias

Default: null

Type: string
Type: null

Mode

Type: enum (of string) Default: "ISCSI"
Must be one of:
  • "ISCSI"
  • "FC"
  • "BOTH"

Groups

Type: array Default: []
No Additional Items
Each item of this array must be:
Type: object

Auth Networks

Type: array of string Default: []
No Additional Items
Each item of this array must be:
Type: string

Default: null

Type: object
Type: null

IscsiTargetEntry

Type: object
No Additional Properties

Id

Type: integer

Name

Type: string

Must be at least 1 characters long

Must be at most 120 characters long

Alias

Default: null

Type: string
Type: null

Mode

Type: enum (of string) Default: "ISCSI"
Must be one of:
  • "ISCSI"
  • "FC"
  • "BOTH"

Groups

Type: array Default: []
No Additional Items
Each item of this array must be:
Type: object

Auth Networks

Type: array of string Default: []
No Additional Items
Each item of this array must be:
Type: string

Rel Tgt Id

Type: integer

Default: null

Type: object
Type: null


Required roles: SHARING_ISCSI_TARGET_WRITE