-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
connectivity: add interruption test for IPSec key rotation
This commit adds new connectivity test flag "--interruption-test-for-ipsec-key-rotation", which dumps xfrm error counts for each node on setup stage, and compares the current counts with previously recorded ones on check stage. In detail, the test consists of 3 steps: 1. Run "cilium-cli connectivity test --interruption-test-setup --interruption-test-for-ipsec-key-rotation" to deploy connectivity sensitive pods, then record the current restart counts and xfrm error counts. 2. Perform IPsec key rotation. This part can be done in the ci-e2e. 3. Run "cilium-cli connectivity test --interruption-test-for-ipsec-key-rotation" to check restart counts and xfrm error counts again, test fails if any diff is found. Signed-off-by: Zhichuan Liang <[email protected]>
- Loading branch information
1 parent
c08820e
commit ade1392
Showing
5 changed files
with
78 additions
and
22 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
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