oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

Hangs on Comware

Open adamboutcher opened this issue 3 years ago • 0 comments

I believe commit b805690 is not matching on comware correctly?

However I don't fully understand the code...

# HP V1950 r2432P06
cmd 'xtd-cli-mode on', /(#{@node.prompt}|Continue)/
cmd 'y', /(#{@node.prompt}|input password)/
cmd vars(:comware_cmdline)

Is the /(#{@node.prompt}|Continue)/ trying to match on the standard prompt or the word continue? If so, then the prompts I'm now seeing is the following:

All commands can be displayed and executed in extended CLI mode. Switch to extended CLI mode? [Y/N]:

I'm not sure how I'd try and match this? Or if its even worth matching?

Full output until password prompt:

<SWITCH-R1-02>xtd-cli-mode 
All commands can be displayed and executed in extended CLI mode. Switch to extended CLI mode? [Y/N]:Y
Password:

adamboutcher avatar Jul 25 '22 10:07 adamboutcher