code: def get_name(self):
          
          dependent_host_name = 'unknown'
          if getattr(self, 'dependent_host_name', None):
              dependent_host_name = getattr(
                  getattr(self, 'dependent_host_name'), 'host_name', 'unknown'
              )
          host_name = 'unknown'
          if getattr(self, 'host_name', None):
              host_name = getattr(getattr(self, 'host_name'), 'host_name', 'unknown')
          return dependent_host_name + '/' + host_name
docs: Get name based on dependent_host_name and host_name attributes
          Each attribute is substituted by 'unknown' if attribute does not exist
  
          :return: dependent_host_name/host_name
          :rtype: str