Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ganeshrn opened this issue Jan 25, 2022 · 1 comment

Comments

@ganeshrn
Copy link

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 ganeshrn changed the title Return different response for a single command when run multiple times Return different response for a single command when run multiple times using same ssh session Jan 25, 2022
@tbotnz
Copy link
Owner

tbotnz commented Feb 1, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants