Revwrite network setup to resource/provider style.