Skip to content

Get bond master from bond slave using utils [wait for avocado/pull/6201] - #3043

Open
vaishnavibhat wants to merge 1 commit into
avocado-framework-tests:masterfrom
vaishnavibhat:hbond_interface
Open

Get bond master from bond slave using utils [wait for avocado/pull/6201]#3043
vaishnavibhat wants to merge 1 commit into
avocado-framework-tests:masterfrom
vaishnavibhat:hbond_interface

Conversation

@vaishnavibhat

Copy link
Copy Markdown
Contributor

Use the utils changes _get_bondingmaster(self) to get the bond master name and use it as the test interface.

Use the utils changes _get_bondingmaster(self) to get the
bond master name and use it as the test interface.

Signed-off-by: Vaishnavi Bhat <vaishnavi@linux.vnet.ibm.com>
@abdhaleegit abdhaleegit self-assigned this Sep 2, 2025
@abdhaleegit
abdhaleegit self-requested a review September 2, 2025 12:29

@abdhaleegit abdhaleegit left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@abdhaleegit abdhaleegit changed the title Get bond master from bond slave using utils Get bond master from bond slave using utils [wait for avocado/pull/6201] Sep 4, 2025
Comment thread io/net/ethtool_test.py
self.interface = local.get_interface_by_hwaddr(device).name
if self.hbond:
self.interface = local.get_interface_by_hwaddr(device).name
self.interface = self.interface._get_bondingmaster()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do you need this extra line self.interface = local.get_interface_by_hwaddr(device).name ?

@Naresh-ibm

Copy link
Copy Markdown
Collaborator

@vaishnavibhat can you please attach the latest run logs?

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.

3 participants