It makes it possible to generate golang code from the SMA's protobuf definitions. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I6f03bc2b602f93ea608597e863cb9e016b68f12e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10279 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
23 lines
556 B
Protocol Buffer
23 lines
556 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package sma.nvmf_tcp;
|
|
|
|
option go_package = "spdk.io/sma/nvmf_tcp";
|
|
|
|
// Create device NVMe/TCP-specific parameters
|
|
message DeviceParameters {
|
|
// Subsystem NQN
|
|
string subnqn = 1;
|
|
// Address family ("ipv4", "ipv6")
|
|
string adrfam = 2;
|
|
// Transport address
|
|
string traddr = 3;
|
|
// Transport service ID (port number)
|
|
string trsvcid = 4;
|
|
// Allow any host to connect
|
|
bool allow_any_host = 5;
|
|
// List of host NQNs that are allowed to connect to the subsystem (if
|
|
// allow_any_host is false)
|
|
repeated string hosts = 6;
|
|
}
|