parameters: (self)
return_statement: return False
docstring: clear all entries in allowlist table
  
          Returns:
              True: successful to clear the allowlist
              False: fail to clear the allowlist
docstring_summary: clear all entries in allowlist table
docstring_tokens: clear all entries in allowlist table
function: def clearAllowList(self):
          """clear all entries in allowlist table
  
          Returns:
              True: successful to clear the allowlist
              False: fail to clear the allowlist
          """
          print('%s call clearAllowList' % self)
  
          # remove all entries in allowlist
          print('clearing allowlist entries:')
          for addr in self._addressfilterSet:
              print(addr)
  
          # disable allowlist
          if self.__setAddressfilterMode('disable'):
              self._addressfilterMode = 'disable'
              # clear ops
              cmd = 'macfilter addr clear'
              if self.__executeCommand(cmd)[-1] == 'Done':
                  self._addressfilterSet.clear()
                  return True
          return False
function_tokens: def clearAllowList ( self ) : print ( '%s call clearAllowList' % self ) # remove all entries in allowlist print ( 'clearing allowlist entries:' ) for addr in self . _addressfilterSet : print ( addr ) # disable allowlist if self . __setAddressfilterMode ( 'disable' ) : self . _addressfilterMode = 'disable' # clear ops cmd = 'macfilter addr clear' if self . __executeCommand ( cmd ) [ - 1 ] == 'Done' : self . _addressfilterSet . clear ( ) return True return False