base.py 1.11 KB
Newer Older
Dmitry Volodin's avatar
Dmitry Volodin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# ----------------------------------------------------------------------
# ConfDB protocols syntax
# ----------------------------------------------------------------------
# Copyright (C) 2007-2019 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------

# NOC modules
from ..defs import DEF
from .ntp.base import PROTOCOLS_NTP_SYNTAX
from .cdp.base import PROTOCOLS_CDP_SYNTAX
from .lldp.base import PROTOCOLS_LLDP_SYNTAX
from .spanningtree.base import PROTOCOLS_SPANNING_TREE_SYNTAX
from .udld.base import PROTOCOLS_UDLD_SYNTAX
from .loopdetect.base import PROTOCOLS_LOOP_DETECT_SYNTAX
16
from .lacp.base import PROTOCOLS_LACP_SYNTAX
17
from .dns.base import PROTOCOLS_DNS_SYNTAX
135's avatar
135 committed
18
from .syslog.base import PROTOCOLS_SYSLOG_SYNTAX
Dmitry Volodin's avatar
Dmitry Volodin committed
19
20
21
22
23
24
25
26
27
28
29


PROTOCOLS_SYNTAX = DEF(
    "protocols",
    [
        PROTOCOLS_NTP_SYNTAX,
        PROTOCOLS_CDP_SYNTAX,
        PROTOCOLS_LLDP_SYNTAX,
        PROTOCOLS_UDLD_SYNTAX,
        PROTOCOLS_SPANNING_TREE_SYNTAX,
        PROTOCOLS_LOOP_DETECT_SYNTAX,
30
        PROTOCOLS_LACP_SYNTAX,
31
        PROTOCOLS_DNS_SYNTAX,
135's avatar
135 committed
32
        PROTOCOLS_SYSLOG_SYNTAX,
Dmitry Volodin's avatar
Dmitry Volodin committed
33
34
    ],
)