Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue NewValidation: Check if ports from switches are in "Disabled" status. #132 fixed #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeestr4d
Copy link
Collaborator

issue #132 fixed

Copy link
Collaborator Author

@jeestr4d jeestr4d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Local pytest result:

================================================================================================== 2 passed, 1 warning in 0.02s ==================================================================================================
jeestrad@JEESTRAD-M-L6VV ACI-Pre-Upgrade-Validation-Script-2 % python3 -m pytest tests/out_of_service_ports_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/ACI-Pre-Upgrade-Validation-Script-2
configfile: pytest.ini
collected 4 items

tests/out_of_service_ports_check/test_out_of_service_ports_check.py::test_logic[icurl_outputs0-N/A] PASSED [ 25%]
tests/out_of_service_ports_check/test_out_of_service_ports_check.py::test_logic[icurl_outputs1-N/A] PASSED [ 50%]
tests/out_of_service_ports_check/test_out_of_service_ports_check.py::test_logic[icurl_outputs2-FAIL - OUTAGE WARNING!!] PASSED [ 75%]
tests/out_of_service_ports_check/test_out_of_service_ports_check.py::test_logic[icurl_outputs3-PASS] PASSED [100%]

======================================================================================================= 4 passed in 0.02s ========================================================================================================

Lab run result:

[Check 51/68] Out-of-Service Ports Check... FAIL - OUTAGE WARNING!!
Pod ID Node ID Port ID State from Switch


1 103 1/27 up

Recommended Action: Review the list of Disabled Ports by GUI but enabled by CLI, to make sure these do not get disabled upon upgrade
Reference Document: https://datacenter.github.io/ACI-Pre-Upgrade-Validation-Script/validations/#out_of_service_ports_check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant