Add a ignore_privilege_level flag to the send_command(s|fromfile) methods of the network driver
See original GitHub issueAdding an ignore_privilege_level boolean flag to driver.network.sync_driver.send_command
, driver.network.sync_driver.send_commands
, driver.network.sync_driver.send_commands_from_file
, driver.network.async_driver.send_command
, driver.network.async_driver.send_commands
, and driver.network.async_driver.send_commands_from_file
. This will allow the user to use whatever the current privilege level is on the device.
For more information view this discussion.
Use Case: As a developer, I want to be able to handle the privilege levels through the commands that I send instead of the standard Scrapli privilege management, so that at run time I can send arbitrary commands in different privilege levels.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Advanced Usage - Scrapli - GitHub Pages
This allows for the user to send commands or do really anything that needs to happen prior to "normal" operations. The core network...
Read more >Networking Error Messages - Oracle Help Center
Failed to open Navigator or Connection Manager error files when they have failed to start. Action: Check that a Network Error directory exists...
Read more >NetworkDriver — NAPALM 3 documentation
This is a helper function used by the cli tool cl_napalm_show_tech. Drivers can override this method to do some tests, show information, enable...
Read more >IBM Connect:Direct for UNIX: Documentation
Using Connect:Direct for UNIX with IBM Aspera High-Speed Add-on and Secure Proxy ... information record of the network map file: short-term and long-term....
Read more >Apache Karaf Container 4.x - Documentation
feature:repo-add camel feature:install deployer camel-blueprint aries-blueprint cat ... It means that Apache Karaf minimal distribution requires an Internet ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @carlmontanari!
Awesome suggestion! That is a much better design 😃. hahaha I always find it funny when looking at old code I write as well. I always find better ways I could have designed or implemented my code.
I’ll go ahead and submit a PR
Thanks Carl!!
Btw, at work I had someone send an email to 3 larger mailers discussing other Python libraries that handle device connections. I got a chance to advertise Scrapli and all its glory compared to other similar libraries 😉. I am really excited about the future of Scrapli.
will close this so we can get thing sorted out in #138