code: def setNetworkName(self, networkName='GRL'):
          
          print '%s call setNetworkName' % self.port
          print networkName
          try:
              cmd = 'networkname %s' % networkName
              datasetCmd = 'dataset networkname %s' % networkName
              self.hasActiveDatasetToCommit = True
              return self.__sendCommand(cmd)[0] == 'Done' and self.__sendCommand(datasetCmd)[0] == 'Done'
          except Exception, e:
              ModuleHelper.WriteIntoDebugLogger("setNetworkName() Error: " + str(e))
docs: set Thread Network name
  
          Args:
              networkName: the networkname string to be set
  
          Returns:
              True: successful to set the Thread Networkname
              False: fail to set the Thread Networkname