# ----------------------------------------------------------------------
# Vendor: APC
# OS:     AOS
# ----------------------------------------------------------------------
# Copyright (C) 2007-2011 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------

# NOC modules
from noc.core.profile.base import BaseProfile


class Profile(BaseProfile):
    name = "APC.AOS"

    pattern_username = rb"^User Name\s+:"
    username_submit = b"\r"
    pattern_password = rb"^Password\s+:"
    password_submit = b"\r"
    pattern_prompt = rb"^(\S+)?>"
    pattern_more = [(rb"^Press <ENTER> to continue...$", b"\n")]
    command_submit = b"\r"

# ----------------------------------------------------------------------
# Vendor: APC
# OS:     AOS
# ----------------------------------------------------------------------
# Copyright (C) 2007-2011 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------

# NOC modules
from noc.core.profile.base import BaseProfile


class Profile(BaseProfile):
    name = "APC.AOS"

    pattern_username = rb"^User Name\s+:"
    username_submit = b"\r"
    pattern_password = rb"^Password\s+:"
    password_submit = b"\r"
    pattern_prompt = rb"^(\S+)?>"
    pattern_more = [(rb"^Press <ENTER> to continue...$", b"\n")]
    command_submit = b"\r"

# ---------------------------------------------------------------------- # Vendor: APC # OS:     AOS # ---------------------------------------------------------------------- # Copyright (C) 2007-2011 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # NOC modules