Skip to content

[follow-up]Refactor SubnetConnectionBindingMap VLAN auto-allocation logic to NSX service layer #1507

Description

@wenqiq

Currently, the VLAN auto-allocation and its overlap retry logic for SubnetConnectionBindingMap are handled directly inside the controller's Reconcile loop (pkg/controllers/subnetbinding/subnetbinding_controller.go). The controller manages the VlanPoolService state (pending/commit/release) and handles the fallback mechanism when hitting NSX cache conflicts (nsxutil.IsOverlapVlanError).

To improve the separation of concerns and keep the controller thin, we should push these implementation details down to the NSX services layer.

see: #1445 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions