Adding a new generic write_network plugin define