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

Trigger execute_ioslike() should catch Brocade VDX errors such as "syntax error:" #7

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

Comments

Projects
None yet
1 participant
@jathanism
Member

jathanism commented Apr 6, 2012

When you login to a device and don't have the proper permissions, commands return "syntax error:"

% gong test3-abc-sw1.net.aol.com
Connecting to test3-abc-sw1.net.aol.com. Use ^X to exit.

Fetching credentials from /home/j/jathan/.tacacsrc
User's role is unavailable, using default.
Welcome to the Brocade Network Operating System Software
jathan connected from 172.20.21.51 using console on test3-abc-sw1
test3-abc-sw1# show clock
rbridge-id 2: 2012-04-06 19:11:07 Etc/GMT+0
test3-abc-sw1# configure terminal
------------------------------^
syntax error: unknown argument.
test3-abc-sw1#

We need to be able to identify these so that execute_ioslike() can properly catch errors.

@ghost ghost assigned jathanism Apr 6, 2012

@jathanism jathanism closed this in 000dcd9 Apr 6, 2012

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