code: def get_groupnames(self, sgs):
          
          return ','.join([sgs[sg].get_name() for sg in self.servicegroups])
docs: Get servicegroups list
  
          :return: comma separated list of servicegroups
          :rtype: str