Minor refactoring and improvements to the switch smoothing logic
Minor refactoring and improvements to the switch smoothing logic

ajostergaard/ControlPlane,ajostergaard/ControlPlane,ajostergaard/ControlPlane,ajostergaard/ControlPlane