summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-DDP-CLIENT-MIB
blob: 3c84e12b0f3a751ee7573561b6e809d0b38bbc1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
--  *****************************************************************
--  DLINKSW-DDP-CLIENT-MIB.mib : DLINK discovery protocol MIB
--
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--
--  *****************************************************************
DLINKSW-DDP-CLIENT-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        MODULE-IDENTITY,
        OBJECT-TYPE,
        NOTIFICATION-TYPE,
        Unsigned32
                FROM SNMPv2-SMI
        TruthValue
                FROM SNMPv2-TC 
        ifIndex
            FROM IF-MIB       
        dlinkIndustrialCommon
            FROM DLINK-ID-REC-MIB;
            
            
    dlinkSwDdpClientMIB MODULE-IDENTITY
        LAST-UPDATED "201308050000Z"
        ORGANIZATION "D-Link Corp."
        CONTACT-INFO
            "        D-Link Corporation

             Postal: No. 289, Sinhu 3rd Rd., Neihu District,
                     Taipei City 114, Taiwan, R.O.C
             Tel:     +886-2-66000123
             E-mail: tsd@dlink.com.tw
            "
        DESCRIPTION
            "This MIB module defines objects for D-Link Discovery Protocol client."

        REVISION "201308050000Z"
        DESCRIPTION
            " This is the first version of the MIB file.
            "
        ::= { dlinkIndustrialCommon 161 }

-- -----------------------------------------------------------------------------
    dDdpClientNotifications    OBJECT IDENTIFIER ::= { dlinkSwDdpClientMIB 0 }
    dDdpClientObjects          OBJECT IDENTIFIER ::= { dlinkSwDdpClientMIB 1 }
    dDdpClientConformance      OBJECT IDENTIFIER ::= { dlinkSwDdpClientMIB 2 }

-- -----------------------------------------------------------------------------
-- Notifications
-- -----------------------------------------------------------------------------

-- -----------------------------------------------------------------------------
-- Objects
-- -----------------------------------------------------------------------------
    dDdpClientCtrl            OBJECT IDENTIFIER ::= { dDdpClientObjects 1 }

    dDdpClientGlobalState  OBJECT-TYPE
        SYNTAX        TruthValue    
        MAX-ACCESS    read-write
        STATUS        current
        DESCRIPTION
            "This object represents the DDP client's global state
		        true - Indicates the DDP client is enabled
		        false - Indicates the DDP client is disabled"
       DEFVAL { true }   	
        ::= { dDdpClientCtrl 1 }
       
    dDdpClientReportTimer OBJECT-TYPE 
        SYNTAX       	Unsigned32 (0|30|60|90|120)
        UNITS        	"second"
        MAX-ACCESS	read-write
        STATUS		current
        DESCRIPTION
            "This object specifies the interval at which DDP report messages are sent
			by the device.
            Setting the object to 0 prohibits the device from sending DDP report message."
        DEFVAL { 30 }   
        ::= { dDdpClientCtrl 2 }
        
    dDdpClientTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DDdpClientEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION           
            "The table contains a list of port-specific information for DDP client."
        ::= { dDdpClientCtrl 3}    

    dDdpClientEntry OBJECT-TYPE
        SYNTAX          DDdpClientEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "Each entry represents the DDP Client state on a port."
        INDEX           { ifIndex }
        ::= { dDdpClientTable 1 }
   
    DDdpClientEntry ::= SEQUENCE     	{
        dDdpClientPortState        TruthValue
    }  
     
    dDdpClientPortState OBJECT-TYPE
        SYNTAX          TruthValue
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
            "This object represents the DDP Client state on a port
		        true - Indicates DDP client is enabled on the port
		        false - Indicates DDP client is disabled on the port
				"
        DEFVAL { true }   
        ::= { dDdpClientEntry 1 }    
            
-- -----------------------------------------------------------------------------
-- Conformance
-- -----------------------------------------------------------------------------
    dDdpClientCompliances OBJECT IDENTIFIER ::= { dDdpClientConformance 1 }
    dDdpClientGroups	  OBJECT IDENTIFIER ::= { dDdpClientConformance 2 }
    
--  compliance statements
dDdpClientCompliance MODULE-COMPLIANCE
        STATUS         current
        DESCRIPTION
            "The compliance statement for entities which implement the
            DLINKSW-DDP-CLIENT-MIB."

        MODULE  -- this module
        MANDATORY-GROUPS 
            { 
            	dDdpClientControlGroup
            }
        GROUP dDdpClientControlGroup
            DESCRIPTION
                "This group is mandatory for those devices support DLINK discovery protocol."     
        ::= { dDdpClientCompliances 1 }
        
--  units of conformance

    dDdpClientControlGroup OBJECT-GROUP
        OBJECTS             {
            dDdpClientGlobalState,
            dDdpClientPortState
        }
        STATUS  current
        DESCRIPTION
            "A collection of objects providing accessing to global status and report time or the status of a port."
        ::= { dDdpClientGroups 1 } 

END