VOL-1494: Add missing field for ofp_stats
Copied over from voltha 1.x protos. Needed
by ofagent
Change-Id: I43ad2c918f309f7d1c5d1f5996154bf2f13df578
diff --git a/go/voltha/logical_device.pb.go b/go/voltha/logical_device.pb.go
index 0008876..088d55c 100644
--- a/go/voltha/logical_device.pb.go
+++ b/go/voltha/logical_device.pb.go
@@ -35,7 +35,7 @@
func (m *LogicalPortId) String() string { return proto.CompactTextString(m) }
func (*LogicalPortId) ProtoMessage() {}
func (*LogicalPortId) Descriptor() ([]byte, []int) {
- return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{0}
+ return fileDescriptor_logical_device_eab9968d916b9ed2, []int{0}
}
func (m *LogicalPortId) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogicalPortId.Unmarshal(m, b)
@@ -70,21 +70,22 @@
}
type LogicalPort struct {
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- OfpPort *openflow_13.OfpPort `protobuf:"bytes,2,opt,name=ofp_port,json=ofpPort,proto3" json:"ofp_port,omitempty"`
- DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
- DevicePortNo uint32 `protobuf:"varint,4,opt,name=device_port_no,json=devicePortNo,proto3" json:"device_port_no,omitempty"`
- RootPort bool `protobuf:"varint,5,opt,name=root_port,json=rootPort,proto3" json:"root_port,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
+ OfpPort *openflow_13.OfpPort `protobuf:"bytes,2,opt,name=ofp_port,json=ofpPort,proto3" json:"ofp_port,omitempty"`
+ DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
+ DevicePortNo uint32 `protobuf:"varint,4,opt,name=device_port_no,json=devicePortNo,proto3" json:"device_port_no,omitempty"`
+ RootPort bool `protobuf:"varint,5,opt,name=root_port,json=rootPort,proto3" json:"root_port,omitempty"`
+ OfpPortStats *openflow_13.OfpPortStats `protobuf:"bytes,6,opt,name=ofp_port_stats,json=ofpPortStats,proto3" json:"ofp_port_stats,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *LogicalPort) Reset() { *m = LogicalPort{} }
func (m *LogicalPort) String() string { return proto.CompactTextString(m) }
func (*LogicalPort) ProtoMessage() {}
func (*LogicalPort) Descriptor() ([]byte, []int) {
- return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{1}
+ return fileDescriptor_logical_device_eab9968d916b9ed2, []int{1}
}
func (m *LogicalPort) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogicalPort.Unmarshal(m, b)
@@ -139,6 +140,13 @@
return false
}
+func (m *LogicalPort) GetOfpPortStats() *openflow_13.OfpPortStats {
+ if m != nil {
+ return m.OfpPortStats
+ }
+ return nil
+}
+
type LogicalPorts struct {
Items []*LogicalPort `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@@ -150,7 +158,7 @@
func (m *LogicalPorts) String() string { return proto.CompactTextString(m) }
func (*LogicalPorts) ProtoMessage() {}
func (*LogicalPorts) Descriptor() ([]byte, []int) {
- return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{2}
+ return fileDescriptor_logical_device_eab9968d916b9ed2, []int{2}
}
func (m *LogicalPorts) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogicalPorts.Unmarshal(m, b)
@@ -203,7 +211,7 @@
func (m *LogicalDevice) String() string { return proto.CompactTextString(m) }
func (*LogicalDevice) ProtoMessage() {}
func (*LogicalDevice) Descriptor() ([]byte, []int) {
- return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{3}
+ return fileDescriptor_logical_device_eab9968d916b9ed2, []int{3}
}
func (m *LogicalDevice) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogicalDevice.Unmarshal(m, b)
@@ -290,7 +298,7 @@
func (m *LogicalDevices) String() string { return proto.CompactTextString(m) }
func (*LogicalDevices) ProtoMessage() {}
func (*LogicalDevices) Descriptor() ([]byte, []int) {
- return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{4}
+ return fileDescriptor_logical_device_eab9968d916b9ed2, []int{4}
}
func (m *LogicalDevices) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_LogicalDevices.Unmarshal(m, b)
@@ -326,40 +334,41 @@
}
func init() {
- proto.RegisterFile("voltha_protos/logical_device.proto", fileDescriptor_logical_device_33972ea6b3a0b7e8)
+ proto.RegisterFile("voltha_protos/logical_device.proto", fileDescriptor_logical_device_eab9968d916b9ed2)
}
-var fileDescriptor_logical_device_33972ea6b3a0b7e8 = []byte{
- // 488 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0x4f, 0x6b, 0xd4, 0x40,
- 0x14, 0x37, 0xdd, 0xcd, 0x76, 0xf7, 0x65, 0xbb, 0xc2, 0x48, 0x69, 0xa8, 0x4a, 0x43, 0xf0, 0xb0,
- 0xa5, 0x34, 0x5b, 0xb7, 0x08, 0x7a, 0x10, 0x64, 0x29, 0x95, 0x05, 0x11, 0x99, 0xa3, 0x97, 0x30,
- 0xcd, 0x24, 0xd9, 0x81, 0x6c, 0x5e, 0xc8, 0xcc, 0xb6, 0x57, 0xf5, 0xe2, 0xc7, 0xf1, 0x93, 0xf8,
- 0x25, 0xfc, 0x10, 0x9e, 0x65, 0x66, 0x92, 0xba, 0xe9, 0xea, 0x31, 0xbf, 0x3f, 0xef, 0xfd, 0xde,
- 0x6f, 0x08, 0x84, 0xb7, 0x58, 0xa8, 0x15, 0x8b, 0xab, 0x1a, 0x15, 0xca, 0x59, 0x81, 0xb9, 0x48,
- 0x58, 0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, 0x82, 0x35, 0x9f, 0x59, 0xcb,
- 0x79, 0xf3, 0x9b, 0xe4, 0xd8, 0x00, 0x37, 0x03, 0x83, 0x5c, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff,
- 0xe6, 0x88, 0x38, 0xe0, 0xac, 0x03, 0x00, 0x00,
+var fileDescriptor_logical_device_eab9968d916b9ed2 = []byte{
+ // 512 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0x4f, 0x6b, 0x13, 0x41,
+ 0x14, 0x77, 0x9b, 0x6c, 0x9a, 0xbc, 0x4d, 0x23, 0x8c, 0x94, 0x2e, 0xad, 0xd2, 0xb0, 0x78, 0x48,
+ 0x29, 0x4d, 0x6a, 0x8a, 0xa0, 0x07, 0x41, 0x43, 0xa9, 0x04, 0x44, 0x64, 0xbc, 0x79, 0x59, 0xa6,
+ 0x3b, 0x9b, 0xcd, 0x40, 0x92, 0xb7, 0xec, 0x4c, 0xda, 0xab, 0x7a, 0xf1, 0xd3, 0xf9, 0x25, 0xfc,
+ 0x08, 0x1e, 0x3c, 0xcb, 0xbc, 0xd9, 0xad, 0xd9, 0xa6, 0x1e, 0xf7, 0xf7, 0xe7, 0xbd, 0xdf, 0xfc,
+ 0x1e, 0x0b, 0xd1, 0x0d, 0x2e, 0xcc, 0x5c, 0xc4, 0x79, 0x81, 0x06, 0xf5, 0x68, 0x81, 0x99, 0x4a,
+ 0xc4, 0x22, 0x96, 0xe9, 0x8d, 0x4a, 0xd2, 0x21, 0xa1, 0xac, 0xe5, 0x34, 0x87, 0x4f, 0x33, 0xc4,
+ 0x6c, 0x91, 0x8e, 0x44, 0xae, 0x46, 0x62, 0xb5, 0x42, 0x23, 0x8c, 0xc2, 0x95, 0x76, 0xaa, 0xc3,
+ 0xb0, 0x3e, 0x69, 0x99, 0x1a, 0x51, 0x32, 0xc7, 0x75, 0x06, 0xf3, 0x74, 0x35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