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/service_status.proto b/proto_files/orc8r/protos/service_status.proto
new file mode 100644
index 0000000..129d889
--- /dev/null
+++ b/proto_files/orc8r/protos/service_status.proto
@@ -0,0 +1,48 @@
+// SPDX-FileCopyrightText: 2020 The Magma Authors.
+// SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
+//
+// SPDX-License-Identifier: BSD-3-Clause
+
+syntax = "proto3";
+
+package magma.orc8r;
+
+option go_package = "magma/orc8r/lib/go/protos";
+
+// --------------------------------------------------------------------------
+// Service exit status
+// --------------------------------------------------------------------------
+
+message ServiceExitStatus {
+ // ServiceResult enumeration as defined in service "result" by systemd
+ enum ServiceResult {
+ UNUSED = 0;
+ SUCCESS = 1;
+ PROTOCOL = 2;
+ TIMEOUT = 3;
+ EXIT_CODE = 4;
+ SIGNAL = 5;
+ CORE_DUMP = 6;
+ WATCHDOG = 7;
+ START_LIMIT_HIT = 8;
+ RESOURCES = 9;
+ }
+ ServiceResult latest_service_result = 1;
+
+ // ExitCode enumeration as defined in service "result" by systemd
+ enum ExitCode {
+ UNUSED_EXIT_CODE = 0;
+ EXITED = 1;
+ KILLED = 2;
+ DUMPED = 3;
+ }
+ ExitCode latest_exit_code = 2;
+
+ // Optional return code returned by the service during exit
+ uint32 latest_rc = 3;
+
+ // Clean exit, e.g. SIGNKILL
+ uint32 num_clean_exits = 4;
+ // Unclean exit e.g. CORE_DUMP or non zero exit code.
+ uint32 num_fail_exits = 5;
+}
\ No newline at end of file