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 of object Default: []
No Additional Items
Each item of this array must be:

IscsiGroup

Type: object
No Additional Properties

Portal

Type: integer

Initiator

Default: null

Type: integer
Type: null

Authmethod

Type: enum (of string) Default: "NONE"
Must be one of:
  • "NONE"
  • "CHAP"
  • "CHAP_MUTUAL"

Auth

Default: null

Type: integer
Type: null

Auth Networks

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

Default: null

IscsiTargetParameters

Type: object
No Additional Properties

Queuedcommands

Default: null

Type: enum (of integer)
Must be one of:
  • 32
  • 128
Type: null
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 of object Default: []
No Additional Items
Each item of this array must be:

IscsiGroup

Type: object
No Additional Properties

Portal

Type: integer

Initiator

Default: null

Type: integer
Type: null

Authmethod

Type: enum (of string) Default: "NONE"
Must be one of:
  • "NONE"
  • "CHAP"
  • "CHAP_MUTUAL"

Auth

Default: null

Type: integer
Type: null

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

IscsiTargetParameters

Type: object
No Additional Properties

Queuedcommands

Default: null

Type: enum (of integer)
Must be one of:
  • 32
  • 128
Type: null
Type: null


Required roles: SHARING_ISCSI_TARGET_WRITE