What I did
1.Remove the API setBridgePortLearningFDB()
2.Use setBridgePortLearnMode() as instead
3.Set L2 LAG's learning mode to forward during swss warm restart
Why I did it
Two API setBridgePortLearningFDB() and setBridgePortLearnMode() do the same thing which configured port learning mode.
The code can be refined to have only one API.
What I did 1.Remove the API setBridgePortLearningFDB() 2.Use setBridgePortLearnMode() as instead 3.Set L2 LAG's learning mode to forward during swss warm restart
Why I did it Two API setBridgePortLearningFDB() and setBridgePortLearnMode() do the same thing which configured port learning mode. The code can be refined to have only one API.
How I verified it
Details if related