-
Notifications
You must be signed in to change notification settings - Fork 168
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
iface_bridge: make host interface configurable #6002
Conversation
|
@@ -113,7 +113,8 @@ def check_net_functions(guest_ip, ping_count, ping_timeout, guest_session, host_ | |||
filter_name = params.get("filter_name", "vdsm-no-mac-spoofing") | |||
ping_count = params.get("ping_count", "5") | |||
ping_timeout = float(params.get("ping_timeout", "10")) | |||
iface_name = utils_net.get_net_if(state="UP")[0] | |||
host_iface = params.get("host_iface") | |||
iface_name = host_iface if host_iface else utils_net.get_net_if(state="UP")[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have updated this part to use default gateway instead of the first up iface.
Would you like to take a look?
e0d65ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
On our test environment we must use not the first host interface. Make configurable but maintain default behavior if not configured. Signed-off-by: Sebastian Mitterle <[email protected]>
9ee193e
to
ab182c3
Compare
JOB ID : a641729606ce65926266f60a466d0558d0cc7d61 |
|
…ice persistent across Multiple Reboot of VM 1. Changes made to support ppc64 arch and perform pci PT of network devices 2. Perform ping to other server ip and check the device network connectivity 3. Added test to check the device avilabity after multiple reboots of guest is done Merge pull request autotest#6002 from smitterl/iface_bridge iface_bridge: make host interface configurable
On our test environment we must use not the first host interface. Make configurable but maintain default behavior if not configured.