Commit 29f09016 authored by ezombie's avatar ezombie
Browse files

Merge branch 'ericsson/seos' into 'microservices'

Fix Ericsson.SEOS profile

See merge request !246
parents ec22bc16 5945f2e5
Pipeline #2865 passed with stage
in 43 seconds
......@@ -3,7 +3,7 @@
# Vendor: Ericsson
# OS: SEOS
# ---------------------------------------------------------------------
# Copyright (C) 2007-2011 The NOC Project
# Copyright (C) 2007-2017 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------
......@@ -14,10 +14,11 @@ from noc.core.profile.base import BaseProfile
class Profile(BaseProfile):
name = "Ericsson.SEOS"
pattern_more = "^---(more)---"
pattern_unprivileged_prompt = r"^\S+?>"
pattern_unprivileged_prompt = \
r"^(?:\[(?P<context>\S+)\])?(?P<hostname>\S+)>"
pattern_prompt = r"^(?:\[(?P<context>\S+)\])?(?P<hostname>\S+)#"
pattern_syntax_error = r"% Invalid input at"
command_disable_pager = "terminal length 0"
command_super = "enable"
command_enter_config = "configure"
command_leave_config = "exit"
pattern_prompt = r"^\[(?P<context>\S+)\](?P<hostname>\S+)#"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment