Softwarized and Autonomous Management of Photonic Switching Systems Using Machine Learning