Internet factories: Creating application-specific networks on-demand