xref: /spdk/proto/nvmf_tcp.proto (revision ad2dc6c532f1cbddd79d3915b74d28e0a3f99b71)
1syntax = "proto3";
2
3package sma.nvmf_tcp;
4
5option go_package = "github.com/spdk/sma-goapi/v1alpha1/nvmf_tcp";
6
7// Create device NVMe/TCP-specific parameters
8message DeviceParameters {
9  // Subsystem NQN
10  string subnqn = 1;
11  // Address family ("ipv4", "ipv6")
12  string adrfam = 2;
13  // Transport address
14  string traddr = 3;
15  // Transport service ID (port number)
16  string trsvcid = 4;
17  // Allow any host to connect
18  bool allow_any_host = 5;
19  // List of host NQNs that are allowed to connect to the subsystem (if
20  // allow_any_host is false)
21  repeated string hosts = 6;
22}
23