The blooming of cloud computing leads to the rapid expansion of data center networks (DCN). Conventional link state routing algorithms like OSPF are widely adopted in data center networks, however, those routing algorithms bring great control overheads and long convergence time. Recently, topology-aware routing methods are considered to be efficient especially in data center networks with regular topologies. Lots of topology-aware routing methods (e.g., Fat-Tree and BCube) have been proposed for specific data center network topologies. This paper first proposes a formalized method to describe regular topologies and a regular Topology Description Language (TPDL) based on this method. TPDL is well designed to accurately define regular network topologies in a clear way leveraging their regularities. Based on the Software-Defined Networking (SDN) technology, this paper also proposes a novel topology-aware routing scheme: cRetor (controllerside REgular TOpology Routing scheme). Different from other topology-aware routing methods, cRetor is a TPDL-based general routing method, which means it is expected to work on different kinds of regular topologies. In this scheme, TDPL files are used as a priori knowledge to build an initial topology in the SDN controllers, which eliminates the process of topology discovery via Link Layer Discovery Protocol (LLDP) and hence relieves the bandwidth and processing burdens on controllers. Besides, we also apply the A-star algorithm to SDN controllers to speed up the routing selection, where TPDL's distance formulas act as the heuristic function. The experimental results show that cRetor outperforms LLDP-based SDN, OSPF and DCell in routing calculation performance, convergence speed, routing overheads and fault tolerance.