def get_ports(self, id_or_uri, start=0, count=-1):
        """
        Gets all interconnect ports.

        Args:
            id_or_uri: Can be either the interconnect id or the interconnect uri.
            start:
                The first item to return, using 0-based indexing.
                If not specified, the default is 0 - start with the first available item.
            count:
                The number of resources to return. A count of -1 requests all items.
                The actual number of items in the response might differ from the requested
                count if the sum of start and count exceeds the total number of items.

        Returns:
            list: All interconnect ports.
        """
        uri = self._client.build_subresource_uri(resource_id_or_uri=id_or_uri, subresource_path="ports")
        return self._client.get_all(start, count, uri=uri)
Gets all interconnect ports.

        Args:
            id_or_uri: Can be either the interconnect id or the interconnect uri.
            start:
                The first item to return, using 0-based indexing.
                If not specified, the default is 0 - start with the first available item.
            count:
                The number of resources to return. A count of -1 requests all items.
                The actual number of items in the response might differ from the requested
                count if the sum of start and count exceeds the total number of items.

        Returns:
            list: All interconnect ports.