nvmet.port.create¶
Create a NVMe target port.
ports are the means through which subsystems (subsys) are made available to clients (hosts).
No Additional Items
Tuple Validation
Parameter 1: nvmet_port_create
nvmet_port_create
NVMe-oF port configuration data for creation (TCP/RDMA or Fibre Channel).
NVMetPortCreateRDMATCP
Type: objectNo Additional Properties
Addr Trtype
Type: enum (of string)Must be one of:
- "TCP"
- "RDMA"
Addr Trsvcid
Type: integerValue must be greater or equal to 1024
and lesser or equal to 65535
Addr Traddr
Must be one of:
- ""
""
Inline Data Size
Default: nullMaximum size for inline data transfers or null
for default.
Max Queue Size
Default: nullMaximum number of queue entries or null
for default.
Pi Enable
Default: nullWhether Protection Information (PI) is enabled or null
for default.
Enabled
Type: boolean Default: truePort enabled. When NVMe target is running, cannot make changes to an enabled port.
NVMetPortCreateFC
Type: objectNo Additional Properties
Addr Trtype
Type: constFabric transport technology name.
Must be one of:
- "FC"
"FC"
Addr Traddr
Type: stringA transport-specific field identifying the NVMe host port to use for the connection to the controller.
Must be at least 1
characters long
Inline Data Size
Default: nullMaximum size for inline data transfers or null
for default.
Max Queue Size
Default: nullMaximum number of queue entries or null
for default.
Pi Enable
Default: nullWhether Protection Information (PI) is enabled or null
for default.
Enabled
Type: boolean Default: truePort enabled. When NVMe target is running, cannot make changes to an enabled port.
NVMetPortEntry
Type: objectThe created NVMe-oF port configuration.
No Additional PropertiesId
Type: integerUnique identifier for the NVMe-oF port.
Index
Type: integerIndex of the port, for internal use.
Addr Trtype
Type: enum (of string)Fabric transport technology name.
Must be one of:
- "TCP"
- "RDMA"
- "FC"
Addr Trsvcid
Transport-specific TRSVCID field. When configured for TCP/IP or RDMA this will be the port number.
Must be at least 1
characters long
Addr Traddr
Type: stringA transport-specific field identifying the NVMe host port to use for the connection to the controller.
For TCP or RDMA transports, this will be an IPv4 or IPv6 address.
Addr Adrfam
Type: enum (of string)Address family.
Must be one of:
- "IPV4"
- "IPV6"
- "FC"
Inline Data Size
Default: nullMaximum size for inline data transfers or null
for default.
Max Queue Size
Default: nullMaximum number of queue entries or null
for default.
Pi Enable
Default: nullWhether Protection Information (PI) is enabled or null
for default.
Enabled
Type: boolean Default: truePort enabled. When NVMe target is running, cannot make changes to an enabled port.
Required roles: SHARING_NVME_TARGET_WRITE