@classmethod
def get_mountpoints(cls):
    """Returns a list of MountPoint instances

        >>> host.mount_point.get_mountpoints()
        [<MountPoint(path=/proc, device=proc, filesystem=proc, options=rw,nosuid,nodev,noexec,relatime)>
         <MountPoint(path=/, device=/dev/sda1, filesystem=ext4, options=rw,relatime,errors=remount-ro,data=ordered)>]
        """
    mountpoints = []
    for mountpoint in cls._iter_mountpoints():
        mountpoints.append(cls(mountpoint['path'], mountpoint))
    return mountpoints
