1-- *********************************************************************
2-- *********************************************************************
3-- ** Filename: PRVT-JDSU-MIB
4-- ** Project: T - Ethernet and Fast Ethernet IP Switches.
5-- ** Purpose: Private MIB
6-- *********************************************************************
7-- (c) Copyright, 2001, BATM Advanced Communications. All rights reserved.
8-- WARNING:
9--
10-- BY UTILIZING THIS FILE, YOU AGREE TO THE FOLLOWING:
11--
12-- This file is the property of BATM Advanced Communications.
13-- BATM Advanced Communications retains all title and
14-- ownership in the Specification, including any revisions.
15
16-- BATM Advanced Communications grants all interested parties a non-exclusive
17-- license to use and distribute an unmodified copy of this
18-- Specification in connection with management of BATM Advanced Communications
19-- and Telco Systems�products, and without fee, provided that the following
20-- conditions are met:
21-- 1. Redistributions of this specification must retain the above copyright
22-- notice, this list of conditions and the following disclaimer.
23-- 2. Redistributions in binary form must reproduce the above copyright
24-- notice, this list of conditions and the following disclaimer in the
25-- documentation and/or other materials provided with the distribution.
26-- 3. The name of the BATM Advanced Communications MAY NOT be used to endorse
27-- or promote products derived from this specification without specific prior written
28-- permission.
29--
30-- EXCEPT AS RESTRICTED BY LAW, OR AS PROVIDED IN BATM'S LIMITED
31-- WARRANTY, THE SPECIFICATIONS CONTAINED IN THIS FILE ARE
32-- PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
33-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES
34-- OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
35-- IN NO EVENT SHALL BATM BE LIABLE FOR ANY DAMAGES WHATSOEVER
36-- INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS
37-- PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR
38-- OTHER CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE, OR INABILITY
39-- TO USE, THE SPECIFICATION CONTAINED IN THIS FILE.
40PRVT-JDSU-MIB DEFINITIONS ::= BEGIN
41
42IMPORTS
43    MODULE-IDENTITY, OBJECT-TYPE, Unsigned32, NOTIFICATION-TYPE
44        FROM SNMPv2-SMI                  -- [RFC2578]
45    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP
46        FROM SNMPv2-CONF                 -- [RFC2580]
47    RowStatus
48        FROM SNMPv2-TC                   -- [RFC2579]
49    MacAddress
50		FROM SNMPv2-TC                   -- [RFC2579]
51	ifIndex
52        FROM IF-MIB
53    VlanId
54		FROM Q-BRIDGE-MIB                -- [RFC4363]
55    switch
56        FROM PRVT-SWITCH-MIB;
57
58prvtJdsuMib MODULE-IDENTITY
59LAST-UPDATED "201103150000Z"
60ORGANIZATION "BATM Advanced Communication"
61CONTACT-INFO
62"BATM/Telco Systems Support team
63Email:
64For North America: techsupport@telco.com
65For North Europe: support@batm.de, info@batm.de
66For the rest of the world: techsupport@telco.com"
67
68DESCRIPTION
69"This MIB provide control and analisys for JDSU functionality."
70
71-- revision history
72        REVISION       "201103150000Z"
73        DESCRIPTION
74        "Add JDSU Loopback traps."
75        REVISION       "201102080000Z"
76        DESCRIPTION
77        "Initial version."
78
79::= { switch 137 }
80
81-- ***********************************************
82-- ************ Top level structure of the MIB****
83-- ***********************************************
84 prvtJdsuNotifications              OBJECT IDENTIFIER ::= { prvtJdsuMib 0 }
85 prvtJdsuObjects                    OBJECT IDENTIFIER ::= { prvtJdsuMib 1 }
86 prvtJdsuConformance                OBJECT IDENTIFIER ::= { prvtJdsuMib 2 }
87
88prvtJdsuLoopback OBJECT IDENTIFIER ::= { prvtJdsuObjects 1 }
89
90-- ***********************************************
91-- *************** JSDU Loopback *****************
92-- ***********************************************
93
94prvtJdsuLoopbackTable OBJECT-TYPE
95    SYNTAX SEQUENCE OF PrvtJdsuLoopbackEntry
96    MAX-ACCESS  not-accessible
97    STATUS      current
98    DESCRIPTION
99        "This table holds the configuration for JDSU loopback"
100    ::= { prvtJdsuLoopback 1 }
101
102prvtJdsuLoopbackEntry OBJECT-TYPE
103        SYNTAX PrvtJdsuLoopbackEntry
104        MAX-ACCESS not-accessible
105        STATUS current
106        DESCRIPTION
107        "NONE"
108        INDEX { ifIndex }
109        ::= { prvtJdsuLoopbackTable 1 }
110
111PrvtJdsuLoopbackEntry ::= SEQUENCE {
112		prvtJdsuLoopbackAdminStatus                     INTEGER,
113        prvtJdsuLoopbackRemoteMac                       MacAddress,
114        prvtJdsuLoopbackRemoteInnerVlan                 VlanId,
115        prvtJdsuLoopbackRemoteOuterVlan                 VlanId,
116        prvtJdsuLoopbackOperationalStatus               INTEGER,
117        prvtJdsuLoopbackRowStatus                       RowStatus
118}
119
120prvtJdsuLoopbackAdminStatus OBJECT-TYPE
121        SYNTAX INTEGER
122        {
123                disable ( 1 ),
124                forced ( 2 ),
125                remote ( 3 )
126        }
127        MAX-ACCESS read-create
128        STATUS current
129        DESCRIPTION
130        "JDSU remote loopback admin status.
131        This can be used to either enable or disable JDSU loopback on a
132        certain interface.
133        Forced parameter is used for manually set loopback.
134        Remote parameter is used for JDSU remote operation."
135        ::= { prvtJdsuLoopbackEntry 1 }
136
137prvtJdsuLoopbackRemoteMac OBJECT-TYPE
138		SYNTAX MacAddress
139		MAX-ACCESS read-write
140		STATUS current
141		DESCRIPTION
142		"Remote MAC address of the device for JDSU loopback testing."
143		::= { prvtJdsuLoopbackEntry 2 }
144
145prvtJdsuLoopbackRemoteInnerVlan OBJECT-TYPE
146        SYNTAX VlanId
147        MAX-ACCESS read-write
148        STATUS current
149        DESCRIPTION
150        "This is used as the VLAN tag in case of single encapsulated packets
151        or as the inner VLAN tag in case of dual encapsulated packets."
152        ::= { prvtJdsuLoopbackEntry 3 }
153
154prvtJdsuLoopbackRemoteOuterVlan OBJECT-TYPE
155        SYNTAX VlanId
156        MAX-ACCESS read-write
157        STATUS current
158        DESCRIPTION
159        "The outer VLAN tag in case of dual encapsulated packets."
160        ::= { prvtJdsuLoopbackEntry 4 }
161
162prvtJdsuLoopbackOperationalStatus OBJECT-TYPE
163        SYNTAX INTEGER
164        {
165                down ( 1 ),
166                up ( 2 )
167        }
168        MAX-ACCESS read-only
169        STATUS current
170        DESCRIPTION
171        "JDSU remote loopback current operational status."
172        ::= { prvtJdsuLoopbackEntry 5 }
173
174prvtJdsuLoopbackRowStatus OBJECT-TYPE
175        SYNTAX RowStatus
176        MAX-ACCESS read-create
177        STATUS current
178        DESCRIPTION
179        "The status of the row entry.
180         The writable columns in a row can not be changed if the row
181         is active. Certain columns must have a valid value before a row
182         can be activated."
183        ::= { prvtJdsuLoopbackEntry 6 }
184
185-- ***********************************************
186-- **************** Notification *****************
187-- ***********************************************
188
189prvtJdsuAdminStateChange NOTIFICATION-TYPE
190        OBJECTS {
191                prvtJdsuLoopbackAdminStatus
192        }
193        STATUS current
194        DESCRIPTION
195                "This trap should be sent whenever a JDSU admins state is changed
196                for a specific interface."
197        ::= { prvtJdsuNotifications 1 }
198
199prvtJdsuOperStateChange NOTIFICATION-TYPE
200        OBJECTS {
201                prvtJdsuLoopbackOperationalStatus
202        }
203        STATUS current
204        DESCRIPTION
205                "This trap should be sent whenever a JDSU state is changed
206                on a specific interface."
207        ::= { prvtJdsuNotifications 2 }
208
209-- ******************************************************************
210-- PRVT-RING-EPS MIB Module - Conformance Information
211-- ******************************************************************
212
213prvtJdsuCompliances OBJECT IDENTIFIER ::= { prvtJdsuConformance 1 }
214prvtJdsuGroups      OBJECT IDENTIFIER ::= { prvtJdsuConformance 2 }
215
216-- ******************************************************************
217-- Units of conformance
218-- **********************
219prvtJdsuLoopbackGroup OBJECT-GROUP
220    OBJECTS {
221		prvtJdsuLoopbackAdminStatus,
222        prvtJdsuLoopbackRemoteMac,
223        prvtJdsuLoopbackRemoteInnerVlan,
224        prvtJdsuLoopbackRemoteOuterVlan,
225        prvtJdsuLoopbackOperationalStatus,
226        prvtJdsuLoopbackRowStatus
227    }
228    STATUS      current
229    DESCRIPTION
230       "Objects for the JDSU loopback group."
231    ::= { prvtJdsuGroups 1 }
232
233prvtJdsuLoopbackNotificationsGroup NOTIFICATION-GROUP
234    NOTIFICATIONS {
235      prvtJdsuAdminStateChange,
236      prvtJdsuOperStateChange
237    }
238    STATUS      current
239    DESCRIPTION
240       "Objects for the Event Propagation notifications group."
241    ::= { prvtJdsuGroups 2 }
242
243-- ******************************************************************
244-- MIB Module Compliance statements
245-- ******************************************************************
246
247prvtJdsuCompliance MODULE-COMPLIANCE
248    STATUS      current
249    DESCRIPTION
250       "The compliance statement for support of the private JDSU MIB module."
251    MODULE
252        MANDATORY-GROUPS {
253            prvtJdsuLoopbackGroup,
254			prvtJdsuLoopbackNotificationsGroup
255            }
256
257    OBJECT prvtJdsuLoopbackRowStatus
258      SYNTAX       RowStatus { active(1), notInService(2), notReady(3) }
259      WRITE-SYNTAX RowStatus { active(1), notInService(2), notReady(3),
260                               createAndWait(5), destroy(6) }
261      DESCRIPTION "Support for createAndWait is required."
262
263    ::= { prvtJdsuCompliances 1 }
264
265END
266
267