AETHER-3162 Remove magma leftover iptables rule from enodebd
AETHER-3198 Add REUSE compliant to enodebd
AETHER-3196 Support identify IP from X-Real IP in enodebd
AETHER-3229 Documentation of configuration and state machine for enodebd
AETHER-3292 Adding new parameter to support in enodebd Sercomm driver
AETHER-3311 Remove unused protobuf definition from enodebd
Change-Id: Ie69f0141eff70cb3d4447cd9575c8224d42dd5e3
diff --git a/proto_files/orc8r/protos/BUILD.bazel b/proto_files/orc8r/protos/BUILD.bazel
new file mode 100644
index 0000000..10a1060
--- /dev/null
+++ b/proto_files/orc8r/protos/BUILD.bazel
@@ -0,0 +1,129 @@
+# SPDX-FileCopyrightText: 2020 The Magma Authors.
+# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
+#
+# SPDX-License-Identifier: BSD-3-Clause
+
+load("@rules_proto//proto:defs.bzl", "proto_library")
+load("@rules_proto_grpc//cpp:defs.bzl", "cpp_grpc_library")
+load("@rules_proto_grpc//cpp:defs.bzl", "cpp_proto_library")
+
+package(default_visibility = ["//visibility:public"])
+
+cpp_proto_library(
+ name = "common_cpp_proto",
+ protos = [":common_proto"],
+)
+
+proto_library(
+ name = "common_proto",
+ srcs = ["common.proto"],
+)
+
+cpp_proto_library(
+ name = "digest_cpp_proto",
+ protos = [":digest_proto"],
+)
+
+proto_library(
+ name = "digest_proto",
+ srcs = ["digest.proto"],
+ deps = ["@protobuf//:any_proto"],
+)
+
+cpp_grpc_library(
+ name = "eventd_cpp_grpc",
+ protos = [":eventd_proto"],
+ deps = [":common_cpp_proto"],
+)
+
+proto_library(
+ name = "eventd_proto",
+ srcs = ["eventd.proto"],
+ deps = [":common_proto"],
+)
+
+cpp_grpc_library(
+ name = "directoryd_cpp_grpc",
+ protos = [":directoryd_proto"],
+ deps = [":common_cpp_proto"],
+)
+
+proto_library(
+ name = "directoryd_proto",
+ srcs = ["directoryd.proto"],
+ deps = [":common_proto"],
+)
+
+cpp_proto_library(
+ name = "redis_cpp_proto",
+ protos = [":redis_proto"],
+)
+
+proto_library(
+ name = "redis_proto",
+ srcs = ["redis.proto"],
+)
+
+proto_library(
+ name = "mconfigs_proto",
+ srcs = ["mconfig/mconfigs.proto"],
+ strip_import_prefix = "mconfig/",
+ deps = [":common_proto"],
+)
+
+cpp_proto_library(
+ name = "metrics_cpp_proto",
+ protos = [":metrics_proto"],
+)
+
+proto_library(
+ name = "metrics_proto",
+ srcs = ["prometheus/metrics.proto"],
+ strip_import_prefix = "prometheus/",
+)
+
+cpp_proto_library(
+ name = "metricsd_cpp_proto",
+ protos = [":metricsd_proto"],
+ deps = [
+ ":common_cpp_proto",
+ ":metrics_cpp_proto",
+ ],
+)
+
+proto_library(
+ name = "metricsd_proto",
+ srcs = ["metricsd.proto"],
+ deps = [
+ ":common_proto",
+ ":metrics_proto",
+ ],
+)
+
+cpp_grpc_library(
+ name = "service303_cpp_grpc",
+ protos = [":service303_proto"],
+ deps = [
+ ":common_cpp_proto",
+ ":metricsd_cpp_proto",
+ ],
+)
+
+cpp_proto_library(
+ name = "service303_cpp_proto",
+ protos = [":service303_proto"],
+ deps = [
+ ":common_cpp_proto",
+ ":metricsd_cpp_proto",
+ ],
+)
+
+proto_library(
+ name = "service303_proto",
+ srcs = ["service303.proto"],
+ deps = [
+ ":common_proto",
+ ":metricsd_proto",
+ "@protobuf//:wrappers_proto",
+ ],
+)