1. A method for automatically generating a configuration file for each node of a network, each node including at least one interface, the method comprising: receiving, at a configuration file generator, information indicative of a topology of the network, the network topology specifying an interconnection of the interfaces of the nodes of the network; and for each respective node in the network, the configuration file generator: determining a node type of the respective node from the network topology; and generating a routing configuration file for the respective node by: applying a node template corresponding to the determined node type by populating the node template with at least some of the information indicative of the topology of the network; and applying an interface template corresponding to the determined node type and a node type of an adjacent node by populating the interface template with at least some of the information indicative of the topology of the network, wherein the node type of the adjacent node is one of a leaf node and a spine node.
1. A method for automatically generating a configuration file for each node of a network, each node including at least one interface, the method comprising: receiving, at a configuration file generator, information indicative of a topology of the network, the network topology specifying an interconnection of the interfaces of the nodes of the network; and for each respective node in the network, the configuration file generator: determining a node type of the respective node from the network topology; and generating a routing configuration file for the respective node by: applying a node template corresponding to the determined node type by populating the node template with at least some of the information indicative of the topology of the network; and applying an interface template corresponding to the determined node type and a node type of an adjacent node by populating the interface template with at least some of the information indicative of the topology of the network, wherein the node type of the adjacent node is one of a leaf node and a spine node. 8. The method of claim 1 , wherein the network topology is one or more of a Clos topology, a folded Clos topology, and a leaf and spine network.