Skip to content
Snippets Groups Projects
Commit f6b3291b authored by fseidl's avatar fseidl
Browse files

Reverted change to enums in southbound.proto, see comment

parent 417e797f
Branches
No related tags found
No related merge requests found
syntax = "proto3"; syntax = "proto3";
package gosdn.southbound; package gosdn.southbound;
import "google/protobuf/descriptor.proto"; import "google/protobuf/descriptor.proto";
option go_package = "code.fbi.h-da.de/danet/api/go/gosdn/southbound"; option go_package = "code.fbi.h-da.de/danet/api/go/gosdn/southbound";
message SouthboundInterface { message SouthboundInterface {
string id = 1; string id = 1;
Type type = 2; Type type = 2;
} }
enum Type { // Changed accoprding to style guide:
UNSPECIFIED = 0; // https://docs.buf.build/best-practices/style-guide#enums
OPENCONFIG = 1; enum Type {
CONTAINERISED = 2; TYPE_UNSPECIFIED = 0;
PLUGIN = 3; TYPE_OPENCONFIG = 1;
} TYPE_CONTAINERISED = 2;
TYPE_PLUGIN = 3;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment