adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 1 | load("//tools/build/bazel:osgi_java_library.bzl", "osgi_proto_jar") |
| 2 | |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 3 | PROTO_SOURCE_ROOT = "/core/protobuf/models/proto" |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 4 | |
| 5 | osgi_proto_jar( |
Thomas Vachuska | 52f2cd1 | 2018-11-08 21:20:04 -0800 | [diff] [blame] | 6 | name = "onos-core-protobuf-models-proto", |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 7 | proto_libs = [ |
| 8 | ":ApplicationsEnums_proto", |
| 9 | ":ConfigPropertyEnums_proto", |
| 10 | ":ConfigProperty_proto", |
| 11 | ":NodeId_proto", |
| 12 | ":RoleInfo_proto", |
| 13 | ":ApplicationId_proto", |
| 14 | ":ApplicationProto_proto", |
| 15 | ":Version_proto", |
| 16 | ":DeviceDescription_proto", |
| 17 | ":DeviceEnums_proto", |
| 18 | ":DeviceEvent_proto", |
| 19 | ":PortDescription_proto", |
| 20 | ":PortEnums_proto", |
| 21 | ":PortStatistics_proto", |
| 22 | ":Criterion_proto", |
| 23 | ":Instruction_proto", |
| 24 | ":Instructions_proto", |
| 25 | ":FlowEntryEnums_proto", |
| 26 | ":FlowEntry_proto", |
| 27 | ":FlowRuleEnums_proto", |
| 28 | ":FlowRule_proto", |
| 29 | ":TraficSelector_proto", |
| 30 | ":TrafficTreatment_proto", |
| 31 | ":HostDescription_proto", |
| 32 | ":HostEnums_proto", |
| 33 | ":HostEvent_proto", |
| 34 | ":LinkDescription_proto", |
| 35 | ":LinkEnums_proto", |
| 36 | ":LinkEvent_proto", |
| 37 | ":BandEnums_proto", |
| 38 | ":Band_proto", |
| 39 | ":MeterEnums_proto", |
| 40 | ":MeterEvent_proto", |
| 41 | ":Meter_proto", |
| 42 | ":MeterRequest_proto", |
| 43 | ":OutboundPacket_proto", |
| 44 | ":PacketEnums_proto", |
| 45 | ":PacketEvent_proto", |
| 46 | ":PacketProcessorEntry_proto", |
| 47 | ":PacketProcessor_proto", |
| 48 | ":PacketRequest_proto", |
| 49 | ":RegionEnums_proto", |
| 50 | ":ConnectPoint_proto", |
| 51 | ":Device_proto", |
| 52 | ":DisjointPath_proto", |
| 53 | ":HostId_proto", |
| 54 | ":HostLocation_proto", |
| 55 | ":Host_proto", |
| 56 | ":Link_proto", |
| 57 | ":MastershipRole_proto", |
| 58 | ":Path_proto", |
| 59 | ":Port_proto", |
| 60 | ":ProviderId_proto", |
| 61 | ":Region_proto", |
| 62 | ":Permission_proto", |
| 63 | ], |
| 64 | ) |
| 65 | |
| 66 | ### app ### |
| 67 | proto_library( |
| 68 | name = "ApplicationsEnums_proto", |
| 69 | srcs = ["app/ApplicationEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 70 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 71 | ) |
| 72 | |
| 73 | ### cfg ### |
| 74 | proto_library( |
| 75 | name = "ConfigPropertyEnums_proto", |
| 76 | srcs = ["cfg/ConfigPropertyEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 77 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 78 | ) |
| 79 | |
| 80 | proto_library( |
| 81 | name = "ConfigProperty_proto", |
| 82 | srcs = ["cfg/ConfigPropertyProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 83 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 84 | deps = [":ConfigPropertyEnums_proto"], |
| 85 | ) |
| 86 | |
| 87 | ### cluster ### |
| 88 | proto_library( |
| 89 | name = "NodeId_proto", |
| 90 | srcs = ["cluster/NodeIdProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 91 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 92 | ) |
| 93 | |
| 94 | proto_library( |
| 95 | name = "RoleInfo_proto", |
| 96 | srcs = ["cluster/RoleInfoProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 97 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 98 | deps = [":NodeId_proto"], |
| 99 | ) |
| 100 | |
| 101 | ### core ### |
| 102 | |
| 103 | proto_library( |
| 104 | name = "ApplicationId_proto", |
| 105 | srcs = ["core/ApplicationIdProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 106 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 107 | ) |
| 108 | |
| 109 | proto_library( |
| 110 | name = "ApplicationProto_proto", |
| 111 | srcs = ["core/ApplicationProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 112 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 113 | deps = [ |
| 114 | ":ApplicationId_proto", |
| 115 | ":ApplicationsEnums_proto", |
| 116 | ":Permission_proto", |
| 117 | ":Version_proto", |
| 118 | ], |
| 119 | ) |
| 120 | |
| 121 | proto_library( |
| 122 | name = "Version_proto", |
| 123 | srcs = ["core/VersionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 124 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 125 | ) |
| 126 | |
| 127 | ### net ### |
| 128 | |
| 129 | ### device ### |
| 130 | proto_library( |
| 131 | name = "DeviceDescription_proto", |
| 132 | srcs = ["net/device/DeviceDescriptionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 133 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 134 | deps = [":DeviceEnums_proto"], |
| 135 | ) |
| 136 | |
| 137 | proto_library( |
| 138 | name = "DeviceEnums_proto", |
| 139 | srcs = ["net/device/DeviceEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 140 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 141 | ) |
| 142 | |
| 143 | proto_library( |
| 144 | name = "DeviceEvent_proto", |
| 145 | srcs = ["net/device/DeviceEventProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 146 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 147 | deps = [ |
| 148 | ":DeviceEnums_proto", |
| 149 | ":Device_proto", |
| 150 | ":Port_proto", |
| 151 | ], |
| 152 | ) |
| 153 | |
| 154 | proto_library( |
| 155 | name = "PortDescription_proto", |
| 156 | srcs = ["net/device/PortDescriptionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 157 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 158 | deps = [":PortEnums_proto"], |
| 159 | ) |
| 160 | |
| 161 | proto_library( |
| 162 | name = "PortEnums_proto", |
| 163 | srcs = ["net/device/PortEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 164 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 165 | ) |
| 166 | |
| 167 | proto_library( |
| 168 | name = "PortStatistics_proto", |
| 169 | srcs = ["net/device/PortStatisticsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 170 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 171 | ) |
| 172 | |
| 173 | ### flow ### |
| 174 | ## criteria ## |
| 175 | proto_library( |
| 176 | name = "Criterion_proto", |
| 177 | srcs = ["net/flow/criteria/CriterionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 178 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 179 | ) |
| 180 | |
| 181 | ## instrcutions ## |
| 182 | proto_library( |
| 183 | name = "Instruction_proto", |
| 184 | srcs = ["net/flow/instructions/InstructionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 185 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 186 | ) |
| 187 | |
| 188 | proto_library( |
| 189 | name = "Instructions_proto", |
| 190 | srcs = ["net/flow/instructions/InstructionsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 191 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 192 | ) |
| 193 | |
| 194 | proto_library( |
| 195 | name = "FlowEntryEnums_proto", |
| 196 | srcs = ["net/flow/FlowEntryEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 197 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 198 | ) |
| 199 | |
| 200 | proto_library( |
| 201 | name = "FlowEntry_proto", |
| 202 | srcs = ["net/flow/FlowEntryProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 203 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | b603ac2 | 2018-11-26 17:01:04 -0500 | [diff] [blame] | 204 | deps = [":FlowEntryEnums_proto"], |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 205 | ) |
| 206 | |
| 207 | proto_library( |
| 208 | name = "FlowRuleEnums_proto", |
| 209 | srcs = ["net/flow/FlowRuleEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 210 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 211 | ) |
| 212 | |
| 213 | proto_library( |
| 214 | name = "FlowRule_proto", |
| 215 | srcs = ["net/flow/FlowRuleProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 216 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 217 | deps = [ |
| 218 | ":FlowRuleEnums_proto", |
| 219 | ":TrafficTreatment_proto", |
| 220 | ":TraficSelector_proto", |
| 221 | ], |
| 222 | ) |
| 223 | |
| 224 | proto_library( |
| 225 | name = "TraficSelector_proto", |
| 226 | srcs = ["net/flow/TrafficSelectorProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 227 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 228 | deps = [":Criterion_proto"], |
| 229 | ) |
| 230 | |
| 231 | proto_library( |
| 232 | name = "TrafficTreatment_proto", |
| 233 | srcs = ["net/flow/TrafficTreatmentProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 234 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 235 | deps = [ |
adibrastegarnia | b603ac2 | 2018-11-26 17:01:04 -0500 | [diff] [blame] | 236 | ":Instruction_proto", |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 237 | ":Instructions_proto", |
| 238 | ], |
| 239 | ) |
| 240 | |
| 241 | #### host #### |
| 242 | |
| 243 | proto_library( |
| 244 | name = "HostDescription_proto", |
| 245 | srcs = ["net/host/HostDescriptionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 246 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 247 | deps = [":HostLocation_proto"], |
| 248 | ) |
| 249 | |
| 250 | proto_library( |
| 251 | name = "HostEnums_proto", |
| 252 | srcs = ["net/host/HostEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 253 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 254 | ) |
| 255 | |
| 256 | proto_library( |
| 257 | name = "HostEvent_proto", |
| 258 | srcs = ["net/host/HostEventProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 259 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 260 | deps = [ |
| 261 | ":HostEnums_proto", |
| 262 | ":Host_proto", |
| 263 | ], |
| 264 | ) |
| 265 | |
| 266 | #### link #### |
| 267 | |
| 268 | proto_library( |
| 269 | name = "LinkDescription_proto", |
| 270 | srcs = ["net/link/LinkDescriptionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 271 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 272 | deps = [ |
| 273 | ":ConnectPoint_proto", |
| 274 | ":LinkEnums_proto", |
| 275 | ], |
| 276 | ) |
| 277 | |
| 278 | proto_library( |
| 279 | name = "LinkEnums_proto", |
| 280 | srcs = ["net/link/LinkEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 281 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 282 | ) |
| 283 | |
| 284 | proto_library( |
| 285 | name = "LinkEvent_proto", |
| 286 | srcs = ["net/link/LinkEventProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 287 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 288 | deps = [ |
| 289 | ":LinkEnums_proto", |
| 290 | ":Link_proto", |
| 291 | ], |
| 292 | ) |
| 293 | |
| 294 | ### meter #### |
| 295 | |
| 296 | proto_library( |
| 297 | name = "BandEnums_proto", |
| 298 | srcs = ["net/meter/BandEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 299 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 300 | ) |
| 301 | |
| 302 | proto_library( |
| 303 | name = "Band_proto", |
| 304 | srcs = ["net/meter/BandProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 305 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 306 | deps = [":BandEnums_proto"], |
| 307 | ) |
| 308 | |
| 309 | proto_library( |
| 310 | name = "MeterEnums_proto", |
| 311 | srcs = ["net/meter/MeterEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 312 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 313 | ) |
| 314 | |
| 315 | proto_library( |
| 316 | name = "MeterEvent_proto", |
| 317 | srcs = ["net/meter/MeterEventProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 318 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 319 | deps = [ |
| 320 | ":MeterEnums_proto", |
| 321 | ":Meter_proto", |
| 322 | ], |
| 323 | ) |
| 324 | |
| 325 | proto_library( |
| 326 | name = "Meter_proto", |
| 327 | srcs = ["net/meter/MeterProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 328 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 329 | deps = [ |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 330 | ":ApplicationId_proto", |
| 331 | ":Band_proto", |
adibrastegarnia | b603ac2 | 2018-11-26 17:01:04 -0500 | [diff] [blame] | 332 | ":MeterEnums_proto", |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 333 | ], |
| 334 | ) |
| 335 | |
| 336 | proto_library( |
| 337 | name = "MeterRequest_proto", |
| 338 | srcs = ["net/meter/MeterRequestProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 339 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 340 | deps = [ |
| 341 | ":ApplicationId_proto", |
| 342 | ":Band_proto", |
| 343 | ":MeterEnums_proto", |
| 344 | ], |
| 345 | ) |
| 346 | |
| 347 | ### packet #### |
| 348 | |
| 349 | proto_library( |
| 350 | name = "OutboundPacket_proto", |
| 351 | srcs = ["net/packet/OutboundPacketProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 352 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 353 | deps = [":TrafficTreatment_proto"], |
| 354 | ) |
| 355 | |
| 356 | proto_library( |
| 357 | name = "PacketEnums_proto", |
| 358 | srcs = ["net/packet/PacketEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 359 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 360 | ) |
| 361 | |
| 362 | proto_library( |
| 363 | name = "PacketEvent_proto", |
| 364 | srcs = ["net/packet/PacketEventProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 365 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 366 | deps = [ |
| 367 | ":OutboundPacket_proto", |
| 368 | ":PacketEnums_proto", |
| 369 | ], |
| 370 | ) |
| 371 | |
| 372 | proto_library( |
| 373 | name = "PacketProcessorEntry_proto", |
| 374 | srcs = ["net/packet/PacketProcessorEntryProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 375 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 376 | deps = [":PacketProcessor_proto"], |
| 377 | ) |
| 378 | |
| 379 | proto_library( |
| 380 | name = "PacketProcessor_proto", |
| 381 | srcs = ["net/packet/PacketProcessorProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 382 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 383 | ) |
| 384 | |
| 385 | proto_library( |
| 386 | name = "PacketRequest_proto", |
| 387 | srcs = ["net/packet/PacketRequestProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 388 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 389 | deps = [ |
| 390 | ":ApplicationId_proto", |
| 391 | ":NodeId_proto", |
| 392 | ":TraficSelector_proto", |
| 393 | ], |
| 394 | ) |
| 395 | |
| 396 | #### region #### |
| 397 | |
| 398 | proto_library( |
| 399 | name = "RegionEnums_proto", |
| 400 | srcs = ["net/region/RegionEnumsProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 401 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 402 | ) |
| 403 | |
| 404 | proto_library( |
| 405 | name = "ConnectPoint_proto", |
| 406 | srcs = ["net/ConnectPointProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 407 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 408 | ) |
| 409 | |
| 410 | proto_library( |
| 411 | name = "Device_proto", |
| 412 | srcs = ["net/DeviceProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 413 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 414 | deps = [":DeviceEnums_proto"], |
| 415 | ) |
| 416 | |
| 417 | proto_library( |
| 418 | name = "DisjointPath_proto", |
| 419 | srcs = ["net/DisjointPathProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 420 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 421 | deps = [":Path_proto"], |
| 422 | ) |
| 423 | |
| 424 | proto_library( |
| 425 | name = "HostId_proto", |
| 426 | srcs = ["net/HostIdProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 427 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 428 | ) |
| 429 | |
| 430 | proto_library( |
| 431 | name = "HostLocation_proto", |
| 432 | srcs = ["net/HostLocationProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 433 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 434 | deps = [":ConnectPoint_proto"], |
| 435 | ) |
| 436 | |
| 437 | proto_library( |
| 438 | name = "Host_proto", |
| 439 | srcs = ["net/HostProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 440 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 441 | deps = [ |
| 442 | ":HostId_proto", |
| 443 | ":HostLocation_proto", |
| 444 | ":ProviderId_proto", |
| 445 | ], |
| 446 | ) |
| 447 | |
| 448 | proto_library( |
| 449 | name = "Link_proto", |
| 450 | srcs = ["net/LinkProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 451 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 452 | deps = [ |
| 453 | ":ConnectPoint_proto", |
| 454 | ":LinkEnums_proto", |
| 455 | ":ProviderId_proto", |
| 456 | ], |
| 457 | ) |
| 458 | |
| 459 | proto_library( |
| 460 | name = "MastershipRole_proto", |
| 461 | srcs = ["net/MastershipRoleProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 462 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 463 | ) |
| 464 | |
| 465 | proto_library( |
| 466 | name = "Path_proto", |
| 467 | srcs = ["net/PathProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 468 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 469 | deps = [":Link_proto"], |
| 470 | ) |
| 471 | |
| 472 | proto_library( |
| 473 | name = "Port_proto", |
| 474 | srcs = ["net/PortProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 475 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 476 | deps = [":PortEnums_proto"], |
| 477 | ) |
| 478 | |
| 479 | proto_library( |
| 480 | name = "ProviderId_proto", |
| 481 | srcs = ["net/ProviderIdProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 482 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 483 | ) |
| 484 | |
| 485 | proto_library( |
| 486 | name = "Region_proto", |
| 487 | srcs = ["net/RegionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 488 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 489 | deps = [":RegionEnums_proto"], |
| 490 | ) |
| 491 | |
| 492 | proto_library( |
| 493 | name = "Permission_proto", |
| 494 | srcs = ["security/PermissionProto.proto"], |
Thomas Vachuska | 2bf2453 | 2019-10-14 15:41:45 -0700 | [diff] [blame] | 495 | strip_import_prefix = PROTO_SOURCE_ROOT, |
adibrastegarnia | c02358a | 2018-11-06 18:02:00 -0500 | [diff] [blame] | 496 | ) |