-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: IP Flow Information eXport (IPFIX) plugin #1649
Conversation
- Add binapi for VPP versions 2001, 1908 and 1904. - Create plugin. - Define proto messages. - Generate adapters. Create descriptors. - Add vppcalls. - Add IPFIX plugin to Agent. - Add integration tests.
Codecov Report
@@ Coverage Diff @@
## master #1649 +/- ##
==========================================
+ Coverage 57.64% 58.11% +0.47%
==========================================
Files 495 293 -202
Lines 40639 23850 -16789
==========================================
- Hits 23425 13861 -9564
+ Misses 14755 8858 -5897
+ Partials 2459 1131 -1328
|
LGTM. For missing flowprobe dumps, you may open an issue in fd.io Jira as well. |
…hods in FP API. FP - Flowprobe :)
// IsRetriableFailure returns false if error is one of errors | ||
// defined at the top of this file as non-retriable. | ||
func (d *FPParamsDescriptor) IsRetriableFailure(err error) bool { | ||
if errors.Is(err, ErrFeatureEnabled) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
S1008: should use 'return ' instead of 'if { return }; return ' (from gosimple
)
How did I dismiss the review? Is it because of that new commit I've added? Anyway, somehow I didn't have time to create issue about missing dump API. Will do it later. Hope not on weekends :) |
"Restart Agent without restarting VPP" testWhen Agent was running I've created two TAP interfaces, configured IPFIX and Flowprobe params and enabled Flowprobe feature on one of the interfaces. Show FullResync transaction
|
@milanlenco @rewenset is this ready for merge? |
I think so. But would be nice to get a review from @milanlenco too 😇 |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
IPFIX plugin: support of VPP IPFIX and Flowprobe plugin.
Problems:
with IPFIX:
with Flowprobe: