REPLYXLATE

  • Creator
    Topic
  • #52147
    Yves Guerin
    Participant

      Hello,

      I try to parse the NetConfig file with tcl, when I try to get the REPLYXLATE information I got the following error:

      Code:


      set replyxalte “”
      set routedetails “”
      # ok
      keylget data REPLYXLATE replyxlate
      # got the err
      keylget replyxlate ROUTE_DETAILS routedetails

      # the error
      keyed list entry must be a valid, 2 element list, got ”
                 { ROUTE_DETAILS {
                     {
                         { DEST hl7 }
                         { ELEVATEWARNINGFORPARSE 0 }
                         { POSTPROCS {
                             { ARGS {} }
                             { PROCS {} }
                         } }
                         { PREPROCS {
                             { ARGS {{}} }
                             { PROCS charfilter }
                         } }
                         { READONLY 0 }
                         { TYPE xlate }
                         { XLATE ADRMCH.xlt }
                     }
                 } }
                 { TRXID _HCI_static_route_ }
                 { WILDCARD OFF }
             ”

      I load the NetConfig file with the netconfig tcl proc from cloverleaf.

      On others keys it works great, so what I miss.

      Regards,

      Yves

    Viewing 1 reply thread
    • Author
      Replies
      • #73227
        Steve Carter
        Participant

          The return from ‘keylget data REPLYXLATE replyxlate’ is a list.  You’ll need to loop over the return values to get information for each route in the list.

          Hope this helps get you moving again.

          Steve

        • #73228
          Yves Guerin
          Participant

            Hello,

            Thanks you for your help, so I am able to moving on.

            Regards,

            Yves

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