Documentation ¶
Overview ¶
Package voltha is a generated protocol buffer package.
It is generated from these files:
adapter.proto
It has these top-level messages:
AdapterConfig Adapter Adapters
Index ¶
- type Adapter
- func (*Adapter) Descriptor() ([]byte, []int)
- func (m *Adapter) GetAdditionalDescription() *google_protobuf.Any
- func (m *Adapter) GetConfig() *AdapterConfig
- func (m *Adapter) GetId() string
- func (m *Adapter) GetLogicalDeviceIds() []string
- func (m *Adapter) GetVendor() string
- func (m *Adapter) GetVersion() string
- func (*Adapter) ProtoMessage()
- func (m *Adapter) Reset()
- func (m *Adapter) String() string
- type AdapterConfig
- type Adapters
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { // Unique name of adapter, matching the python packate name under // voltha/adapters. Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Vendor string `protobuf:"bytes,2,opt,name=vendor" json:"vendor,omitempty"` Version string `protobuf:"bytes,3,opt,name=version" json:"version,omitempty"` // Adapter configuration Config *AdapterConfig `protobuf:"bytes,16,opt,name=config" json:"config,omitempty"` // Custom descriptors and custom configuration AdditionalDescription *google_protobuf.Any `protobuf:"bytes,64,opt,name=additional_description,json=additionalDescription" json:"additional_description,omitempty"` LogicalDeviceIds []string `protobuf:"bytes,4,rep,name=logical_device_ids,json=logicalDeviceIds" json:"logical_device_ids,omitempty"` }
Adapter (software plugin)
func (*Adapter) Descriptor ¶
func (*Adapter) GetAdditionalDescription ¶
func (m *Adapter) GetAdditionalDescription() *google_protobuf.Any
func (*Adapter) GetConfig ¶
func (m *Adapter) GetConfig() *AdapterConfig
func (*Adapter) GetLogicalDeviceIds ¶
func (*Adapter) GetVersion ¶
func (*Adapter) ProtoMessage ¶
func (*Adapter) ProtoMessage()
type AdapterConfig ¶
type AdapterConfig struct { // Common adapter config attributes here LogLevel voltha2.LogLevel_LogLevel `protobuf:"varint,1,opt,name=log_level,json=logLevel,enum=voltha.LogLevel_LogLevel" json:"log_level,omitempty"` // Custom (vendor-specific) configuration attributes AdditionalConfig *google_protobuf.Any `protobuf:"bytes,64,opt,name=additional_config,json=additionalConfig" json:"additional_config,omitempty"` }
func (*AdapterConfig) Descriptor ¶
func (*AdapterConfig) Descriptor() ([]byte, []int)
func (*AdapterConfig) GetAdditionalConfig ¶
func (m *AdapterConfig) GetAdditionalConfig() *google_protobuf.Any
func (*AdapterConfig) GetLogLevel ¶
func (m *AdapterConfig) GetLogLevel() voltha2.LogLevel_LogLevel
func (*AdapterConfig) ProtoMessage ¶
func (*AdapterConfig) ProtoMessage()
func (*AdapterConfig) Reset ¶
func (m *AdapterConfig) Reset()
func (*AdapterConfig) String ¶
func (m *AdapterConfig) String() string
type Adapters ¶
type Adapters struct {
Items []*Adapter `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*Adapters) Descriptor ¶
func (*Adapters) ProtoMessage ¶
func (*Adapters) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.