def get_members_of_group(self, gname):
        """Get all members of a group which name is given in parameter

        :param gname: name of the group
        :type gname: str
        :return: list of the hosts in the group
        :rtype: list[alignak.objects.host.Host]
        """
        hostgroup = self.find_by_name(gname)
        if hostgroup:
            return hostgroup.get_hosts()
        return []
Get all members of a group which name is given in parameter

        :param gname: name of the group
        :type gname: str
        :return: list of the hosts in the group
        :rtype: list[alignak.objects.host.Host]