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 a topology of the network, the network topology specifying an interconnection of the interfaces of the nodes of the network; and for each node in the network: determining a node type of the node from the network topology; applying a node template corresponding to the determined node type; and applying an interface template corresponding to the determined node type for each interface of the node.