refactor/DRY get_network_by_type method
Merge pull request #155 from mapleoin/refactor-network-by-type

https://github.com/crowbar/barclamp-deployer/pull/155

Merged by devtool for ArkadyKanevsky