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 if hardware flow tracking is running and an input tracker is active.
52
+
"""Verifies the hardware flow tracking state.
53
+
54
+
This test performs the following checks:
76
55
77
-
This test optionally verifies the tracker interval/timeout and exporter configuration.
56
+
1. Confirms that hardware flow tracking is running.
57
+
2. For each specified flow tracker:
58
+
- Confirms that the tracker is active.
59
+
- Optionally, checks the tracker interval/timeout configuration.
60
+
- Optionally, verifies the tracker exporter configuration
78
61
79
62
Expected Results
80
63
----------------
81
-
* Success: The test will pass if hardware flow tracking is running and an input tracker is active.
82
-
* Failure: The test will fail if hardware flow tracking is not running, an input tracker is not active,
83
-
or the tracker interval/timeout and exporter configuration does not match the expected values.
64
+
* Success: The test will pass if all of the following conditions are met:
65
+
- Hardware flow tracking is running.
66
+
- For each specified flow tracker:
67
+
- The flow tracker is active.
68
+
- The tracker interval/timeout matches the expected values, if provided.
69
+
- The exporter configuration matches the expected values, if provided.
70
+
* Failure: The test will fail if any of the following conditions are met:
71
+
- Hardware flow tracking is not running.
72
+
- For any specified flow tracker:
73
+
- The flow tracker is not active.
74
+
- The tracker interval/timeout does not match the expected values, if provided.
75
+
- The exporter configuration does not match the expected values, if provided.
84
76
85
77
Examples
86
78
--------
@@ -99,94 +91,51 @@ class VerifyHardwareFlowTrackerStatus(AntaTest):
99
91
```
100
92
"""
101
93
102
-
description= (
103
-
"Verifies if hardware flow tracking is running and an input tracker is active. Optionally verifies the tracker interval/timeout and exporter configuration."
Copy file name to clipboardExpand all lines: examples/tests.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ anta.tests.field_notices:
162
162
# Verifies if the device is exposed to FN0072, and if the issue has been mitigated.
163
163
anta.tests.flow_tracking:
164
164
- VerifyHardwareFlowTrackerStatus:
165
-
# Verifies if hardware flow tracking is running and an input tracker is active. Optionally verifies the tracker interval/timeout and exporter configuration.
0 commit comments