The all_subnets field, when used, reduces follow-up calls on list_ports.

RM#6295

original author: mpath