nvmet.port_subsys.update¶
Update port/subsys association of id.
No Additional Items
Tuple Validation
Parameter 1: id
id
Type: integerParameter 2: nvmet_port_subsys_update
nvmet_port_subsys_update
Type: objectNo Additional Properties
Port Id
Type: integerSubsys Id
Type: integerNVMetPortSubsysEntry
Type: objectNo Additional Properties
Id
Type: integerNVMetPortEntry
Type: objectNo Additional Properties
Id
Type: integerIndex
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: nullMax Queue Size
Default: nullPi Enable
Default: nullEnabled
Type: boolean Default: truePort enabled. When NVMe target is running, cannot make changes to an enabled port.
NVMetSubsysEntry
Type: objectNo Additional Properties
Id
Type: integerName
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: nullMust be at least 1
characters long
Must be at most 223
characters long
Serial
Type: stringAllow Any Host
Type: boolean Default: falseIf True
then any host can access the storage associated with this subsystem (i.e. no access control).
Pi Enable
Default: nullQid Max
Default: nullIeee Oui
Default: nullAna
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