Skip to content

Commit

Permalink
Update gRPC proto
Browse files Browse the repository at this point in the history
  • Loading branch information
Motok1 committed Nov 2, 2022
1 parent d5562b2 commit 6c7f76e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 14 deletions.
30 changes: 20 additions & 10 deletions api/grpc/pola.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions api/grpc/pola.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,11 @@ message SrPolicy {
string srcRouterId = 4;
string dstRouterId = 5;
uint32 color = 6;
string policyName = 7;
SrPolicyType type = 8;
repeated Segment segmentList = 9;
MetricType metric = 10;
uint32 preference = 7;
string policyName = 8;
SrPolicyType type = 9;
repeated Segment segmentList = 10;
MetricType metric = 11;
}

message CreateSrPolicyInput {
Expand Down

0 comments on commit 6c7f76e

Please sign in to comment.