MT#10093 add get_network_for_host

- returns network of a given interface in CIDR format

Change-Id: I5274f030b18c0b24a39f9d52e3173b052fa9159a