Skip to content

Conversation

mfencik
Copy link
Contributor

@mfencik mfencik commented May 14, 2025

No description provided.

@mfencik mfencik force-pushed the router_trunk branch 13 times, most recently from 8e12d2d to 827b375 Compare May 16, 2025 17:22
@skrobul skrobul force-pushed the router_trunk branch 17 times, most recently from 1eed3c9 to b159b61 Compare May 22, 2025 12:14
skrobul and others added 22 commits June 5, 2025 13:53
In some situations we may end up on a leaf where the dynamic segment for
that particular vlan group already exists. In such cases, we should
reuse this rather than attempting to allocate another segmentation_id.
We want to allow using local segmentation_id on the trunk ports facing
network nodes.
We have addeed subports_added_post handler that is triggered after the
validation of data is completed and the record is committed to the
neutron's database to make sure that all of the segments can be looked
up by undersync. Now the original trigger of undersync is no longer
needed.
This reverts commit 45afe61.
No longer needed because we are using ML2 OVN client
Prior to this commit we have leveraged the OVN ML2's plugin helper
method of create_provnet_port which correctly creates the port, but
unfortunately that port gets removed every time the Neutron restarts.

This is because the Neutron OVN plugin performs a database sync and when
it iterates over the LSPs that are prefixed with `provnet-` it checks if
there is a corresponding Neutron Port that is attached to the provider
network. In our case, such port does not exist so the OVN localnet port
gets removed breaking the connectivity.

Instead of relying on the helper, we execute very similar code but
prefix our LSP with `uplink-` to make it excluded from the Neutron/OVN
sync cleanup.
tests are still broken, so this commit is a wip
@mfencik mfencik marked this pull request as ready for review June 5, 2025 12:53
@mfencik mfencik enabled auto-merge June 5, 2025 12:57
@mfencik mfencik added this pull request to the merge queue Jun 5, 2025
Merged via the queue into main with commit 7ffd2b6 Jun 5, 2025
30 checks passed
@mfencik mfencik deleted the router_trunk branch June 5, 2025 13:21
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.

4 participants