[DPM] Setting VpcId for each goal state in DpmServiceImplV2
VanderChen opened this issue · 2 comments
VanderChen commented
In our design, Message Queue uses VPC as its topic. Thus, VPC ID needs to be set for each goal state.
In this documentation, we explain where VPC IDs are set.
*This issue is solved in PR #695 *
processPortConfiguration
Goal State Type | |
---|---|
Unicast GS | vpcService.buildVpcStates() |
Multicast GS | neighborService.buildNeighborStatesL2() & neighborService.buildNeighborStatesL3() |
Since the GS building process is corresponding to each port, there is only one VPC.
processNeighborConfiguration
Goal State Type | |
---|---|
Unicast GS | neighborService.buildNeighborStatesL3() |
Multicast GS | neighborService.buildNeighborStatesL3() |
Different from the buildNeighborStatesL3()
in processPortConfiguration
, the method we used is buildNeighborStatesL3(NetworkConfiguration networkConfiguration, Map<String, UnicastGoalStateV2> unicastGoalStates, MulticastGoalStateV2 multicastGoalState)
which generate a map for unicast goalstates.
processRouterConfiguration
Goal State Type | |
---|---|
Unicast GS | subnetService.buildSubnetState() |
Multicast GS | subnetService.buildSubnetState() |
xieus commented
Discuss with @VanderChen and @cj-chung. James, Please help review this PR.