nvmet.port_subsys.update¶
Update port/subsys association of id.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerID of the port-subsystem association to update.
Parameter 2: nvmet_port_subsys_update
nvmet_port_subsys_update
Type: objectUpdated port-subsystem association configuration data.
No Additional PropertiesPort Id
Type: integerID of the NVMe-oF port to associate.
Subsys Id
Type: integerID of the NVMe-oF subsystem to make accessible.
NVMetPortSubsysEntry
Type: objectThe updated port-subsystem association.
No Additional PropertiesId
Type: integerUnique identifier for the port-subsystem association.
NVMetPortEntry
Type: objectNVMe-oF port that provides access to the subsystem.
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.
NVMetSubsysEntry
Type: objectNVMe-oF subsystem that is accessible through the port.
No Additional PropertiesId
Type: integerUnique identifier for the NVMe-oF subsystem.
Name
Type: stringHuman readable name for the subsystem.
If subnqn
is not provided on creation, then this name will be appended to the basenqn
from nvmet.global.config
to generate a subnqn.
Must be at least 1
characters long
Subnqn
Default: nullNVMe Qualified Name (NQN) for the subsystem.
If not provided during creation, will be auto-generated by appending the name
to the basenqn
from nvmet.global.config
.
Must be at least 1
characters long
Serial
Type: stringSerial number assigned to the subsystem.
Allow Any Host
Type: boolean Default: falseAny host can access the storage associated with this subsystem (i.e. no access control).
Pi Enable
Default: nullEnable Protection Information (PI) for data integrity checking.
Qid Max
Default: nullMaximum number of queue IDs allowed for this subsystem.
Ieee Oui
Default: nullIEEE Organizationally Unique Identifier for the subsystem.
Ana
Default: nullIf set to either True
or False
, then override the global ana
setting from nvmet.global.config
for this subsystem only.
If null
, then the global ana
setting will take effect.
Hosts
Default: []List of host ids which have access to this subsystem.
Only populated on query if extra.options.verbose
is set.
No Additional Items
Each item of this array must be:
Namespaces
Default: []List of namespaces ids in this subsystem.
Only populated on query if extra.options.verbose
is set.
No Additional Items
Each item of this array must be:
Ports
Default: []List of ports ids on which this subsystem is available.
Only populated on query if extra.options.verbose
is set.
No Additional Items
Each item of this array must be:
Required roles: SHARING_NVME_TARGET_WRITE