blob: 8c2a0cc924fa9569356ac5c9e2979e3a29633dff [file] [log] [blame]
syntax = "proto3";
option go_package = "github.com/opencord/voltha-protos/v2/go/voltha";
package voltha;
import "google/protobuf/any.proto";
import "voltha_protos/common.proto";
import "voltha_protos/meta.proto";
message AdapterConfig {
// Common adapter config attributes here
common.LogLevel.LogLevel log_level = 1;
// Custom (vendor-specific) configuration attributes
google.protobuf.Any additional_config = 64;
}
// Adapter (software plugin)
message Adapter {
// Unique name of adapter, matching the python package name under
// voltha/adapters.
string id = 1 [(access) = READ_ONLY];
string vendor = 2 [(access) = READ_ONLY];
string version = 3 [(access) = READ_ONLY];
// Adapter configuration
AdapterConfig config = 16;
// Custom descriptors and custom configuration
google.protobuf.Any additional_description = 64 [(access) = READ_ONLY];
repeated string logical_device_ids = 4; // Logical devices "owned"
}
message Adapters {
repeated Adapter items = 1;
}