Uploaded image for project: 'Common Controller SDK'
  1. Common Controller SDK
  2. CCSDK-2731

CommandResult structure doesn't capture multi-line device outputs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Guilin Release
    • Guilin Release
    • None

      we are working on migration of CBAs to Frankfurt and faced and issue with the new `CommandResult` class that is the result of running `sshClientService.executeCommandNB`.
      when the actual device output is so big, the `deviceOutput` in the `CommandResult` doesn’t return the full multi-line response and returns only the first truncated version of it.

      Command Response: (CommandResult(command=show configuration security, deviceOutput=<some big output>
      --(more)--, successful=true))
      seems that if the device response is big, the `executeCommandNB` method only captures the first page of it (until `-more-` ) and not the full device response. 
       

            jfontaine49 jfontaine49
            jfontaine49 jfontaine49
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: