-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tcpState and optimize connections for flow exporter (#1904)
This PR fetches tcp state from conntrack and adds as tcpState information element for flow exporter and flow aggregator. It optimizes the connections poll, update and deletion as follows: 1. Delete connections from connection map when the connection no longer exists in conntrack table and related flow records are deleted (connections.go) 2. Delete flow records of corresponding dying (is closed or about to close) or nonextant connection after exporting (exporter.go) 3. Avoid updating connection map and flow records map when the connection is in dying state, avoid adding flow records when the connection is in dying state and corresponding flow records have been exported. It also moves go-ipfix to v0.4.7 which adds tcpState and flowType in Antrea registry and update kibana dashboard index pattern for new fields.
- Loading branch information
Showing
21 changed files
with
340 additions
and
180 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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.