impl getBridges & getPorts