Skip to content

Conversation

@vaishnavibhat
Copy link
Contributor

Use the nmcli command line tool to create, test failover and delete bond interface.

@abdhaleegit abdhaleegit self-assigned this Aug 25, 2025
@abdhaleegit abdhaleegit self-requested a review August 25, 2025 05:53
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

couple of comments:

  1. does it has to be a separate py .. can it be in same test as most code is repitative. if it is not complicating
  2. nmcli is default way going forward rite ? in both distros
  3. some methods can go to utils

@abdhaleegit
Copy link
Collaborator

@vaishnavibhat Any updates

@vaishnavibhat vaishnavibhat force-pushed the bond_nmcli branch 4 times, most recently from fe317a0 to 3226052 Compare October 15, 2025 10:14
@abdhaleegit abdhaleegit self-requested a review October 15, 2025 14:44
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

Logs please, preferably all bond modes logs

@vaishnavibhat
Copy link
Contributor Author

JOB ID : d105f2907159094176ee287aa68e31194960d29c
JOB LOG : /root/avocado-fvt-wrapper/results/job-2025-12-10T15.04-d105f29/job.log
(01/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-round-robin-bdfc: STARTED
(01/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-round-robin-bdfc: PASS (49.95 s)
(02/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-round-robin-bdfc: STARTED
(02/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-round-robin-bdfc: PASS (43.40 s)
(03/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-round-robin-bdfc: STARTED
(03/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-round-robin-bdfc: PASS (12.72 s)
(04/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-active-backup-c2e8: STARTED
(04/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-active-backup-c2e8: PASS (50.02 s)
(05/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-active-backup-c2e8: STARTED
(05/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-active-backup-c2e8: PASS (50.58 s)
(06/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-active-backup-c2e8: STARTED
(06/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-active-backup-c2e8: PASS (12.94 s)
(07/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-balance-xor-2477: STARTED
(07/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-balance-xor-2477: PASS (50.15 s)
(08/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-balance-xor-2477: STARTED
(08/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-balance-xor-2477: PASS (43.72 s)
(09/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-balance-xor-2477: STARTED
(09/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-balance-xor-2477: PASS (12.55 s)
(10/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-broadcast-2d45: STARTED
(10/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-broadcast-2d45: PASS (49.96 s)
(11/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-broadcast-2d45: STARTED
(11/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-broadcast-2d45: PASS (43.51 s)
(12/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-broadcast-2d45: STARTED
(12/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-broadcast-2d45: PASS (12.60 s)
(13/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-802.3ad-7d60: STARTED
(13/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-802.3ad-7d60: PASS (50.17 s)
(14/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-802.3ad-7d60: STARTED
(14/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-802.3ad-7d60: PASS (43.65 s)
(15/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-802.3ad-7d60: STARTED
(15/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-802.3ad-7d60: PASS (12.61 s)
(16/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-balance-tlb-9a14: STARTED
(16/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-balance-tlb-9a14: PASS (50.11 s)
(17/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-balance-tlb-9a14: STARTED
(17/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-balance-tlb-9a14: PASS (43.67 s)
(18/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-balance-tlb-9a14: STARTED
(18/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-balance-tlb-9a14: PASS (12.63 s)
(19/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-balance-alb-26bf: STARTED
(19/21) nmcli_bonding.py:Bonding.test_bond_setup;run-Test-balance-alb-26bf: PASS (50.29 s)
(20/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-balance-alb-26bf: STARTED
(20/21) nmcli_bonding.py:Bonding.test_bond_failover;run-Test-balance-alb-26bf: PASS (43.57 s)
(21/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-balance-alb-26bf: STARTED
(21/21) nmcli_bonding.py:Bonding.test_bond_cleanup;run-Test-balance-alb-26bf: PASS (12.42 s)
RESULTS : PASS 21 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML : /root/avocado-fvt-wrapper/results/job-2025-12-10T15.04-d105f29/results.html
JOB TIME : 805.21 s

job.log

@vaishnavibhat vaishnavibhat force-pushed the bond_nmcli branch 18 times, most recently from 9962ad7 to a822c09 Compare December 15, 2025 10:33
Use the nmcli command line tool to create, test failover and delete bond interface.

Signed-off-by: Vaishnavi Bhat <vaishnavi@linux.vnet.ibm.com>
Copy link
Collaborator

@abdhaleegit abdhaleegit left a comment

Choose a reason for hiding this comment

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

LGTM

@abdhaleegit abdhaleegit merged commit cf0122b into avocado-framework-tests:master Dec 15, 2025
5 checks passed
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