Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
issue #275 fixed.
lab test, changed from eq=auto to ne=auto , to have test output:
[Check 62/87] Host Interface Policy policy Set... FAIL - OUTAGE WARNING!!
Host Interface Policy Set Speed Policy Groups associated
uni/infra/hintfpol-100G_test1-49 100G ar_fec_test
uni/infra/hintfpol-10gb_fixed 10G N/A
uni/infra/hintfpol-AUTO inherit av-access
uni/infra/hintfpol-AUTO inherit av_accessB
uni/infra/hintfpol-EXAMPLE 40G PRUEBA
uni/infra/hintfpol-default inherit 1_10
uni/infra/hintfpol-default inherit 1_12
uni/infra/hintfpol-default inherit 698943766
uni/infra/hintfpol-default inherit 698943766-105
uni/infra/hintfpol-default inherit 698943766-106
uni/infra/hintfpol-default inherit 698943766-107
uni/infra/hintfpol-default inherit AEPFER
uni/infra/hintfpol-default inherit All_Purpose_PG
local pytest:
jeestrad@JEESTRAD-M-L6VV ACI-Pre-Upgrade-Validation-Script % python3 -m pytest tests/host_interface_policy_set_speed_check
======================================================================== test session starts =========================================================================
platform darwin -- Python 3.9.6, pytest-8.2.0, pluggy-1.5.0
rootdir: /Users/jeestrad/Documents/Python/pre-upgrade/ACI-Pre-Upgrade-Validation-Script
configfile: pytest.ini
plugins: anyio-4.8.0
collected 3 items
tests/host_interface_policy_set_speed_check/test_host_interface_policy_set_speed_check.py::test_logic[icurl_outputs0-None-MANUAL CHECK REQUIRED]
--------------------------------------------------------------------------- live log setup ---------------------------------------------------------------------------
[17:49:51.554 INFO initialize:5357] Cleaning up previous run files in preupgrade_validator_logs/
[17:49:51.559 INFO initialize:5359] Creating directories preupgrade_validator_logs/ and preupgrade_validator_logs/json_results/
PASSED [ 33%]
tests/host_interface_policy_set_speed_check/test_host_interface_policy_set_speed_check.py::test_logic[icurl_outputs1-6.0(9d)-FAIL - OUTAGE WARNING!!] PASSED [ 66%]
tests/host_interface_policy_set_speed_check/test_host_interface_policy_set_speed_check.py::test_logic[icurl_outputs2-6.0(1g)-PASS] PASSED [100%]
========================================================================= 3 passed in 0.03s ==========================================================================