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

execute_ioslike() hangs on confirmation prompt on Brocade VDX platform #3

Closed
jathanism opened this Issue Apr 4, 2012 · 0 comments

Comments

Projects
None yet
1 participant
@jathanism
Member

jathanism commented Apr 4, 2012

When executing "copy running-config startup-config" on a Brocade VDX switch, it prompts with:

This operation will modify your startup configuration. Do you want to continue? [y/n]:

2012-04-04 11:18:02-0700 [TriggerTelnet,client] Sending command: 'copy running-config startup-config'
2012-04-04 11:18:02-0700 [TriggerTelnet,client] dataReceived, got bytes: 'copy running-config startup-config\n'
2012-04-04 11:18:02-0700 [TriggerTelnet,client] dataReceived, got data: 'copy running-config startup-config\n'
2012-04-04 11:18:02-0700 [TriggerTelnet,client] dataReceived, got bytes: 'This operation will modify your startup configuration. Do you want to continue? [y/n]:'
2012-04-04 11:18:02-0700 [TriggerTelnet,client] dataReceived, got data: 'copy running-config startup-config\nThis operation will modify your startup configuration. Do you want to continue? [y/n]:'

And it just hangs there (IoslikeSendExpect.dataReceived keeps returning None)

Need a way to catch confirmation prompts and do something with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment