openvswitch: refactor to use with_item