alcor icon indicating copy to clipboard operation
alcor copied to clipboard

[DPM] NB-to-SB message transform design and codes refactor

Open xieus opened this issue 5 years ago • 3 comments

Context

NB message carries most customer port information grouped by port while SB message carries customer + infra information grouped by host. This message transformation is not trivial requiring careful design and elegant implementation.

./services/data_plane_manager/src/main/java/com/futurewei/alcor/dataplane/utils/GoalStateManager.java

Request

  • Draw out the algorithm flowchat of message transform
  • Refactor and modularize the DPM codes so that it is easier to maintain

xieus avatar Jul 04 '20 22:07 xieus

No activity since July. Transfer the owner to @chenpiaoping and @Gzure.

I believe @chenpiaoping already did some work to modularize DPM and @Gzure is continuing the effort.

xieus avatar Oct 16 '20 21:10 xieus

Linked to umbrella issue #439

xieus avatar Oct 21 '20 05:10 xieus

As https://github.com/futurewei-cloud/alcor/pull/486 and https://github.com/futurewei-cloud/alcor/pull/472 have been merged to master, the refactor is almost done.

@chenpiaoping Could you pls draw a software architectural diagram to show how you redesign DPM v2.0? Thanks.

xieus avatar Dec 03 '20 00:12 xieus