blob: 0008876217b2d530ba9d2d27cd36395166adf46e [file] [log] [blame]
William Kurkian1b363f42019-03-12 15:28:12 -04001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: voltha_protos/logical_device.proto
3
4package voltha // import "github.com/opencord/voltha-protos/go/voltha"
5
6import proto "github.com/golang/protobuf/proto"
7import fmt "fmt"
8import math "math"
9import _ "github.com/opencord/voltha-protos/go/common"
10import openflow_13 "github.com/opencord/voltha-protos/go/openflow_13"
11import _ "google.golang.org/genproto/googleapis/api/annotations"
12
13// Reference imports to suppress errors if they are not otherwise used.
14var _ = proto.Marshal
15var _ = fmt.Errorf
16var _ = math.Inf
17
18// This is a compile-time assertion to ensure that this generated file
19// is compatible with the proto package it is being compiled against.
20// A compilation error at this line likely means your copy of the
21// proto package needs to be updated.
22const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
23
24type LogicalPortId struct {
25 // unique id of logical device
26 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
27 // id of the port on the logical device
28 PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`
29 XXX_NoUnkeyedLiteral struct{} `json:"-"`
30 XXX_unrecognized []byte `json:"-"`
31 XXX_sizecache int32 `json:"-"`
32}
33
34func (m *LogicalPortId) Reset() { *m = LogicalPortId{} }
35func (m *LogicalPortId) String() string { return proto.CompactTextString(m) }
36func (*LogicalPortId) ProtoMessage() {}
37func (*LogicalPortId) Descriptor() ([]byte, []int) {
38 return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{0}
39}
40func (m *LogicalPortId) XXX_Unmarshal(b []byte) error {
41 return xxx_messageInfo_LogicalPortId.Unmarshal(m, b)
42}
43func (m *LogicalPortId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
44 return xxx_messageInfo_LogicalPortId.Marshal(b, m, deterministic)
45}
46func (dst *LogicalPortId) XXX_Merge(src proto.Message) {
47 xxx_messageInfo_LogicalPortId.Merge(dst, src)
48}
49func (m *LogicalPortId) XXX_Size() int {
50 return xxx_messageInfo_LogicalPortId.Size(m)
51}
52func (m *LogicalPortId) XXX_DiscardUnknown() {
53 xxx_messageInfo_LogicalPortId.DiscardUnknown(m)
54}
55
56var xxx_messageInfo_LogicalPortId proto.InternalMessageInfo
57
58func (m *LogicalPortId) GetId() string {
59 if m != nil {
60 return m.Id
61 }
62 return ""
63}
64
65func (m *LogicalPortId) GetPortId() string {
66 if m != nil {
67 return m.PortId
68 }
69 return ""
70}
71
72type LogicalPort struct {
73 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
74 OfpPort *openflow_13.OfpPort `protobuf:"bytes,2,opt,name=ofp_port,json=ofpPort,proto3" json:"ofp_port,omitempty"`
75 DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
76 DevicePortNo uint32 `protobuf:"varint,4,opt,name=device_port_no,json=devicePortNo,proto3" json:"device_port_no,omitempty"`
77 RootPort bool `protobuf:"varint,5,opt,name=root_port,json=rootPort,proto3" json:"root_port,omitempty"`
78 XXX_NoUnkeyedLiteral struct{} `json:"-"`
79 XXX_unrecognized []byte `json:"-"`
80 XXX_sizecache int32 `json:"-"`
81}
82
83func (m *LogicalPort) Reset() { *m = LogicalPort{} }
84func (m *LogicalPort) String() string { return proto.CompactTextString(m) }
85func (*LogicalPort) ProtoMessage() {}
86func (*LogicalPort) Descriptor() ([]byte, []int) {
87 return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{1}
88}
89func (m *LogicalPort) XXX_Unmarshal(b []byte) error {
90 return xxx_messageInfo_LogicalPort.Unmarshal(m, b)
91}
92func (m *LogicalPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
93 return xxx_messageInfo_LogicalPort.Marshal(b, m, deterministic)
94}
95func (dst *LogicalPort) XXX_Merge(src proto.Message) {
96 xxx_messageInfo_LogicalPort.Merge(dst, src)
97}
98func (m *LogicalPort) XXX_Size() int {
99 return xxx_messageInfo_LogicalPort.Size(m)
100}
101func (m *LogicalPort) XXX_DiscardUnknown() {
102 xxx_messageInfo_LogicalPort.DiscardUnknown(m)
103}
104
105var xxx_messageInfo_LogicalPort proto.InternalMessageInfo
106
107func (m *LogicalPort) GetId() string {
108 if m != nil {
109 return m.Id
110 }
111 return ""
112}
113
114func (m *LogicalPort) GetOfpPort() *openflow_13.OfpPort {
115 if m != nil {
116 return m.OfpPort
117 }
118 return nil
119}
120
121func (m *LogicalPort) GetDeviceId() string {
122 if m != nil {
123 return m.DeviceId
124 }
125 return ""
126}
127
128func (m *LogicalPort) GetDevicePortNo() uint32 {
129 if m != nil {
130 return m.DevicePortNo
131 }
132 return 0
133}
134
135func (m *LogicalPort) GetRootPort() bool {
136 if m != nil {
137 return m.RootPort
138 }
139 return false
140}
141
142type LogicalPorts struct {
143 Items []*LogicalPort `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
144 XXX_NoUnkeyedLiteral struct{} `json:"-"`
145 XXX_unrecognized []byte `json:"-"`
146 XXX_sizecache int32 `json:"-"`
147}
148
149func (m *LogicalPorts) Reset() { *m = LogicalPorts{} }
150func (m *LogicalPorts) String() string { return proto.CompactTextString(m) }
151func (*LogicalPorts) ProtoMessage() {}
152func (*LogicalPorts) Descriptor() ([]byte, []int) {
153 return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{2}
154}
155func (m *LogicalPorts) XXX_Unmarshal(b []byte) error {
156 return xxx_messageInfo_LogicalPorts.Unmarshal(m, b)
157}
158func (m *LogicalPorts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
159 return xxx_messageInfo_LogicalPorts.Marshal(b, m, deterministic)
160}
161func (dst *LogicalPorts) XXX_Merge(src proto.Message) {
162 xxx_messageInfo_LogicalPorts.Merge(dst, src)
163}
164func (m *LogicalPorts) XXX_Size() int {
165 return xxx_messageInfo_LogicalPorts.Size(m)
166}
167func (m *LogicalPorts) XXX_DiscardUnknown() {
168 xxx_messageInfo_LogicalPorts.DiscardUnknown(m)
169}
170
171var xxx_messageInfo_LogicalPorts proto.InternalMessageInfo
172
173func (m *LogicalPorts) GetItems() []*LogicalPort {
174 if m != nil {
175 return m.Items
176 }
177 return nil
178}
179
180type LogicalDevice struct {
181 // unique id of logical device
182 Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
183 // unique datapath id for the logical device (used by the SDN controller)
184 DatapathId uint64 `protobuf:"varint,2,opt,name=datapath_id,json=datapathId,proto3" json:"datapath_id,omitempty"`
185 // device description
186 Desc *openflow_13.OfpDesc `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
187 // device features
188 SwitchFeatures *openflow_13.OfpSwitchFeatures `protobuf:"bytes,4,opt,name=switch_features,json=switchFeatures,proto3" json:"switch_features,omitempty"`
189 // name of the root device anchoring logical device
190 RootDeviceId string `protobuf:"bytes,5,opt,name=root_device_id,json=rootDeviceId,proto3" json:"root_device_id,omitempty"`
191 // logical device ports
192 Ports []*LogicalPort `protobuf:"bytes,128,rep,name=ports,proto3" json:"ports,omitempty"`
193 // flows configured on the logical device
194 Flows *openflow_13.Flows `protobuf:"bytes,129,opt,name=flows,proto3" json:"flows,omitempty"`
195 // flow groups configured on the logical device
196 FlowGroups *openflow_13.FlowGroups `protobuf:"bytes,130,opt,name=flow_groups,json=flowGroups,proto3" json:"flow_groups,omitempty"`
197 XXX_NoUnkeyedLiteral struct{} `json:"-"`
198 XXX_unrecognized []byte `json:"-"`
199 XXX_sizecache int32 `json:"-"`
200}
201
202func (m *LogicalDevice) Reset() { *m = LogicalDevice{} }
203func (m *LogicalDevice) String() string { return proto.CompactTextString(m) }
204func (*LogicalDevice) ProtoMessage() {}
205func (*LogicalDevice) Descriptor() ([]byte, []int) {
206 return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{3}
207}
208func (m *LogicalDevice) XXX_Unmarshal(b []byte) error {
209 return xxx_messageInfo_LogicalDevice.Unmarshal(m, b)
210}
211func (m *LogicalDevice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
212 return xxx_messageInfo_LogicalDevice.Marshal(b, m, deterministic)
213}
214func (dst *LogicalDevice) XXX_Merge(src proto.Message) {
215 xxx_messageInfo_LogicalDevice.Merge(dst, src)
216}
217func (m *LogicalDevice) XXX_Size() int {
218 return xxx_messageInfo_LogicalDevice.Size(m)
219}
220func (m *LogicalDevice) XXX_DiscardUnknown() {
221 xxx_messageInfo_LogicalDevice.DiscardUnknown(m)
222}
223
224var xxx_messageInfo_LogicalDevice proto.InternalMessageInfo
225
226func (m *LogicalDevice) GetId() string {
227 if m != nil {
228 return m.Id
229 }
230 return ""
231}
232
233func (m *LogicalDevice) GetDatapathId() uint64 {
234 if m != nil {
235 return m.DatapathId
236 }
237 return 0
238}
239
240func (m *LogicalDevice) GetDesc() *openflow_13.OfpDesc {
241 if m != nil {
242 return m.Desc
243 }
244 return nil
245}
246
247func (m *LogicalDevice) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures {
248 if m != nil {
249 return m.SwitchFeatures
250 }
251 return nil
252}
253
254func (m *LogicalDevice) GetRootDeviceId() string {
255 if m != nil {
256 return m.RootDeviceId
257 }
258 return ""
259}
260
261func (m *LogicalDevice) GetPorts() []*LogicalPort {
262 if m != nil {
263 return m.Ports
264 }
265 return nil
266}
267
268func (m *LogicalDevice) GetFlows() *openflow_13.Flows {
269 if m != nil {
270 return m.Flows
271 }
272 return nil
273}
274
275func (m *LogicalDevice) GetFlowGroups() *openflow_13.FlowGroups {
276 if m != nil {
277 return m.FlowGroups
278 }
279 return nil
280}
281
282type LogicalDevices struct {
283 Items []*LogicalDevice `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
284 XXX_NoUnkeyedLiteral struct{} `json:"-"`
285 XXX_unrecognized []byte `json:"-"`
286 XXX_sizecache int32 `json:"-"`
287}
288
289func (m *LogicalDevices) Reset() { *m = LogicalDevices{} }
290func (m *LogicalDevices) String() string { return proto.CompactTextString(m) }
291func (*LogicalDevices) ProtoMessage() {}
292func (*LogicalDevices) Descriptor() ([]byte, []int) {
293 return fileDescriptor_logical_device_33972ea6b3a0b7e8, []int{4}
294}
295func (m *LogicalDevices) XXX_Unmarshal(b []byte) error {
296 return xxx_messageInfo_LogicalDevices.Unmarshal(m, b)
297}
298func (m *LogicalDevices) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
299 return xxx_messageInfo_LogicalDevices.Marshal(b, m, deterministic)
300}
301func (dst *LogicalDevices) XXX_Merge(src proto.Message) {
302 xxx_messageInfo_LogicalDevices.Merge(dst, src)
303}
304func (m *LogicalDevices) XXX_Size() int {
305 return xxx_messageInfo_LogicalDevices.Size(m)
306}
307func (m *LogicalDevices) XXX_DiscardUnknown() {
308 xxx_messageInfo_LogicalDevices.DiscardUnknown(m)
309}
310
311var xxx_messageInfo_LogicalDevices proto.InternalMessageInfo
312
313func (m *LogicalDevices) GetItems() []*LogicalDevice {
314 if m != nil {
315 return m.Items
316 }
317 return nil
318}
319
320func init() {
321 proto.RegisterType((*LogicalPortId)(nil), "voltha.LogicalPortId")
322 proto.RegisterType((*LogicalPort)(nil), "voltha.LogicalPort")
323 proto.RegisterType((*LogicalPorts)(nil), "voltha.LogicalPorts")
324 proto.RegisterType((*LogicalDevice)(nil), "voltha.LogicalDevice")
325 proto.RegisterType((*LogicalDevices)(nil), "voltha.LogicalDevices")
326}
327
328func init() {
329 proto.RegisterFile("voltha_protos/logical_device.proto", fileDescriptor_logical_device_33972ea6b3a0b7e8)
330}
331
332var fileDescriptor_logical_device_33972ea6b3a0b7e8 = []byte{
333 // 488 bytes of a gzipped FileDescriptorProto
334 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x53, 0x4f, 0x6b, 0xd4, 0x40,
335 0x14, 0x37, 0xdd, 0xcd, 0x76, 0xf7, 0x65, 0xbb, 0xc2, 0x48, 0x69, 0xa8, 0x4a, 0x43, 0xf0, 0xb0,
336 0xa5, 0x34, 0x5b, 0xb7, 0x08, 0x7a, 0x10, 0x64, 0x29, 0x95, 0x05, 0x11, 0x99, 0xa3, 0x97, 0x30,
337 0xcd, 0x24, 0xd9, 0x81, 0x6c, 0x5e, 0xc8, 0xcc, 0xb6, 0x57, 0xf5, 0xe2, 0xc7, 0xf1, 0x93, 0xf8,
338 0x25, 0xfc, 0x10, 0x9e, 0x65, 0x66, 0x92, 0xba, 0xe9, 0xea, 0x31, 0xbf, 0x3f, 0xef, 0xfd, 0xde,
339 0x6f, 0x08, 0x84, 0xb7, 0x58, 0xa8, 0x15, 0x8b, 0xab, 0x1a, 0x15, 0xca, 0x59, 0x81, 0xb9, 0x48,
340 0x58, 0x11, 0xf3, 0xf4, 0x56, 0x24, 0x69, 0x64, 0x50, 0x32, 0xb0, 0x9a, 0xe3, 0x67, 0x39, 0x62,
341 0x5e, 0xa4, 0x33, 0x56, 0x89, 0x19, 0x2b, 0x4b, 0x54, 0x4c, 0x09, 0x2c, 0xa5, 0x55, 0x1d, 0xfb,
342 0xdd, 0x49, 0xeb, 0x54, 0xb1, 0x86, 0x39, 0xe9, 0x32, 0x58, 0xa5, 0x65, 0x56, 0xe0, 0x5d, 0xfc,
343 0xf2, 0xd2, 0x0a, 0xc2, 0xd7, 0x70, 0xf0, 0xc1, 0x2e, 0xfe, 0x84, 0xb5, 0x5a, 0x72, 0x32, 0x81,
344 0x3d, 0xc1, 0x7d, 0x27, 0x70, 0xa6, 0x23, 0xba, 0x27, 0x38, 0x39, 0x82, 0xfd, 0x0a, 0x6b, 0x15,
345 0x0b, 0xee, 0xef, 0x19, 0x70, 0x50, 0x19, 0x61, 0xf8, 0xc3, 0x01, 0x6f, 0xcb, 0xba, 0x63, 0xbc,
346 0x80, 0x21, 0x66, 0x55, 0xac, 0xd5, 0xc6, 0xe9, 0xcd, 0x0f, 0xa3, 0xed, 0xfd, 0x2d, 0x49, 0xf7,
347 0x31, 0xab, 0xcc, 0x84, 0xa7, 0x30, 0xb2, 0xc7, 0xeb, 0x65, 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0xa6, 0x16,
359 0xae, 0x76, 0x3d, 0xa2, 0x56, 0x48, 0xde, 0x81, 0x67, 0xe8, 0xbc, 0xc6, 0x4d, 0x25, 0xfd, 0x6f,
360 0xd6, 0x77, 0xb4, 0xe3, 0x7b, 0x6f, 0xf8, 0xd6, 0x0c, 0xd9, 0x3d, 0x14, 0xbe, 0x85, 0x49, 0xe7,
361 0x21, 0x24, 0x39, 0xeb, 0x3e, 0xe3, 0xe1, 0x83, 0xec, 0x56, 0xd6, 0x3c, 0xe4, 0xe2, 0xfc, 0xf3,
362 0x59, 0x2e, 0xd4, 0x6a, 0x73, 0x13, 0x25, 0xb8, 0x36, 0xff, 0x43, 0x82, 0x35, 0x9f, 0x59, 0xcb,
363 0x79, 0xf3, 0x9b, 0xe4, 0xd8, 0x00, 0x37, 0x03, 0x83, 0x5c, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff,
364 0xe6, 0x88, 0x38, 0xe0, 0xac, 0x03, 0x00, 0x00,
365}