Documentation ¶
Overview ¶
Package voltha is a generated protocol buffer package.
It is generated from these files:
logical_device.proto
It has these top-level messages:
LogicalPort LogicalPorts LogicalDevice LogicalDevices
Index ¶
- type LogicalDevice
- func (*LogicalDevice) Descriptor() ([]byte, []int)
- func (m *LogicalDevice) GetDatapathId() uint64
- func (m *LogicalDevice) GetDesc() *openflow_13.OfpDesc
- func (m *LogicalDevice) GetFlowGroups() *openflow_13.FlowGroups
- func (m *LogicalDevice) GetFlows() *openflow_13.Flows
- func (m *LogicalDevice) GetId() string
- func (m *LogicalDevice) GetPorts() []*LogicalPort
- func (m *LogicalDevice) GetRootDeviceId() string
- func (m *LogicalDevice) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures
- func (*LogicalDevice) ProtoMessage()
- func (m *LogicalDevice) Reset()
- func (m *LogicalDevice) String() string
- type LogicalDevices
- type LogicalPort
- func (*LogicalPort) Descriptor() ([]byte, []int)
- func (m *LogicalPort) GetDeviceId() string
- func (m *LogicalPort) GetDevicePortNo() uint32
- func (m *LogicalPort) GetId() string
- func (m *LogicalPort) GetOfpPort() *openflow_13.OfpPort
- func (m *LogicalPort) GetRootPort() bool
- func (*LogicalPort) ProtoMessage()
- func (m *LogicalPort) Reset()
- func (m *LogicalPort) String() string
- type LogicalPorts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicalDevice ¶
type LogicalDevice struct { // unique id of logical device Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` // unique datapath id for the logical device (used by the SDN controller) DatapathId uint64 `protobuf:"varint,2,opt,name=datapath_id,json=datapathId" json:"datapath_id,omitempty"` // device description Desc *openflow_13.OfpDesc `protobuf:"bytes,3,opt,name=desc" json:"desc,omitempty"` // device features SwitchFeatures *openflow_13.OfpSwitchFeatures `protobuf:"bytes,4,opt,name=switch_features,json=switchFeatures" json:"switch_features,omitempty"` // name of the root device anchoring logical device RootDeviceId string `protobuf:"bytes,5,opt,name=root_device_id,json=rootDeviceId" json:"root_device_id,omitempty"` // logical device ports Ports []*LogicalPort `protobuf:"bytes,128,rep,name=ports" json:"ports,omitempty"` // flows configured on the logical device Flows *openflow_13.Flows `protobuf:"bytes,129,opt,name=flows" json:"flows,omitempty"` // flow groups configured on the logical device FlowGroups *openflow_13.FlowGroups `protobuf:"bytes,130,opt,name=flow_groups,json=flowGroups" json:"flow_groups,omitempty"` }
func (*LogicalDevice) Descriptor ¶
func (*LogicalDevice) Descriptor() ([]byte, []int)
func (*LogicalDevice) GetDatapathId ¶
func (m *LogicalDevice) GetDatapathId() uint64
func (*LogicalDevice) GetDesc ¶
func (m *LogicalDevice) GetDesc() *openflow_13.OfpDesc
func (*LogicalDevice) GetFlowGroups ¶
func (m *LogicalDevice) GetFlowGroups() *openflow_13.FlowGroups
func (*LogicalDevice) GetFlows ¶
func (m *LogicalDevice) GetFlows() *openflow_13.Flows
func (*LogicalDevice) GetId ¶
func (m *LogicalDevice) GetId() string
func (*LogicalDevice) GetPorts ¶
func (m *LogicalDevice) GetPorts() []*LogicalPort
func (*LogicalDevice) GetRootDeviceId ¶
func (m *LogicalDevice) GetRootDeviceId() string
func (*LogicalDevice) GetSwitchFeatures ¶
func (m *LogicalDevice) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures
func (*LogicalDevice) ProtoMessage ¶
func (*LogicalDevice) ProtoMessage()
func (*LogicalDevice) Reset ¶
func (m *LogicalDevice) Reset()
func (*LogicalDevice) String ¶
func (m *LogicalDevice) String() string
type LogicalDevices ¶
type LogicalDevices struct {
Items []*LogicalDevice `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*LogicalDevices) Descriptor ¶
func (*LogicalDevices) Descriptor() ([]byte, []int)
func (*LogicalDevices) GetItems ¶
func (m *LogicalDevices) GetItems() []*LogicalDevice
func (*LogicalDevices) ProtoMessage ¶
func (*LogicalDevices) ProtoMessage()
func (*LogicalDevices) Reset ¶
func (m *LogicalDevices) Reset()
func (*LogicalDevices) String ¶
func (m *LogicalDevices) String() string
type LogicalPort ¶
type LogicalPort struct { Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` OfpPort *openflow_13.OfpPort `protobuf:"bytes,2,opt,name=ofp_port,json=ofpPort" json:"ofp_port,omitempty"` DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId" json:"device_id,omitempty"` DevicePortNo uint32 `protobuf:"varint,4,opt,name=device_port_no,json=devicePortNo" json:"device_port_no,omitempty"` RootPort bool `protobuf:"varint,5,opt,name=root_port,json=rootPort" json:"root_port,omitempty"` }
func (*LogicalPort) Descriptor ¶
func (*LogicalPort) Descriptor() ([]byte, []int)
func (*LogicalPort) GetDeviceId ¶
func (m *LogicalPort) GetDeviceId() string
func (*LogicalPort) GetDevicePortNo ¶
func (m *LogicalPort) GetDevicePortNo() uint32
func (*LogicalPort) GetId ¶
func (m *LogicalPort) GetId() string
func (*LogicalPort) GetOfpPort ¶
func (m *LogicalPort) GetOfpPort() *openflow_13.OfpPort
func (*LogicalPort) GetRootPort ¶
func (m *LogicalPort) GetRootPort() bool
func (*LogicalPort) ProtoMessage ¶
func (*LogicalPort) ProtoMessage()
func (*LogicalPort) Reset ¶
func (m *LogicalPort) Reset()
func (*LogicalPort) String ¶
func (m *LogicalPort) String() string
type LogicalPorts ¶
type LogicalPorts struct {
Items []*LogicalPort `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}
func (*LogicalPorts) Descriptor ¶
func (*LogicalPorts) Descriptor() ([]byte, []int)
func (*LogicalPorts) GetItems ¶
func (m *LogicalPorts) GetItems() []*LogicalPort
func (*LogicalPorts) ProtoMessage ¶
func (*LogicalPorts) ProtoMessage()
func (*LogicalPorts) Reset ¶
func (m *LogicalPorts) Reset()
func (*LogicalPorts) String ¶
func (m *LogicalPorts) String() string
Click to show internal directories.
Click to hide internal directories.