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
No Additional Properties
No Additional Items
No Additional Properties
No Additional Items
Type: array
No Additional Items
No Additional Properties
No Additional Items
No Additional Properties
No Additional Items
No Additional Items
Tuple Validation
Parameter 1: iscsi_target_create
iscsi_target_create
Type: objectNo Additional Properties
Name
Type: stringMust 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: objectNo Additional Properties
Portal
Type: integerInitiator
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
No Additional Properties
IscsiTargetParameters
Type: objectNo Additional Properties
Queuedcommands
Default: null Type: enum (of integer)
Must be one of:
- 32
- 128
Type: null
Type: null
IscsiTargetEntry
Type: objectNo Additional Properties
Id
Type: integerName
Type: stringMust 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: objectNo Additional Properties
Portal
Type: integerInitiator
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
No Additional Properties
IscsiTargetParameters
Type: objectNo 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