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

ArubaOS8 need update propmt #3151

Closed
JoeyChen-NTUT opened this issue May 2, 2024 · 4 comments · Fixed by #3233
Closed

ArubaOS8 need update propmt #3151

JoeyChen-NTUT opened this issue May 2, 2024 · 4 comments · Fixed by #3233
Assignees
Milestone

Comments

@JoeyChen-NTUT
Copy link

JoeyChen-NTUT commented May 2, 2024

there issue before
#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

@PinaGuilherme
Copy link

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.

@mabezi mabezi mentioned this issue Jul 22, 2024
4 tasks
@robertcheramy robertcheramy self-assigned this Jul 24, 2024
@robertcheramy robertcheramy added this to the 0.31 milestone Jul 24, 2024
@robertcheramy
Copy link
Collaborator

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 update prompt for aosw #3233, it looks likt it could also be '\' or '^'

@mabezi
Copy link
Contributor

mabezi commented Jul 24, 2024

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 update prompt for aosw #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
Copy link
Contributor

mabezi commented Jul 24, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants