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

network_xml:Update to support setting up hostname xmls with a list of hostname strings #4014

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

chloerh
Copy link
Contributor

@chloerh chloerh commented Oct 22, 2024

Then we can directly use the values getting from a netxml.hostnames to set
the value of netxml.hostnames without having to convert it from a list
of dicts to a list of strings.

Test result can be found here: autotest/tp-libvirt#5950

Tested with a case affected by this code change (from #3629)

 (1/1) type_specific.local.virtual_network.iface_network.dnsmasq_test.net_dns_host: STARTED
 (1/1) type_specific.local.virtual_network.iface_network.dnsmasq_test.net_dns_host: PASS (34.33 s)

@chloerh chloerh requested a review from Yingshun December 4, 2024 07:25
Copy link
Contributor

@smitterl smitterl left a comment

Choose a reason for hiding this comment

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

Please fix commit message and PR explaining why this change is necessary.
Also, please add successful test runs that use this feature.

hostname strings

Then we can directly use the values getting from a netxml.hostnames to set
the value of netxml.hostnames without having to convert it from a list
of dicts to a list of strings.

Signed-off-by: Haijiao Zhao <[email protected]>
@chloerh
Copy link
Contributor Author

chloerh commented Dec 5, 2024

@smitterl Test result can be found here: autotest/tp-libvirt#5950

@chloerh chloerh requested a review from smitterl December 5, 2024 01:45
Copy link
Contributor

@smitterl smitterl left a comment

Choose a reason for hiding this comment

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

LGTM thank you!

@Yingshun Yingshun merged commit 80ca89f into avocado-framework:master Dec 11, 2024
50 checks passed
@chloerh chloerh deleted the hostname-xml branch December 11, 2024 10:47
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.

6 participants