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

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

Closed
jathanism opened this issue Apr 4, 2012 · 0 comments
Closed
Assignees

Comments

@jathanism
Copy link
Member

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
Projects
None yet
Development

No branches or pull requests

1 participant