modules.network.routes(): use list comprehension to streamline code
Merge pull request #17581 from hulu/network-list-comp

modules.network.routes(): use list comprehension to streamline code