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

Feat(eos_validate_state): custom fan & pwr states #2222

Merged
merged 3 commits into from
Oct 27, 2022

Conversation

chetryan
Copy link
Contributor

@chetryan chetryan commented Oct 25, 2022

Change Summary

Allow custom states, more than just 'ok' for the
fan and power supply states in the hardware
validation task.

Related Issue(s)

No Issue found in github for this. This was raised internally.

Component(s) name

arista.avd.eos_validate

Proposed changes

How to test

There is currently no Molecule tests for eos_validate_state.

Checklist

User Checklist

  • Tested on physical hardware.
    Models:
    • 7808 with 1 power failure. The power failure was still reported when notInserted as was added to fan_states
    • 7804 with some power fans missing. The failures were suppressed when notInserted was added to fan_states

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

Allow custome states, more than just 'ok' for the
fan and power supply states in the hardware
validation task.
As discussed, the only default valid state
for power supplies and fans should be 'ok'.
If 'notInserted' needs to be allowed, it
should be done via the [fan|pwr_supply]_states.
@chetryan chetryan changed the title Draft: Feat(eos_validate_state): custom fan & pwr states Feat(eos_validate_state): custom fan & pwr states Oct 26, 2022
@chetryan chetryan marked this pull request as ready for review October 26, 2022 12:42
@chetryan chetryan requested a review from a team as a code owner October 26, 2022 12:42
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

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

LGMT- Thanks for this fix @chetryan !

@carlbuchmann carlbuchmann added the type: bug Something isn't working label Oct 27, 2022
@carlbuchmann carlbuchmann merged commit e15109f into aristanetworks:devel Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants