cisshgo icon indicating copy to clipboard operation
cisshgo copied to clipboard

Return different response for a single command when run multiple times using same ssh session

Open ganeshrn opened this issue 4 years ago • 1 comments

Is there a way to provide different outputs for same command? Example scenario can be

  1. Get response for running-config
  2. Run dummy command to change config
  3. Get updated running-config response

For step 1 and 3 same command will be used but expected response is different.

ganeshrn avatar Jan 25 '22 06:01 ganeshrn

@ganeshrn thanks for the issue, there is currently no support for this other than changing the hostname. Can you provide some more information including examples for 1, 2 & 3. The implementation complexity would vastly depend on the level of understanding cisshgo would have to have for the step 2.

tbotnz avatar Feb 01 '22 02:02 tbotnz