network-insight-sdk-generic-datasources
network-insight-sdk-generic-datasources copied to clipboard
added secret parameter for enable
With this mod we can access the switch enable mode with the same login password
@tnTano, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <[email protected]> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.
- Commit 94329e3a0f111145e09e90a00bb912ee82fa7b3b must be signed by [email protected]
@tnTano Do we require switch enable mode ? SDK will only fetch configuration data for reading. We don't want to modify anything on switch. @sbhagwatvnera Your thoughts.
@piyushvmware nope, we do not need to modify something but in our switch we have the enable mode with password and without entering in enable mode we cannot execute the scripts command...
@tnTano Can the enable password be different from existing ssh password ? If yes, then we need to have mechanism for passing enable password as parameter.
For which switch and what commands are you firing? if it is okay to answer. :)
@piyushvmware yea, of course it can be different, for our infrastructure the password is the same and of course if more practice if the script prompt for the enable password...
we have a dell N1140 and Dell S5048 (not compatible with the script) and all the script not working, we made this because the script not working and after this we have the integration in vrealize.....
@tnTano Please add capability to accept enable mode secret password from user like other parameters. If secret password not provided then old logic of login approach should be there. May be setting secret=None would help but need to test.
sure, when i have free time i'll update the script
@tnTano, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <[email protected]> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.
- Commit 94329e3a0f111145e09e90a00bb912ee82fa7b3b must be signed by [email protected]
- Commit b7e5d074899efd4f2eafe4f2cf336be4de7e6db1 must be signed by [email protected]
@tnTano, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding Signed-off-by: John Doe <[email protected]> to the last line of each Git commit message. The e-mail address used to sign must match the e-mail address of the Git author. Click here to view the Developer Certificate of Origin agreement.
- Commit 94329e3a0f111145e09e90a00bb912ee82fa7b3b must be signed by [email protected]
- Commit b7e5d074899efd4f2eafe4f2cf336be4de7e6db1 must be signed by [email protected]
- Commit 6d7e5564fa73cc955dfbba2109f9cd77914a6df0 must be signed by [email protected]
@tnTano Please merge latest master in to your codebase. Imports are now fixed and is in-sync with Python3.
Please use export PYTHONPATH="$PYTHONPATH:../network-insight-sdk-generic-datasources"
Existing users are using same. Please refer to README.md for more information.