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

Make hw CI job work #304

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Make hw CI job work #304

wants to merge 13 commits into from

Conversation

Frostman
Copy link
Member

No description provided.

@Frostman Frostman marked this pull request as draft January 14, 2025 21:36
pau-hedgehog and others added 12 commits January 14, 2025 23:03
add vlab switch power suboptions for PDU
power management based on annotations

the pdu IPs and credentials are
stored in a file named .pdu.yaml
in the same folder as fab.yaml

Signed-off-by: Pau Capdevila <[email protected]>
different reinstall modes are available,
reload mode uses credentials to log into
the switch (current default)
soft-reset uses an agent based power reset
hard-reset uses a PDU based power reset

verbose option allows to monitor parallel
reinstall process. Opens in byobu if exists

Signed-off-by: Pau Capdevila <[email protected]>
Co-authored-by: Emanuele Di Pascale <[email protected]>
Signed-off-by: Pau Capdevila <[email protected]>
rename reload mode to reboot

Signed-off-by: Pau Capdevila <[email protected]>
Reinstall now will not wait until switches are ready
This allows requesting reinstall and letting switches
enter the ONIE discovery loop

This way you can trigger reinstall and then do vlab up

Original behavior is preserver using --wait-ready flag

Signed-off-by: Pau Capdevila <[email protected]>
Signed-off-by: Sergei Lukianov <[email protected]>
Use Opts Struct Pattern and improve error handling

Signed-off-by: Pau Capdevila <[email protected]>
Adds capability to run hhfab whole hardware test:

hhfab vlab up -v --ready switch-reinstall --ready \
setup-vpcs --ready test-connectivity --ready exit

switch-reinstall is equivalent to run hhfab vlab
switch reinstall --all --yes -mode hard-reset

Signed-off-by: Pau Capdevila <[email protected]>

tbs
Signed-off-by: Sergei Lukianov <[email protected]>
Signed-off-by: Sergei Lukianov <[email protected]>
@Frostman Frostman force-pushed the hlab-inception branch 4 times, most recently from dd33865 to 7ccedfa Compare January 15, 2025 07:37
Signed-off-by: Sergei Lukianov <[email protected]>
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.

2 participants