# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Vendor: D-Link
# OS:     DFL
# Compatible:
# ---------------------------------------------------------------------
# Copyright (C) 2007-2012 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------

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


class Profile(BaseProfile):
    name = "DLink.DFL"
    pattern_syntax_error = r"Error: Unknown command:"
    pattern_prompt = r"^(?P<hostname>\S+(:\S+)*):/> "
    command_more = "a"
    command_exit = "logout"
    config_volatile = ["^%.*?$"]

# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Vendor: D-Link
# OS:     DFL
# Compatible:
# ---------------------------------------------------------------------
# Copyright (C) 2007-2012 The NOC Project
# See LICENSE for details
# ---------------------------------------------------------------------

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


class Profile(BaseProfile):
    name = "DLink.DFL"
    pattern_syntax_error = r"Error: Unknown command:"
    pattern_prompt = r"^(?P<hostname>\S+(:\S+)*):/> "
    command_more = "a"
    command_exit = "logout"
    config_volatile = ["^%.*?$"]

# -*- coding: utf-8 -*- # --------------------------------------------------------------------- # Vendor: D-Link # OS:     DFL # Compatible: # --------------------------------------------------------------------- # Copyright (C) 2007-2012 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- # NOC modules