code: def linkify(self, hosts=None, realms=None, forced_realms_hostgroups=True):
          
          self.linkify_hostgroups_hosts(hosts)
          self.linkify_hostgroups_realms_hosts(realms, hosts, forced_realms_hostgroups)
docs: Link hostgroups with hosts and realms
  
          :param hosts: all Hosts
          :type hosts: alignak.objects.host.Hosts
          :param realms: all Realms
          :type realms: alignak.objects.realm.Realms
          :return: None