docs: def _run_eos_cmds(self, commands, switch):
          """Execute/sends a CAPI (Command API) command to EOS.
  
          This method is useful for running show commands that require no
          prefix or postfix commands.
  
          :param commands : List of commands to be executed on EOS.
          :param switch: Endpoint on the Arista switch to be configured
          """
          LOG.info(_LI('Executing command on Arista EOS: %s'), commands)
  
          try:
              # this returns array of return values for every command in
              # commands list
              ret = switch.execute(commands)
              LOG.info(_LI('Results of execution on Arista EOS: %s'), ret)
              return ret
          except Exception:
              msg = (_('Error occurred while trying to execute '
                       'commands %(cmd)s on EOS %(host)s') %
                     {'cmd': commands, 'host': switch})
              LOG.exception(msg)