exscript icon indicating copy to clipboard operation
exscript copied to clipboard

Correct handling user prompt on Cisco Nexus OS (NXOS)

Open ph20 opened this issue 7 years ago • 2 comments

Example telnet connection with login prompt

username@home ~ % telnet X.X.X.X
Trying X.X.X.X...
Connected to X.X.X.X.
Escape character is '^]'.

User Access Verification
RackX_XXX login: admin
Password: 
Bad terminal type: "linux". Will assume vt100.
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2015, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source.  This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or 
GNU General Public License (GPL) version 3.0  or the GNU
Lesser General Public License (LGPL) Version 2.1 or 
Lesser General Public License (LGPL) Version 2.0. 
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.
RackX_XXX#

ph20 avatar Sep 25 '18 16:09 ph20

Coverage Status

Coverage increased (+0.04%) to 76.673% when pulling 4e3d9529fc72de19ab39f2cee4a4ca4da3064abb on ph20:correct_handling_nxos_user_prompt into faf38fc9758fb4d203bb0538bbe558c0fe0baa16 on knipknap:master.

coveralls avatar Sep 25 '18 16:09 coveralls

Ah, could you add the banner to tests/Exscript/protocols/banners/nxos.2, to make sure that there are no regressions?

knipknap avatar Sep 25 '18 16:09 knipknap