blob: bd0e4c47adde258e31ff4ef8abc57dffb83fb0d2 [file] [log] [blame]
khenaidood948f772021-08-11 17:49:24 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/logical_device.proto
3
4package voltha
5
6import (
7 fmt "fmt"
8 proto "github.com/golang/protobuf/proto"
khenaidood948f772021-08-11 17:49:24 -04009 openflow_13 "github.com/opencord/voltha-protos/v5/go/openflow_13"
10 _ "google.golang.org/genproto/googleapis/api/annotations"
11 math "math"
12)
13
14// Reference imports to suppress errors if they are not otherwise used.
15var _ = proto.Marshal
16var _ = fmt.Errorf
17var _ = math.Inf
18
19// This is a compile-time assertion to ensure that this generated file
20// is compatible with the proto package it is being compiled against.
21// A compilation error at this line likely means your copy of the
22// proto package needs to be updated.
23const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
24
25type LogicalPortId struct {
26 // unique id of logical device
27 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
28 // id of the port on the logical device
29 PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
30 XXX_NoUnkeyedLiteral struct{} `json:"-"`
31 XXX_unrecognized []byte `json:"-"`
32 XXX_sizecache int32 `json:"-"`
33}
34
35func (m *LogicalPortId) Reset() { *m = LogicalPortId{} }
36func (m *LogicalPortId) String() string { return proto.CompactTextString(m) }
37func (*LogicalPortId) ProtoMessage() {}
38func (*LogicalPortId) Descriptor() ([]byte, []int) {
39 return fileDescriptor_caf139ab3abc8240, []int{0}
40}
41
42func (m *LogicalPortId) XXX_Unmarshal(b []byte) error {
43 return xxx_messageInfo_LogicalPortId.Unmarshal(m, b)
44}
45func (m *LogicalPortId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
46 return xxx_messageInfo_LogicalPortId.Marshal(b, m, deterministic)
47}
48func (m *LogicalPortId) XXX_Merge(src proto.Message) {
49 xxx_messageInfo_LogicalPortId.Merge(m, src)
50}
51func (m *LogicalPortId) XXX_Size() int {
52 return xxx_messageInfo_LogicalPortId.Size(m)
53}
54func (m *LogicalPortId) XXX_DiscardUnknown() {
55 xxx_messageInfo_LogicalPortId.DiscardUnknown(m)
56}
57
58var xxx_messageInfo_LogicalPortId proto.InternalMessageInfo
59
60func (m *LogicalPortId) GetId() string {
61 if m != nil {
62 return m.Id
63 }
64 return ""
65}
66
67func (m *LogicalPortId) GetPortId() string {
68 if m != nil {
69 return m.PortId
70 }
71 return ""
72}
73
74type LogicalPort struct {
75 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
76 OfpPort *openflow_13.OfpPort `protobuf:"bytes,2,opt,name=ofp_port,json=ofpPort,proto3" json:"ofp_port,omitempty"`
77 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
78 DevicePortNo uint32 `protobuf:"varint,4,opt,name=device_port_no,json=devicePortNo,proto3" json:"device_port_no,omitempty"`
79 RootPort bool `protobuf:"varint,5,opt,name=root_port,json=rootPort,proto3" json:"root_port,omitempty"`
80 OfpPortStats *openflow_13.OfpPortStats `protobuf:"bytes,6,opt,name=ofp_port_stats,json=ofpPortStats,proto3" json:"ofp_port_stats,omitempty"`
81 XXX_NoUnkeyedLiteral struct{} `json:"-"`
82 XXX_unrecognized []byte `json:"-"`
83 XXX_sizecache int32 `json:"-"`
84}
85
86func (m *LogicalPort) Reset() { *m = LogicalPort{} }
87func (m *LogicalPort) String() string { return proto.CompactTextString(m) }
88func (*LogicalPort) ProtoMessage() {}
89func (*LogicalPort) Descriptor() ([]byte, []int) {
90 return fileDescriptor_caf139ab3abc8240, []int{1}
91}
92
93func (m *LogicalPort) XXX_Unmarshal(b []byte) error {
94 return xxx_messageInfo_LogicalPort.Unmarshal(m, b)
95}
96func (m *LogicalPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
97 return xxx_messageInfo_LogicalPort.Marshal(b, m, deterministic)
98}
99func (m *LogicalPort) XXX_Merge(src proto.Message) {
100 xxx_messageInfo_LogicalPort.Merge(m, src)
101}
102func (m *LogicalPort) XXX_Size() int {
103 return xxx_messageInfo_LogicalPort.Size(m)
104}
105func (m *LogicalPort) XXX_DiscardUnknown() {
106 xxx_messageInfo_LogicalPort.DiscardUnknown(m)
107}
108
109var xxx_messageInfo_LogicalPort proto.InternalMessageInfo
110
111func (m *LogicalPort) GetId() string {
112 if m != nil {
113 return m.Id
114 }
115 return ""
116}
117
118func (m *LogicalPort) GetOfpPort() *openflow_13.OfpPort {
119 if m != nil {
120 return m.OfpPort
121 }
122 return nil
123}
124
125func (m *LogicalPort) GetDeviceId() string {
126 if m != nil {
127 return m.DeviceId
128 }
129 return ""
130}
131
132func (m *LogicalPort) GetDevicePortNo() uint32 {
133 if m != nil {
134 return m.DevicePortNo
135 }
136 return 0
137}
138
139func (m *LogicalPort) GetRootPort() bool {
140 if m != nil {
141 return m.RootPort
142 }
143 return false
144}
145
146func (m *LogicalPort) GetOfpPortStats() *openflow_13.OfpPortStats {
147 if m != nil {
148 return m.OfpPortStats
149 }
150 return nil
151}
152
153type LogicalPorts struct {
154 Items []*LogicalPort `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
155 XXX_NoUnkeyedLiteral struct{} `json:"-"`
156 XXX_unrecognized []byte `json:"-"`
157 XXX_sizecache int32 `json:"-"`
158}
159
160func (m *LogicalPorts) Reset() { *m = LogicalPorts{} }
161func (m *LogicalPorts) String() string { return proto.CompactTextString(m) }
162func (*LogicalPorts) ProtoMessage() {}
163func (*LogicalPorts) Descriptor() ([]byte, []int) {
164 return fileDescriptor_caf139ab3abc8240, []int{2}
165}
166
167func (m *LogicalPorts) XXX_Unmarshal(b []byte) error {
168 return xxx_messageInfo_LogicalPorts.Unmarshal(m, b)
169}
170func (m *LogicalPorts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
171 return xxx_messageInfo_LogicalPorts.Marshal(b, m, deterministic)
172}
173func (m *LogicalPorts) XXX_Merge(src proto.Message) {
174 xxx_messageInfo_LogicalPorts.Merge(m, src)
175}
176func (m *LogicalPorts) XXX_Size() int {
177 return xxx_messageInfo_LogicalPorts.Size(m)
178}
179func (m *LogicalPorts) XXX_DiscardUnknown() {
180 xxx_messageInfo_LogicalPorts.DiscardUnknown(m)
181}
182
183var xxx_messageInfo_LogicalPorts proto.InternalMessageInfo
184
185func (m *LogicalPorts) GetItems() []*LogicalPort {
186 if m != nil {
187 return m.Items
188 }
189 return nil
190}
191
192type LogicalDevice struct {
193 // unique id of logical device
194 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
195 // unique datapath id for the logical device (used by the SDN controller)
196 DatapathId uint64 `protobuf:"varint,2,opt,name=datapath_id,json=datapathId,proto3" json:"datapath_id,omitempty"`
197 // device description
198 Desc *openflow_13.OfpDesc `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
199 // device features
200 SwitchFeatures *openflow_13.OfpSwitchFeatures `protobuf:"bytes,4,opt,name=switch_features,json=switchFeatures,proto3" json:"switch_features,omitempty"`
201 // name of the root device anchoring logical device
202 RootDeviceId string `protobuf:"bytes,5,opt,name=root_device_id,json=rootDeviceId,proto3" json:"root_device_id,omitempty"`
203 XXX_NoUnkeyedLiteral struct{} `json:"-"`
204 XXX_unrecognized []byte `json:"-"`
205 XXX_sizecache int32 `json:"-"`
206}
207
208func (m *LogicalDevice) Reset() { *m = LogicalDevice{} }
209func (m *LogicalDevice) String() string { return proto.CompactTextString(m) }
210func (*LogicalDevice) ProtoMessage() {}
211func (*LogicalDevice) Descriptor() ([]byte, []int) {
212 return fileDescriptor_caf139ab3abc8240, []int{3}
213}
214
215func (m *LogicalDevice) XXX_Unmarshal(b []byte) error {
216 return xxx_messageInfo_LogicalDevice.Unmarshal(m, b)
217}
218func (m *LogicalDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
219 return xxx_messageInfo_LogicalDevice.Marshal(b, m, deterministic)
220}
221func (m *LogicalDevice) XXX_Merge(src proto.Message) {
222 xxx_messageInfo_LogicalDevice.Merge(m, src)
223}
224func (m *LogicalDevice) XXX_Size() int {
225 return xxx_messageInfo_LogicalDevice.Size(m)
226}
227func (m *LogicalDevice) XXX_DiscardUnknown() {
228 xxx_messageInfo_LogicalDevice.DiscardUnknown(m)
229}
230
231var xxx_messageInfo_LogicalDevice proto.InternalMessageInfo
232
233func (m *LogicalDevice) GetId() string {
234 if m != nil {
235 return m.Id
236 }
237 return ""
238}
239
240func (m *LogicalDevice) GetDatapathId() uint64 {
241 if m != nil {
242 return m.DatapathId
243 }
244 return 0
245}
246
247func (m *LogicalDevice) GetDesc() *openflow_13.OfpDesc {
248 if m != nil {
249 return m.Desc
250 }
251 return nil
252}
253
254func (m *LogicalDevice) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures {
255 if m != nil {
256 return m.SwitchFeatures
257 }
258 return nil
259}
260
261func (m *LogicalDevice) GetRootDeviceId() string {
262 if m != nil {
263 return m.RootDeviceId
264 }
265 return ""
266}
267
268type LogicalDevices struct {
269 Items []*LogicalDevice `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
270 XXX_NoUnkeyedLiteral struct{} `json:"-"`
271 XXX_unrecognized []byte `json:"-"`
272 XXX_sizecache int32 `json:"-"`
273}
274
275func (m *LogicalDevices) Reset() { *m = LogicalDevices{} }
276func (m *LogicalDevices) String() string { return proto.CompactTextString(m) }
277func (*LogicalDevices) ProtoMessage() {}
278func (*LogicalDevices) Descriptor() ([]byte, []int) {
279 return fileDescriptor_caf139ab3abc8240, []int{4}
280}
281
282func (m *LogicalDevices) XXX_Unmarshal(b []byte) error {
283 return xxx_messageInfo_LogicalDevices.Unmarshal(m, b)
284}
285func (m *LogicalDevices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
286 return xxx_messageInfo_LogicalDevices.Marshal(b, m, deterministic)
287}
288func (m *LogicalDevices) XXX_Merge(src proto.Message) {
289 xxx_messageInfo_LogicalDevices.Merge(m, src)
290}
291func (m *LogicalDevices) XXX_Size() int {
292 return xxx_messageInfo_LogicalDevices.Size(m)
293}
294func (m *LogicalDevices) XXX_DiscardUnknown() {
295 xxx_messageInfo_LogicalDevices.DiscardUnknown(m)
296}
297
298var xxx_messageInfo_LogicalDevices proto.InternalMessageInfo
299
300func (m *LogicalDevices) GetItems() []*LogicalDevice {
301 if m != nil {
302 return m.Items
303 }
304 return nil
305}
306
307func init() {
khenaidoo9beaaf12021-10-19 17:32:01 -0400308 proto.RegisterType((*LogicalPortId)(nil), "logical_device.LogicalPortId")
309 proto.RegisterType((*LogicalPort)(nil), "logical_device.LogicalPort")
310 proto.RegisterType((*LogicalPorts)(nil), "logical_device.LogicalPorts")
311 proto.RegisterType((*LogicalDevice)(nil), "logical_device.LogicalDevice")
312 proto.RegisterType((*LogicalDevices)(nil), "logical_device.LogicalDevices")
khenaidood948f772021-08-11 17:49:24 -0400313}
314
315func init() {
316 proto.RegisterFile("voltha_protos/logical_device.proto", fileDescriptor_caf139ab3abc8240)
317}
318
319var fileDescriptor_caf139ab3abc8240 = []byte{
khenaidoo9beaaf12021-10-19 17:32:01 -0400320 // 447 bytes of a gzipped FileDescriptorProto
321 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0xd1, 0x6a, 0xdb, 0x30,
322 0x14, 0xc5, 0x69, 0x92, 0xa6, 0x37, 0xa9, 0x0b, 0x86, 0x31, 0xd3, 0x6e, 0xd4, 0x98, 0x3d, 0x64,
323 0x0f, 0xb3, 0xd7, 0x86, 0xc1, 0x5e, 0x5b, 0xba, 0x42, 0x60, 0x6c, 0x43, 0x7b, 0xdb, 0x8b, 0x51,
324 0x2d, 0xc5, 0x11, 0xb8, 0xbe, 0xc6, 0x52, 0xd3, 0x9f, 0xdd, 0x57, 0xec, 0x0b, 0x86, 0xae, 0xec,
325 0x2d, 0x4e, 0xd2, 0x47, 0x1d, 0x9d, 0x73, 0xee, 0xd1, 0xb9, 0x36, 0xc4, 0x1b, 0x2c, 0xcd, 0x9a,
326 0x67, 0x75, 0x83, 0x06, 0x75, 0x5a, 0x62, 0xa1, 0x72, 0x5e, 0x66, 0x42, 0x6e, 0x54, 0x2e, 0x13,
327 0x42, 0x03, 0xbf, 0x8f, 0x9e, 0xbf, 0x29, 0x10, 0x8b, 0x52, 0xa6, 0xbc, 0x56, 0x29, 0xaf, 0x2a,
328 0x34, 0xdc, 0x28, 0xac, 0xb4, 0x63, 0x9f, 0x5f, 0xf6, 0x1d, 0xb1, 0x96, 0xd5, 0xaa, 0xc4, 0xe7,
329 0xec, 0x6a, 0xe1, 0x08, 0xf1, 0x67, 0x38, 0xfd, 0xea, 0x0c, 0x7f, 0x60, 0x63, 0x96, 0x22, 0xf0,
330 0x61, 0xa0, 0x44, 0xe8, 0x45, 0xde, 0xfc, 0x84, 0x0d, 0x94, 0x08, 0x5e, 0xc3, 0x71, 0x8d, 0x8d,
331 0xc9, 0x94, 0x08, 0x07, 0x04, 0x8e, 0x6b, 0x22, 0xc6, 0x7f, 0x3c, 0x98, 0x6e, 0x49, 0xf7, 0x84,
332 0x1f, 0x61, 0x82, 0xab, 0x3a, 0xb3, 0x6c, 0x52, 0x4e, 0xaf, 0x5f, 0x25, 0xdb, 0xf3, 0xbb, 0x4b,
333 0x76, 0x8c, 0xab, 0x9a, 0x1c, 0x2e, 0xe0, 0xc4, 0x3d, 0xca, 0x0e, 0x3b, 0x22, 0xa3, 0x89, 0x03,
334 0x96, 0x22, 0x78, 0x07, 0x7e, 0x7b, 0x49, 0x71, 0x2a, 0x0c, 0x87, 0x91, 0x37, 0x3f, 0x65, 0x33,
335 0x87, 0x5a, 0x83, 0x6f, 0x68, 0x2d, 0x1a, 0x44, 0xe3, 0xa6, 0x8e, 0x22, 0x6f, 0x3e, 0x61, 0x13,
336 0x0b, 0x90, 0xff, 0x0d, 0xf8, 0xdd, 0xd0, 0x4c, 0x1b, 0x6e, 0x74, 0x38, 0xa6, 0x5c, 0x17, 0x07,
337 0x73, 0x39, 0x0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 0xff, 0xff, 0x7f, 0xd8, 0xd6, 0x61, 0x7a, 0x03, 0x00, 0x00,
khenaidood948f772021-08-11 17:49:24 -0400349}