Skip to content
Snippets Groups Projects
Commit 61d92234 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

use types instead of maps

parent bdf77e6f
Branches
Tags
No related merge requests found
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.25.0-devel // protoc-gen-go v1.25.0-devel
// protoc v3.15.7 // protoc v3.15.8
// source: proto/gosdn/gosdn.proto // source: proto/gosdn/gosdn.proto
package gosdn package gosdn
......
This diff is collapsed.
...@@ -28,7 +28,7 @@ message GetRequest { ...@@ -28,7 +28,7 @@ message GetRequest {
message GetResponse { message GetResponse {
int64 timestamp = 1; // Timestamp in nanoseconds since Epoch. int64 timestamp = 1; // Timestamp in nanoseconds since Epoch.
oneof get_oneof { oneof payload {
PrincipalNetworkDomain pnd = 2; PrincipalNetworkDomain pnd = 2;
OrchestratedNetworkingDevice ond = 3; OrchestratedNetworkingDevice ond = 3;
OrchestratedNetworkingDevices onds = 4; OrchestratedNetworkingDevices onds = 4;
...@@ -43,9 +43,9 @@ message PrincipalNetworkDomain { ...@@ -43,9 +43,9 @@ message PrincipalNetworkDomain {
string id = 1; string id = 1;
string name = 2; string name = 2;
string description = 3; string description = 3;
map<string, OrchestratedNetworkingDevice> onds = 4; OrchestratedNetworkingDevices onds = 4;
map<string, SouthboundInterface> sbis = 5; SouthboundInterfaces sbis = 5;
map<string, Change> changes = 6; Changes changes = 6;
} }
message SouthboundInterface { message SouthboundInterface {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment