You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Verifies the state of IPv4 security connections for a specified peer.
695
+
"""Verifies the IPv4 security connections.
696
696
697
-
It optionally allows for the verification of a specific path for a peer by providing source and destination addresses.
698
-
If these addresses are not provided, it will verify all paths for the specified peer.
697
+
This test performs the following checks for each peer:
698
+
699
+
1. Validates that the VRF is configured.
700
+
2. Checks for the presence of IPv4 security connections for the specified peer.
701
+
3. For each relevant peer:
702
+
- If source and destination addresses are provided, verifies the security connection for the specific path exists and is `Established`.
703
+
- If no addresses are provided, verifies that all security connections associated with the peer are `Established`.
699
704
700
705
Expected Results
701
706
----------------
702
-
* Success: The test passes if the IPv4 security connection for a peer is established in the specified VRF.
703
-
* Failure: The test fails if IPv4 security is not configured, a connection is not found for a peer, or the connection is not established in the specified VRF.
707
+
* Success: If all checks pass for all specified IPv4 security connections.
708
+
* Failure: If any of the following occur:
709
+
- No IPv4 security connections are found for the peer
710
+
- The security connection is not established for the specified path or any of the peer connections is not established when no path is specified.
704
711
705
712
Examples
706
713
--------
@@ -719,35 +726,16 @@ class VerifySpecificIPSecConn(AntaTest):
719
726
```
720
727
"""
721
728
722
-
description="Verifies IPv4 security connections for a peer."
0 commit comments