This paper presents a novel approach to dynamic Software-Defined Networking (SDN) controller placement using deep reinforcement learning to minimize openflow latency in virtualized environments. It addresses limitations of static and existing dynamic placement strategies by adapting to changing network conditions and incorporating both openflow and non-openflow traffic. The proposed model provides detailed implementation guidance, demonstrating improved performance over traditional methods through experimental results.