Skip to content

Commit

Permalink
Merge pull request #7 from bisdn/stp
Browse files Browse the repository at this point in the history
Add STP data models
  • Loading branch information
hilmarm authored Aug 6, 2020
2 parents 30d06fa + 5a62cf8 commit 2bc603f
Show file tree
Hide file tree
Showing 2 changed files with 952 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/ofdpa.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
syntax = "proto3";

import "stp/openconfig-spanning-tree.proto";

package ofdpa;

message OfdpaStatus {
Expand Down Expand Up @@ -54,6 +56,15 @@ service OfdpaRpc {

rpc ofdpaSourceMacLearningSet(SrcMacLearning) returns (OfdpaStatus) {}
rpc ofdpaSourceMacLearningGet(Empty) returns (SrcMacLearning) {}

rpc ofdpaStgCreate(openconfig_spanning_tree.Stp) returns (OfdpaStatus) {}
rpc ofdpaStgDestroy(openconfig_spanning_tree.Stp) returns (OfdpaStatus) {}

rpc ofdpaStgVlanAdd(openconfig_spanning_tree.Stp) returns (OfdpaStatus) {}
rpc ofdpaStgVlanRemove(openconfig_spanning_tree.Stp) returns (OfdpaStatus) {}

rpc ofdpaStgStatePortSet(openconfig_spanning_tree.Stp_Rstp_Interface_State) returns (OfdpaStatus) {}

}

message Empty {}
Expand Down
Loading

0 comments on commit 2bc603f

Please sign in to comment.