Skip to content

Commit 759c6c0

Browse files
committed
Test NAT-T encapsulation with ipsec test suite
Signed-off-by: Periyasamy Palanisamy <[email protected]>
1 parent 02d0b25 commit 759c6c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ci-operator/step-registry/openshift/e2e/test/openshift-e2e-test-commands.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,12 @@ ipsec-suite)
562562
wait_for_ipsec_external_mode
563563
echo "IPsec External mode rollout complete. running IPsec test suite now"
564564
TEST_SUITE=openshift/network/ipsec TEST_ARGS="--run \[sig-network\]\[Feature:IPsec\]" suite
565+
566+
# Rollout IPsec Full mode with NAT-T encapsulation and run the suite.
567+
oc patch networks.operator.openshift.io cluster --type=merge -p='{"spec":{"defaultNetwork":{"ovnKubernetesConfig":{"ipsecConfig":{"mode":"Full", "full":{"encapsulation": "Always"}}}}}}'
568+
wait_for_ipsec_full_mode
569+
echo "IPsec Full mode with NAT-T encapsulation rollout complete. running IPsec test suite now"
570+
TEST_SUITE=openshift/network/ipsec TEST_ARGS="--run \[sig-network\]\[Feature:IPsec\]" suite
565571
;;
566572
*)
567573
echo >&2 "Unsupported test type '${TEST_TYPE}'"

0 commit comments

Comments
 (0)