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/mconfig/mconfigs.proto b/proto_files/orc8r/protos/mconfig/mconfigs.proto
new file mode 100644
index 0000000..9e5acb5
--- /dev/null
+++ b/proto_files/orc8r/protos/mconfig/mconfigs.proto
@@ -0,0 +1,112 @@
+// SPDX-FileCopyrightText: 2020 The Magma Authors.
+// SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
+syntax = "proto3";
+
+import "orc8r/protos/common.proto";
+
+package magma.mconfig;
+option go_package = "magma/orc8r/lib/go/protos/mconfig";
+
+// ===========================================================================
+// Service-specific configs
+// ===========================================================================
+
+
+//------------------------------------------------------------------------------
+// Control Proxy configs
+//------------------------------------------------------------------------------
+message ControlProxy {
+ orc8r.LogLevel log_level = 1;
+}
+
+//------------------------------------------------------------------------------
+// MagmaD configs
+//------------------------------------------------------------------------------
+
+message ImageSpec {
+ string name = 1;
+ int64 order = 2;
+}
+
+message MagmaD {
+ orc8r.LogLevel log_level = 1;
+ // Interval for the gateways to send checkin rpc calls to the cloud.
+ int32 checkin_interval = 2;
+ // Checkin rpc timeout
+ int32 checkin_timeout = 3;
+ // Enables autoupgrading of the magma package
+ bool autoupgrade_enabled = 4;
+ // Interval to poll for package upgrades
+ int32 autoupgrade_poll_interval = 5;
+ // The magma package version the gateway should upgrade to
+ string package_version = 6;
+ // List of upgrade images
+ repeated ImageSpec images = 7;
+
+ // For streamer, should be left unused by gateway
+ string tier_id = 8;
+
+ map<string, bool> feature_flags = 9;
+
+ // List of dynamic_services
+ repeated string dynamic_services = 10;
+}
+
+//------------------------------------------------------------------------------
+// EventD configs
+//------------------------------------------------------------------------------
+message EventD {
+ orc8r.LogLevel log_level = 1;
+ // The verbosity level for events.
+ // All events less than or equal to this verbosity will be logged.
+ int32 event_verbosity = 2;
+}
+
+message DirectoryD {
+ orc8r.LogLevel log_level = 1;
+}
+
+//------------------------------------------------------------------------------
+// MetricsD configs
+//------------------------------------------------------------------------------
+message MetricsD {
+ orc8r.LogLevel log_level = 1;
+}
+
+//------------------------------------------------------------------------------
+// State configs
+//------------------------------------------------------------------------------
+message State {
+ orc8r.LogLevel log_level = 1;
+ uint32 sync_interval = 2;
+}
+
+//------------------------------------------------------------------------------
+// Fluent Bit configs
+//------------------------------------------------------------------------------
+message FluentBit {
+ map<string, string> extra_tags = 1;
+
+ uint32 throttle_rate = 10;
+ uint32 throttle_window = 11;
+ string throttle_interval = 12;
+
+ map<string, string> files_by_tag = 20;
+}
+
+//------------------------------------------------------------------------------
+// OpenVPN client configs
+//------------------------------------------------------------------------------
+message OpenVPN {
+ bool enable_shell_access = 1;
+}
+
+//------------------------------------------------------------------------------
+// CtraceD configs
+//------------------------------------------------------------------------------
+message CtraceD {
+ orc8r.LogLevel log_level = 1;
+}