Deleting threads via TCL script or shell script?

Clovertech Forums Cloverleaf Deleting threads via TCL script or shell script?

  • Creator
    Topic
  • #120072
    Megan
    Participant

      My team is interested in writing a script to delete the threads of a given set of interfaces (specified by an argument).

      Has anyone else done this?  I’m unsure of the exact files that indicate the existence of threads.

      Thanks!

      • This topic was modified 2 years, 1 month ago by Megan.
    Viewing 1 reply thread
    • Author
      Replies
      • #120088
        Dustin Sayes
        Participant

          Hi Megan, thread names and their configurations are stored in the NetConfig file. You’ll find the NetConfig in the site directory.

        • #120157
          Todd Hamilton
          Participant

            Another option is to write an app or script that consumes the Cloverleaf Web API (CLAPI). I use CLAPI to programmatically delete, create, and duplicate threads. I also use CLAPI to create several (hundreds of) threads instantly based on a config file, spreadsheet/dataset, or command line arguments.

            todd.hamilton.omaha@gmail.com
            (402) 660-2787

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.