oxidized icon indicating copy to clipboard operation
oxidized copied to clipboard

ArubaOS8 need update propmt

Open JoeyChen-NTUT opened this issue 1 year ago • 1 comments

there issue before https://github.com/ytti/oxidized/issues/2237

request for https://github.com/ytti/oxidized/blob/master/lib/oxidized/model/aosw.rb update or create a new model such like AOSW8 and update the line 14 comment '# ' prompt /^([\w\(:.@-]+(\)?\s?)[#>]\s?)$/

prompt to ^(\([\w\s-]+\))?\s*\[[^\]]+\]\s*[#>]\s?$ or [\w\(:.@-]+(\)?\s?)\[+[\w]+\]\s[#>]

thanks

JoeyChen-NTUT avatar May 02 '24 02:05 JoeyChen-NTUT

Hello Joey,

Can you help me please? I have some aruba virtual controllers using AOSW8 but all the prompts that i tried to use, stay with the same message: not matching configured prompt (?-mix:^(([\w\s-]+))?\s*[[^]]+]\s*[#>]\s?$)

I'm not familiar with ruby and some prompts from closed issues didn't work for me.

PinaGuilherme avatar Jun 19 '24 22:06 PinaGuilherme

Can you provide prompt examples? So far, I have:

AAAA-AP123456#
(AAAA-WLC42) *[mynode] #
(WPP-ArubaVMC) [mynode] #

Does someone know

  • what "mynode" means and if it can be changed (configuration?).
  • what the * before [mynode] means? In the Prompt of PR #3233, it looks likt it could also be '\' or '^'

robertcheramy avatar Jul 24 '24 12:07 robertcheramy

Can you provide prompt examples? So far, I have:

AAAA-AP123456#
(AAAA-WLC42) *[mynode] #
(WPP-ArubaVMC) [mynode] #

Does someone know

  • what "mynode" means and if it can be changed (configuration?).
  • what the * before [mynode] means? In the Prompt of PR #3233, it looks likt it could also be '\' or '^'

mynode is the current "path" you are in. Different values can be here. There are almost unlimited possibilities, since the name of the WLAN controller can also be there.

According to the CLI reference:

  • (host) ^[mynode] – This indicates unsaved configuration.
  • (host) *[mynode] – This indicates available crash information.
  • (host) [mynode] – This indicates a saved configuration.

mabezi avatar Jul 24 '24 13:07 mabezi

If necessary, I can add a few examples. At least for the Mobility Controller and the Mobility Master (or Conductor) I can offer some examples.

mabezi avatar Jul 24 '24 13:07 mabezi