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

Test OVN external addresses show on lxc network list-allocations #308

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

hamistao
Copy link
Contributor

@hamistao hamistao commented Oct 5, 2024

Depending on canonical/lxd#14210

tests/network-ovn Outdated Show resolved Hide resolved
tests/network-ovn Outdated Show resolved Hide resolved
@hamistao hamistao force-pushed the list-ovn-routers_tests branch from 19cf499 to 78dcfe3 Compare October 7, 2024 21:09
tests/network-ovn Outdated Show resolved Hide resolved
@hamistao hamistao force-pushed the list-ovn-routers_tests branch from 78dcfe3 to 483aec9 Compare October 7, 2024 22:14
simondeziel
simondeziel previously approved these changes Oct 7, 2024
Copy link
Member

@simondeziel simondeziel left a comment

Choose a reason for hiding this comment

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

LGTM for now. Let's see if it is still green once the LXD PR is merged and the extension shows up :)

Comment on lines 2106 to 2109
ovn_ext_ipv4="$(lxc network get ovn-virtual-network volatile.network.ipv4.address)"
ovn_ext_ipv6="$(lxc network get ovn-virtual-network volatile.network.ipv6.address)"
lxc network list-allocations --format csv | grep -F "/1.0/networks/ovn-virtual-network,${ovn_ext_ipv4}"
lxc network list-allocations --format csv | grep -F "/1.0/networks/ovn-virtual-network,${ovn_ext_ipv6}"
Copy link
Member

Choose a reason for hiding this comment

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

s/ovn-virtual-network/ovn/?

@hamistao hamistao force-pushed the list-ovn-routers_tests branch from 8c4a89f to 276bc70 Compare October 17, 2024 18:40
@hamistao
Copy link
Contributor Author

@tomponline Sorry, should have pinged you after canonical/lxd#14210 was merged.
This includes tests for including OVN uplink addresses on lxc network list-allocations and should be ready to merge.

@tomponline
Copy link
Member

@hamistao lets wait until canonical/lxd#14305 is merged and this PR is updated to reflect it.

@hamistao
Copy link
Contributor Author

hamistao commented Nov 5, 2024

@tomponline Just a reminder on this PR's history. We hadn't merged it yet because canonical/lxd#14305 could potentially require additional tests that could be added here. But since that PR it is now closed, this should be ready to review (and hopefully merge).

@tomponline tomponline merged commit 2c3c5db into canonical:main Nov 5, 2024
141 checks passed
@hamistao hamistao deleted the list-ovn-routers_tests branch November 5, 2024 13:52
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