blob: 43c153b70c577d66859e7a96209dadc55bffec8f [file] [log] [blame]
Wei-Yu Chenad55cb82022-02-15 20:07:01 +08001// SPDX-FileCopyrightText: 2020 The Magma Authors.
2// SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
3//
4// SPDX-License-Identifier: BSD-3-Clause
5
6syntax = "proto3";
7
8package magma.orc8r;
9option go_package = "magma/orc8r/lib/go/protos";
10
11message Void {
12}
13
14// -------------------------------------------------------------------------------
15// Bytes is a special message type used to marshal & unmarshal unknown types as is
16// -------------------------------------------------------------------------------
17message Bytes {
18 bytes val = 1;
19}
20
21// --------------------------------------------------------------------------
22// NetworkID uniquely identifies the network
23// --------------------------------------------------------------------------
24message NetworkID {
25 string id = 1;
26}
27
28// --------------------------------------------------------------------------
29// IDList is a generic definition of an array of IDs (network, gateway, etc.)
30// --------------------------------------------------------------------------
31message IDList {
32 repeated string ids = 1;
33}
34
35// --------------------------------------------------------------------------
36// Logging levels
37// --------------------------------------------------------------------------
38enum LogLevel {
39 DEBUG = 0;
40 INFO = 1;
41 WARNING = 2;
42 ERROR = 3;
43 FATAL = 4;
44}