NetConfig parser

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf NetConfig parser

  • Creator
    Topic
  • #53367
    Mike Keys
    Participant

      I read on another thread that somone had written a NetConfig parser? I’d rather not re-invent the wheel, so if someone has something like this, would you be willing to share it?

      Looking for a nice way to extract thread, host (IP) and port info quickly. I can use grep, but wanted to make a comma-delimited file from results.

    Viewing 2 reply threads
    • Author
      Replies
      • #77438
        Joe Halbrook
        Participant

          Mike,

          I’m not sure what version you are running.  But, if you’re running version 5.7r1 or below, there’s a script in this package that will do what you are needing.  The script name is netconfig.pl.  You could modify it as needed.

          https://usspvlclovertch2.infor.com/download.php?id=51

          Joe

        • #77439
          bill bearden
          Participant

            Also, there is a feature in 6.0 that will produce site doc (I assume from netconfig) in the form of web pages.

            But I don’t know that this first version of this feature will be easily searchable.

          • #77440
            Charlie Bursell
            Participant

              If you do not want to reinvent the wheel just use what Cloverleaf uses.

              Look at $HCIROOT/tcl/lib/cloverleaf/nci.tlib  if you just want to read the NetConfig

              Also available if you want to modify the NetConfig are the routines in $HCIROOT/tcl/lib/cloverleaf/netData.tlib.  Be aware that this one treats all thread names as lowercase

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.