| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 2 | // versions: |
| 3 | // protoc-gen-go v1.36.11 |
| 4 | // protoc v4.25.8 |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 5 | // source: voltha_protos/logical_device.proto |
| 6 | |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 7 | package voltha |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 8 | |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 9 | import ( |
| khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 10 | openflow_13 "github.com/opencord/voltha-protos/v5/go/openflow_13" |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 11 | _ "google.golang.org/genproto/googleapis/api/annotations" |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 12 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 | reflect "reflect" |
| 15 | sync "sync" |
| 16 | unsafe "unsafe" |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 17 | ) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 18 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 19 | const ( |
| 20 | // Verify that this generated code is sufficiently up-to-date. |
| 21 | _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 22 | // Verify that runtime/protoimpl is sufficiently up-to-date. |
| 23 | _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 24 | ) |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 25 | |
| 26 | type LogicalPortId struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 27 | state protoimpl.MessageState `protogen:"open.v1"` |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 28 | // unique id of logical device |
| 29 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 30 | // id of the port on the logical device |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 31 | PortId string `protobuf:"bytes,2,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` |
| 32 | unknownFields protoimpl.UnknownFields |
| 33 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 34 | } |
| 35 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 36 | func (x *LogicalPortId) Reset() { |
| 37 | *x = LogicalPortId{} |
| 38 | mi := &file_voltha_protos_logical_device_proto_msgTypes[0] |
| 39 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 40 | ms.StoreMessageInfo(mi) |
| 41 | } |
| 42 | |
| 43 | func (x *LogicalPortId) String() string { |
| 44 | return protoimpl.X.MessageStringOf(x) |
| 45 | } |
| 46 | |
| 47 | func (*LogicalPortId) ProtoMessage() {} |
| 48 | |
| 49 | func (x *LogicalPortId) ProtoReflect() protoreflect.Message { |
| 50 | mi := &file_voltha_protos_logical_device_proto_msgTypes[0] |
| 51 | if x != nil { |
| 52 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 53 | if ms.LoadMessageInfo() == nil { |
| 54 | ms.StoreMessageInfo(mi) |
| 55 | } |
| 56 | return ms |
| 57 | } |
| 58 | return mi.MessageOf(x) |
| 59 | } |
| 60 | |
| 61 | // Deprecated: Use LogicalPortId.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 62 | func (*LogicalPortId) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 63 | return file_voltha_protos_logical_device_proto_rawDescGZIP(), []int{0} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 64 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 65 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 66 | func (x *LogicalPortId) GetId() string { |
| 67 | if x != nil { |
| 68 | return x.Id |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 69 | } |
| 70 | return "" |
| 71 | } |
| 72 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 73 | func (x *LogicalPortId) GetPortId() string { |
| 74 | if x != nil { |
| 75 | return x.PortId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 76 | } |
| 77 | return "" |
| 78 | } |
| 79 | |
| 80 | type LogicalPort struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 81 | state protoimpl.MessageState `protogen:"open.v1"` |
| 82 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 83 | OfpPort *openflow_13.OfpPort `protobuf:"bytes,2,opt,name=ofp_port,json=ofpPort,proto3" json:"ofp_port,omitempty"` |
| 84 | DeviceId string `protobuf:"bytes,3,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` |
| 85 | DevicePortNo uint32 `protobuf:"varint,4,opt,name=device_port_no,json=devicePortNo,proto3" json:"device_port_no,omitempty"` |
| 86 | RootPort bool `protobuf:"varint,5,opt,name=root_port,json=rootPort,proto3" json:"root_port,omitempty"` |
| 87 | OfpPortStats *openflow_13.OfpPortStats `protobuf:"bytes,6,opt,name=ofp_port_stats,json=ofpPortStats,proto3" json:"ofp_port_stats,omitempty"` |
| 88 | unknownFields protoimpl.UnknownFields |
| 89 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 90 | } |
| 91 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 92 | func (x *LogicalPort) Reset() { |
| 93 | *x = LogicalPort{} |
| 94 | mi := &file_voltha_protos_logical_device_proto_msgTypes[1] |
| 95 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 96 | ms.StoreMessageInfo(mi) |
| 97 | } |
| 98 | |
| 99 | func (x *LogicalPort) String() string { |
| 100 | return protoimpl.X.MessageStringOf(x) |
| 101 | } |
| 102 | |
| 103 | func (*LogicalPort) ProtoMessage() {} |
| 104 | |
| 105 | func (x *LogicalPort) ProtoReflect() protoreflect.Message { |
| 106 | mi := &file_voltha_protos_logical_device_proto_msgTypes[1] |
| 107 | if x != nil { |
| 108 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 109 | if ms.LoadMessageInfo() == nil { |
| 110 | ms.StoreMessageInfo(mi) |
| 111 | } |
| 112 | return ms |
| 113 | } |
| 114 | return mi.MessageOf(x) |
| 115 | } |
| 116 | |
| 117 | // Deprecated: Use LogicalPort.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 118 | func (*LogicalPort) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 119 | return file_voltha_protos_logical_device_proto_rawDescGZIP(), []int{1} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 120 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 121 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 122 | func (x *LogicalPort) GetId() string { |
| 123 | if x != nil { |
| 124 | return x.Id |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 125 | } |
| 126 | return "" |
| 127 | } |
| 128 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 129 | func (x *LogicalPort) GetOfpPort() *openflow_13.OfpPort { |
| 130 | if x != nil { |
| 131 | return x.OfpPort |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 132 | } |
| 133 | return nil |
| 134 | } |
| 135 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 136 | func (x *LogicalPort) GetDeviceId() string { |
| 137 | if x != nil { |
| 138 | return x.DeviceId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 139 | } |
| 140 | return "" |
| 141 | } |
| 142 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 143 | func (x *LogicalPort) GetDevicePortNo() uint32 { |
| 144 | if x != nil { |
| 145 | return x.DevicePortNo |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 146 | } |
| 147 | return 0 |
| 148 | } |
| 149 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 150 | func (x *LogicalPort) GetRootPort() bool { |
| 151 | if x != nil { |
| 152 | return x.RootPort |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 153 | } |
| 154 | return false |
| 155 | } |
| 156 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 157 | func (x *LogicalPort) GetOfpPortStats() *openflow_13.OfpPortStats { |
| 158 | if x != nil { |
| 159 | return x.OfpPortStats |
| Matt Jeanneret | 4604c42 | 2019-03-14 19:04:43 -0400 | [diff] [blame] | 160 | } |
| 161 | return nil |
| 162 | } |
| 163 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 164 | type LogicalPorts struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 165 | state protoimpl.MessageState `protogen:"open.v1"` |
| 166 | Items []*LogicalPort `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 167 | unknownFields protoimpl.UnknownFields |
| 168 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 169 | } |
| 170 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 171 | func (x *LogicalPorts) Reset() { |
| 172 | *x = LogicalPorts{} |
| 173 | mi := &file_voltha_protos_logical_device_proto_msgTypes[2] |
| 174 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 175 | ms.StoreMessageInfo(mi) |
| 176 | } |
| 177 | |
| 178 | func (x *LogicalPorts) String() string { |
| 179 | return protoimpl.X.MessageStringOf(x) |
| 180 | } |
| 181 | |
| 182 | func (*LogicalPorts) ProtoMessage() {} |
| 183 | |
| 184 | func (x *LogicalPorts) ProtoReflect() protoreflect.Message { |
| 185 | mi := &file_voltha_protos_logical_device_proto_msgTypes[2] |
| 186 | if x != nil { |
| 187 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 188 | if ms.LoadMessageInfo() == nil { |
| 189 | ms.StoreMessageInfo(mi) |
| 190 | } |
| 191 | return ms |
| 192 | } |
| 193 | return mi.MessageOf(x) |
| 194 | } |
| 195 | |
| 196 | // Deprecated: Use LogicalPorts.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 197 | func (*LogicalPorts) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 198 | return file_voltha_protos_logical_device_proto_rawDescGZIP(), []int{2} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 199 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 200 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 201 | func (x *LogicalPorts) GetItems() []*LogicalPort { |
| 202 | if x != nil { |
| 203 | return x.Items |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 204 | } |
| 205 | return nil |
| 206 | } |
| 207 | |
| 208 | type LogicalDevice struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 209 | state protoimpl.MessageState `protogen:"open.v1"` |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 210 | // unique id of logical device |
| 211 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 212 | // unique datapath id for the logical device (used by the SDN controller) |
| 213 | DatapathId uint64 `protobuf:"varint,2,opt,name=datapath_id,json=datapathId,proto3" json:"datapath_id,omitempty"` |
| 214 | // device description |
| 215 | Desc *openflow_13.OfpDesc `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"` |
| 216 | // device features |
| 217 | SwitchFeatures *openflow_13.OfpSwitchFeatures `protobuf:"bytes,4,opt,name=switch_features,json=switchFeatures,proto3" json:"switch_features,omitempty"` |
| 218 | // name of the root device anchoring logical device |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 219 | RootDeviceId string `protobuf:"bytes,5,opt,name=root_device_id,json=rootDeviceId,proto3" json:"root_device_id,omitempty"` |
| 220 | unknownFields protoimpl.UnknownFields |
| 221 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 222 | } |
| 223 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 224 | func (x *LogicalDevice) Reset() { |
| 225 | *x = LogicalDevice{} |
| 226 | mi := &file_voltha_protos_logical_device_proto_msgTypes[3] |
| 227 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 228 | ms.StoreMessageInfo(mi) |
| 229 | } |
| 230 | |
| 231 | func (x *LogicalDevice) String() string { |
| 232 | return protoimpl.X.MessageStringOf(x) |
| 233 | } |
| 234 | |
| 235 | func (*LogicalDevice) ProtoMessage() {} |
| 236 | |
| 237 | func (x *LogicalDevice) ProtoReflect() protoreflect.Message { |
| 238 | mi := &file_voltha_protos_logical_device_proto_msgTypes[3] |
| 239 | if x != nil { |
| 240 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 241 | if ms.LoadMessageInfo() == nil { |
| 242 | ms.StoreMessageInfo(mi) |
| 243 | } |
| 244 | return ms |
| 245 | } |
| 246 | return mi.MessageOf(x) |
| 247 | } |
| 248 | |
| 249 | // Deprecated: Use LogicalDevice.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 250 | func (*LogicalDevice) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 251 | return file_voltha_protos_logical_device_proto_rawDescGZIP(), []int{3} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 252 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 253 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 254 | func (x *LogicalDevice) GetId() string { |
| 255 | if x != nil { |
| 256 | return x.Id |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 257 | } |
| 258 | return "" |
| 259 | } |
| 260 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 261 | func (x *LogicalDevice) GetDatapathId() uint64 { |
| 262 | if x != nil { |
| 263 | return x.DatapathId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 264 | } |
| 265 | return 0 |
| 266 | } |
| 267 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 268 | func (x *LogicalDevice) GetDesc() *openflow_13.OfpDesc { |
| 269 | if x != nil { |
| 270 | return x.Desc |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 271 | } |
| 272 | return nil |
| 273 | } |
| 274 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 275 | func (x *LogicalDevice) GetSwitchFeatures() *openflow_13.OfpSwitchFeatures { |
| 276 | if x != nil { |
| 277 | return x.SwitchFeatures |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 278 | } |
| 279 | return nil |
| 280 | } |
| 281 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 282 | func (x *LogicalDevice) GetRootDeviceId() string { |
| 283 | if x != nil { |
| 284 | return x.RootDeviceId |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 285 | } |
| 286 | return "" |
| 287 | } |
| 288 | |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 289 | type LogicalDevices struct { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 290 | state protoimpl.MessageState `protogen:"open.v1"` |
| 291 | Items []*LogicalDevice `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` |
| 292 | unknownFields protoimpl.UnknownFields |
| 293 | sizeCache protoimpl.SizeCache |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 294 | } |
| 295 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 296 | func (x *LogicalDevices) Reset() { |
| 297 | *x = LogicalDevices{} |
| 298 | mi := &file_voltha_protos_logical_device_proto_msgTypes[4] |
| 299 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 300 | ms.StoreMessageInfo(mi) |
| 301 | } |
| 302 | |
| 303 | func (x *LogicalDevices) String() string { |
| 304 | return protoimpl.X.MessageStringOf(x) |
| 305 | } |
| 306 | |
| 307 | func (*LogicalDevices) ProtoMessage() {} |
| 308 | |
| 309 | func (x *LogicalDevices) ProtoReflect() protoreflect.Message { |
| 310 | mi := &file_voltha_protos_logical_device_proto_msgTypes[4] |
| 311 | if x != nil { |
| 312 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 313 | if ms.LoadMessageInfo() == nil { |
| 314 | ms.StoreMessageInfo(mi) |
| 315 | } |
| 316 | return ms |
| 317 | } |
| 318 | return mi.MessageOf(x) |
| 319 | } |
| 320 | |
| 321 | // Deprecated: Use LogicalDevices.ProtoReflect.Descriptor instead. |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 322 | func (*LogicalDevices) Descriptor() ([]byte, []int) { |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 323 | return file_voltha_protos_logical_device_proto_rawDescGZIP(), []int{4} |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 324 | } |
| William Kurkian | ad74565 | 2019-03-20 08:45:51 -0400 | [diff] [blame] | 325 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 326 | func (x *LogicalDevices) GetItems() []*LogicalDevice { |
| 327 | if x != nil { |
| 328 | return x.Items |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 329 | } |
| 330 | return nil |
| 331 | } |
| 332 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 333 | var File_voltha_protos_logical_device_proto protoreflect.FileDescriptor |
| 334 | |
| 335 | const file_voltha_protos_logical_device_proto_rawDesc = "" + |
| 336 | "\n" + |
| 337 | "\"voltha_protos/logical_device.proto\x12\x0elogical_device\x1a\x1cgoogle/api/annotations.proto\x1a\x1fvoltha_protos/openflow_13.proto\"8\n" + |
| 338 | "\rLogicalPortId\x12\x0e\n" + |
| 339 | "\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" + |
| 340 | "\aport_id\x18\x02 \x01(\tR\x06portId\"\xf2\x01\n" + |
| 341 | "\vLogicalPort\x12\x0e\n" + |
| 342 | "\x02id\x18\x01 \x01(\tR\x02id\x120\n" + |
| 343 | "\bofp_port\x18\x02 \x01(\v2\x15.openflow_13.ofp_portR\aofpPort\x12\x1b\n" + |
| 344 | "\tdevice_id\x18\x03 \x01(\tR\bdeviceId\x12$\n" + |
| 345 | "\x0edevice_port_no\x18\x04 \x01(\rR\fdevicePortNo\x12\x1b\n" + |
| 346 | "\troot_port\x18\x05 \x01(\bR\brootPort\x12A\n" + |
| 347 | "\x0eofp_port_stats\x18\x06 \x01(\v2\x1b.openflow_13.ofp_port_statsR\fofpPortStats\"A\n" + |
| 348 | "\fLogicalPorts\x121\n" + |
| 349 | "\x05items\x18\x01 \x03(\v2\x1b.logical_device.LogicalPortR\x05items\"\xdc\x01\n" + |
| 350 | "\rLogicalDevice\x12\x0e\n" + |
| 351 | "\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n" + |
| 352 | "\vdatapath_id\x18\x02 \x01(\x04R\n" + |
| 353 | "datapathId\x12)\n" + |
| 354 | "\x04desc\x18\x03 \x01(\v2\x15.openflow_13.ofp_descR\x04desc\x12I\n" + |
| 355 | "\x0fswitch_features\x18\x04 \x01(\v2 .openflow_13.ofp_switch_featuresR\x0eswitchFeatures\x12$\n" + |
| 356 | "\x0eroot_device_id\x18\x05 \x01(\tR\frootDeviceId\"E\n" + |
| 357 | "\x0eLogicalDevices\x123\n" + |
| 358 | "\x05items\x18\x01 \x03(\v2\x1d.logical_device.LogicalDeviceR\x05itemsBe\n" + |
| 359 | "\"org.opencord.voltha.logical_deviceB\x0fOFLogicalDeviceZ.github.com/opencord/voltha-protos/v5/go/volthab\x06proto3" |
| 360 | |
| 361 | var ( |
| 362 | file_voltha_protos_logical_device_proto_rawDescOnce sync.Once |
| 363 | file_voltha_protos_logical_device_proto_rawDescData []byte |
| 364 | ) |
| 365 | |
| 366 | func file_voltha_protos_logical_device_proto_rawDescGZIP() []byte { |
| 367 | file_voltha_protos_logical_device_proto_rawDescOnce.Do(func() { |
| 368 | file_voltha_protos_logical_device_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_voltha_protos_logical_device_proto_rawDesc), len(file_voltha_protos_logical_device_proto_rawDesc))) |
| 369 | }) |
| 370 | return file_voltha_protos_logical_device_proto_rawDescData |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 371 | } |
| 372 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 373 | var file_voltha_protos_logical_device_proto_msgTypes = make([]protoimpl.MessageInfo, 5) |
| 374 | var file_voltha_protos_logical_device_proto_goTypes = []any{ |
| 375 | (*LogicalPortId)(nil), // 0: logical_device.LogicalPortId |
| 376 | (*LogicalPort)(nil), // 1: logical_device.LogicalPort |
| 377 | (*LogicalPorts)(nil), // 2: logical_device.LogicalPorts |
| 378 | (*LogicalDevice)(nil), // 3: logical_device.LogicalDevice |
| 379 | (*LogicalDevices)(nil), // 4: logical_device.LogicalDevices |
| 380 | (*openflow_13.OfpPort)(nil), // 5: openflow_13.ofp_port |
| 381 | (*openflow_13.OfpPortStats)(nil), // 6: openflow_13.ofp_port_stats |
| 382 | (*openflow_13.OfpDesc)(nil), // 7: openflow_13.ofp_desc |
| 383 | (*openflow_13.OfpSwitchFeatures)(nil), // 8: openflow_13.ofp_switch_features |
| 384 | } |
| 385 | var file_voltha_protos_logical_device_proto_depIdxs = []int32{ |
| 386 | 5, // 0: logical_device.LogicalPort.ofp_port:type_name -> openflow_13.ofp_port |
| 387 | 6, // 1: logical_device.LogicalPort.ofp_port_stats:type_name -> openflow_13.ofp_port_stats |
| 388 | 1, // 2: logical_device.LogicalPorts.items:type_name -> logical_device.LogicalPort |
| 389 | 7, // 3: logical_device.LogicalDevice.desc:type_name -> openflow_13.ofp_desc |
| 390 | 8, // 4: logical_device.LogicalDevice.switch_features:type_name -> openflow_13.ofp_switch_features |
| 391 | 3, // 5: logical_device.LogicalDevices.items:type_name -> logical_device.LogicalDevice |
| 392 | 6, // [6:6] is the sub-list for method output_type |
| 393 | 6, // [6:6] is the sub-list for method input_type |
| 394 | 6, // [6:6] is the sub-list for extension type_name |
| 395 | 6, // [6:6] is the sub-list for extension extendee |
| 396 | 0, // [0:6] is the sub-list for field type_name |
| David K. Bainbridge | c4bf538 | 2021-04-08 16:06:54 +0000 | [diff] [blame] | 397 | } |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 398 | |
| Abhay Kumar | 0371339 | 2025-12-30 05:20:58 +0000 | [diff] [blame^] | 399 | func init() { file_voltha_protos_logical_device_proto_init() } |
| 400 | func file_voltha_protos_logical_device_proto_init() { |
| 401 | if File_voltha_protos_logical_device_proto != nil { |
| 402 | return |
| 403 | } |
| 404 | type x struct{} |
| 405 | out := protoimpl.TypeBuilder{ |
| 406 | File: protoimpl.DescBuilder{ |
| 407 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 408 | RawDescriptor: unsafe.Slice(unsafe.StringData(file_voltha_protos_logical_device_proto_rawDesc), len(file_voltha_protos_logical_device_proto_rawDesc)), |
| 409 | NumEnums: 0, |
| 410 | NumMessages: 5, |
| 411 | NumExtensions: 0, |
| 412 | NumServices: 0, |
| 413 | }, |
| 414 | GoTypes: file_voltha_protos_logical_device_proto_goTypes, |
| 415 | DependencyIndexes: file_voltha_protos_logical_device_proto_depIdxs, |
| 416 | MessageInfos: file_voltha_protos_logical_device_proto_msgTypes, |
| 417 | }.Build() |
| 418 | File_voltha_protos_logical_device_proto = out.File |
| 419 | file_voltha_protos_logical_device_proto_goTypes = nil |
| 420 | file_voltha_protos_logical_device_proto_depIdxs = nil |
| William Kurkian | 1b363f4 | 2019-03-12 15:28:12 -0400 | [diff] [blame] | 421 | } |