'Get ports from server.'

def _get_ports_from_server(self, router_id=None, ip_address=None, networks=None):

    filters = self._get_port_filters(router_id, ip_address, networks)
    return self.plugin_rpc.get_ports(self.context, filters)
