docs: def run_openstack_sg_cmds(self, commands, switch):
          """Execute/sends a CAPI (Command API) command to EOS.
  
          In this method, list of commands is appended with prefix and
          postfix commands - to make is understandble by EOS.
  
          :param commands : List of command to be executed on EOS.
          :param switch: Endpoint on the Arista switch to be configured
          """
          if not switch:
              LOG.exception("No client found for switch")
              return []
          if len(commands) == 0:
              return []
          command_start = ['enable', 'configure']
          command_end = ['exit']
          full_command = command_start + commands + command_end
          return self._run_eos_cmds(full_command, switch)