@Override
	public void addInterfaces(MainScreen parent, Node node) {

		String[] choices = {
				"Simple router with 2 Ethernet-TX ports.",
				"Router with 3 Ethernet-TX ports",
				"Router with 2 Ethernet-TX ports and 1 Ethernet-FX port.",
				"Router with 3 Ethernet-FX ports.",
				"WAN router with 1 Ethernet-TX, 2 Serial and 1 Ethernet-FX ports.",
				"Wireless router with 1 Ethernet-TX and 1 WiFi ports.",
				"Multi-enviroment router with 3 Ethernet-TX, 2 Serial, 1 WiFi and 1 Ethernet-FX ports."/*,
				"Router with embbeded switch"*/
				};

		String choice = parent.getDeviceTypeDialog("Create new Router",
				"Please choose router type", choices);

		if (choice.contains(choices[0])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "0", NetworkInterface.Ethernet10T, true, 0);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "1", NetworkInterface.Ethernet10T, true, 0);
		} else if (choice.contains(choices[1])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "0", NetworkInterface.Ethernet10T, true, 0);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "1", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "2", NetworkInterface.Ethernet10T, true);
		} else if (choice.contains(choices[2])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "0", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "1", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet100FX)
					+ "0", NetworkInterface.Ethernet100FX, true);
		} else if (choice.contains(choices[3])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet100FX)
					+ "0", NetworkInterface.Ethernet100FX, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet100FX)
					+ "1", NetworkInterface.Ethernet100FX, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet100FX)
					+ "2", NetworkInterface.Ethernet100FX, true);
		} else if (choice.contains(choices[4])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "0", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Serial)
					+ "0", NetworkInterface.Serial, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Serial)
					+ "1", NetworkInterface.Serial, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet100FX)
					+ "0", NetworkInterface.Ethernet100FX, true);
		} else if (choice.contains(choices[5])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "0", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Wireless)
					+ "0", NetworkInterface.Wireless, true);
			
		} else if (choice.contains(choices[6])) {
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "0", NetworkInterface.Ethernet10T, true, 0);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "1", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet10T)
					+ "2", NetworkInterface.Ethernet10T, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Serial)
					+ "0", NetworkInterface.Serial, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Serial)
					+ "1", NetworkInterface.Serial, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Ethernet100FX)
					+ "0", NetworkInterface.Ethernet100FX, true);
			node.addNetworkInterface(NetworkInterface
					.getIntName(NetworkInterface.Wireless)
					+ "0", NetworkInterface.Wireless, true);
		}
		
		
		node.addNetworkInterface(NetworkInterface
				.getIntName(NetworkInterface.Console)
				+ "0", NetworkInterface.Console, false);
	}