openflow: change generator to list

generator is inconsistent with functions calling flow_stats