sma: add golang package definitions
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>
This commit is contained in:
parent
ae60344eb7
commit
e5e43f9615
@ -2,6 +2,8 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package sma.nvme;
|
package sma.nvme;
|
||||||
|
|
||||||
|
option go_package = "spdk.io/sma/nvme";
|
||||||
|
|
||||||
message DeviceParameters {
|
message DeviceParameters {
|
||||||
// Physical function index
|
// Physical function index
|
||||||
uint32 physical_id = 1;
|
uint32 physical_id = 1;
|
||||||
|
@ -2,6 +2,8 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package sma.nvmf_tcp;
|
package sma.nvmf_tcp;
|
||||||
|
|
||||||
|
option go_package = "spdk.io/sma/nvmf_tcp";
|
||||||
|
|
||||||
// Create device NVMe/TCP-specific parameters
|
// Create device NVMe/TCP-specific parameters
|
||||||
message DeviceParameters {
|
message DeviceParameters {
|
||||||
// Subsystem NQN
|
// Subsystem NQN
|
||||||
|
@ -11,6 +11,8 @@ import "nvmf.proto";
|
|||||||
|
|
||||||
package sma;
|
package sma;
|
||||||
|
|
||||||
|
option go_package = "spdk.io/sma";
|
||||||
|
|
||||||
// Parameters describing a volume
|
// Parameters describing a volume
|
||||||
message VolumeParameters {
|
message VolumeParameters {
|
||||||
// Volume GUID/UUID
|
// Volume GUID/UUID
|
||||||
|
@ -2,6 +2,8 @@ syntax = "proto3";
|
|||||||
|
|
||||||
package sma.virtio_blk;
|
package sma.virtio_blk;
|
||||||
|
|
||||||
|
option go_package = "spdk.io/sma/virtio_blk";
|
||||||
|
|
||||||
message DeviceParameters {
|
message DeviceParameters {
|
||||||
// Physical function index
|
// Physical function index
|
||||||
uint32 physical_id = 1;
|
uint32 physical_id = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user