Flexible NFV with Array Networks