mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Lenovo doc update (#45483)
* Merge issue * Update cnos_rollback.py * Updating license for the refactored method * Update cnos_rollback.py * Removing the BSD License as suggested by Legal * To add Documentation for ENOS as well as CNOS * Merge issue * Revert "To add Documentation for ENOS as well as CNOS" This reverts commit 80e6e39054be0c3a8f95d16dc39ca9d93baf8c4b. * Adding Docs for ENOS and CNOS * Update cnos.py * Update cnos_rollback.py * Update cnos.py * Update platform_cnos.rst * Update platform_enos.rst * Removed version 2.7 * Removing 2.7
This commit is contained in:
committed by
Sandra McCann
parent
7aaa5da41d
commit
4ec317ceca
@@ -1328,10 +1328,6 @@ def interfaceLevel2Config(module, cmd, prompt, answer):
|
||||
# EOM
|
||||
|
||||
|
||||
# Method Method for enter enable mode
|
||||
#
|
||||
|
||||
|
||||
def enterEnableModeForDevice(enablePassword, timeout, obj):
|
||||
command = "enable\n"
|
||||
pwdPrompt = "password:"
|
||||
@@ -1384,9 +1380,6 @@ def enterEnableModeForDevice(enablePassword, timeout, obj):
|
||||
return retVal
|
||||
# EOM
|
||||
|
||||
# Method for device response than time delay
|
||||
#
|
||||
|
||||
|
||||
def waitForDeviceResponse(command, prompt, timeout, obj):
|
||||
obj.settimeout(int(timeout))
|
||||
|
||||
Reference in New Issue
Block a user