-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lag: Add lag openconfig-interfaces and API
Signed-off-by: Rubens Figueiredo <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
syntax = "proto3"; | ||
|
||
package trunk; | ||
|
||
message Interface_Trunk_Description { | ||
string name = 1; | ||
uint32 lag_speed = 2; | ||
enum LagType { | ||
LagType_ROUNDROBIN = 0; | ||
LagType_ACTIVEBACKUP = 1; | ||
LagType_XOR = 2; | ||
LagType_BROADCAST = 3; | ||
LagType_8023AD = 4; | ||
LagType_TLB = 5; | ||
LagType_ALB = 6; | ||
}; | ||
LagType lag_type = 3; | ||
uint32 member = 4; | ||
uint32 lag_id = 5; | ||
bool active = 6; | ||
} |