A method for pushing a new rack equipped with at least one Top of Rack (ToR) switch into operational mode in a datacenter equipped with at least one datacenter switch (111 j) that is in operational mode, comprising: - fetching by a script server from a database: - information about a first networking configuration of the datacenter switch (111 j); and - a minimal profile information of the new rack; - devising by the script server, based on the information about the first networking configuration of the datacenter switch (111 j) and the minimal profile information of the new rack, a physical cabling plan between the ToR switch and the datacenter switch (111 j); - reserving by the script server available ports on the datacenter switch (111 j) to be connected to ports of the ToR switch according to the physical cabling plan; - computing and storing by the script server into the database enriched information of the new rack based on the ports interconnecting the datacenter switch (111 j) and the ToR switch, and the physical cabling plan; - providing by the script server cabling instructions relative to the physical cabling plan to a datacenter technician; - filling-in by the script server, based on information about the first networking configuration of the datacenter switch (111 j), and the minimal profile information and the enriched information of the new rack, a configuration template and sending it to a configuration builder; - generating by the configuration builder upon query by the script server a networking configuration of the ToR switch based on the filled-in configuration template, and pushing the networking configuration of the ToR switch onto the ToR switch; - computing and applying (409, 410) by the script server based on the enriched information of the new rack and information about the first networking configuration of the datacenter switch (111 j), a second networking configuration to the datacenter switch (111 j); - pushing by the script server the new rack into production mode, whereby the script server may connect directly to the ToR switch; - completing by the script server the networking configuration of the ToR switch; and - pushing by the script server the new rack into operational mode in the datacenter. - fetching by a script server from a database: - information about a first networking configuration of the datacenter switch (111 j); and - a minimal profile information of the new rack; - information about a first networking configuration of the datacenter switch (111 j); and - a minimal profile information of the new rack; - devising by the script server, based on the information about the first networking configuration of the datacenter switch (111 j) and the minimal profile information of the new rack, a physical cabling plan between the ToR switch and the datacenter switch (111 j); - reserving by the script server available ports on the datacenter switch (111 j) to be connected to ports of the ToR switch according to the physical cabling plan; - computing and storing by the script server into the database enriched information of the new rack based on the ports interconnecting the datacenter switch (111 j) and the ToR switch, and the physical cabling plan; - providing by the script server cabling instructions relative to the physical cabling plan to a datacenter technician; - filling-in by the script server, based on information about the first networking configuration of the datacenter switch (111 j), and the minimal profile information and the enriched information of the new rack, a configuration template and sending it to a configuration builder; - generating by the configuration builder upon query by the script server a networking configuration of the ToR switch based on the filled-in configuration template, and pushing the networking configuration of the ToR switch onto the ToR switch; - computing and applying (409, 410) by the script server based on the enriched information of the new rack and information about the first networking configuration of the datacenter switch (111 j), a second networking configuration to the datacenter switch (111 j); - pushing by the script server the new rack into production mode, whereby the script server may connect directly to the ToR switch; - completing by the script server the networking configuration of the ToR switch; and - pushing by the script server the new rack into operational mode in the datacenter.