-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add SPAN VPP calls * Add model and descriptor for SPAN * Update client to support SPAN feature * Add example for SPAN * Add test to check bad configuration. Change to table tests structure * Add vppcalls for 1901 and 1908 * Fix dump to return SPANs with L2 set too * Add debug logs * Name vpp-span is better for descriptor. Fix: interfaces must be dumped before SPANs * Rename SPAN State to Direction. Minor improvements * fix tests after rename
- Loading branch information
1 parent
2fd89dd
commit e8fa2f9
Showing
26 changed files
with
1,760 additions
and
0 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 vpp.interfaces; | ||
|
||
option go_package = "github.com/ligato/vpp-agent/api/models/vpp/interfaces;vpp_interfaces"; | ||
|
||
import "github.com/gogo/protobuf/gogoproto/gogo.proto"; | ||
option (gogoproto.messagename_all) = true; | ||
|
||
message Span { | ||
enum Direction { | ||
UNKNOWN = 0; | ||
RX = 1; | ||
TX = 2; | ||
BOTH = 3; | ||
}; | ||
string interface_from = 1; | ||
string interface_to = 2; | ||
Direction direction = 3; | ||
bool is_l2 = 4; | ||
} |
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
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
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
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
Oops, something went wrong.