1-- *****************************************************************
2-- NMS-IF-QOS-POLICY.MIB:  NMS IF QOS POLICY MIB file
3-- FEB 2010
4-- *****************************************************************
5--
6
7NMS-IF-QOS-POLICY DEFINITIONS ::= BEGIN
8
9            IMPORTS
10            IpAddress
11				FROM RFC1155-SMI
12		    OBJECT-TYPE
13				FROM RFC-1212
14            DisplayString
15				FROM RFC1213-MIB
16		    nmsMgmt
17				FROM NMS-SMI
18		    TruthValue,RowStatus,PhysAddress,DisplayString,QosPolicy
19		    	FROM SNMPv2-TC;
20
21                  nmsIfQosPolicy        OBJECT IDENTIFIER ::= { nmsMgmt 186}
22
23nmsIfQosPolicyTable	OBJECT-TYPE
24		SYNTAX		SEQUENCE OF NMSIfQosPolicyEntry
25		MAX-ACCESS	not-accessible
26		STATUS		current
27		DESCRIPTION	"A list of nmsIfQosPolicyEntry entries.
28				 The port-based security mac address information."
29					::= { nmsIfQosPolicy 1 }
30
31		nmsIfQosPolicyEntry	OBJECT-TYPE
32				SYNTAX		NMSIfQosPolicyEntry
33				MAX-ACCESS	not-accessible
34				STATUS		current
35				DESCRIPTION
36							"Policy Map Apply operation.(IfIndex_QosPolicy)to Apply a
37		                   Policy Map.For example,'07_q1'will apply the policy map 'q1' to interface which pon port diid is 7."
38		                 INDEX		{ nmsIfIndex,nmsIfQosPolicy,nmsIfQosPolicyDirection}
39				::= { nmsIfQosPolicyTable 1 }
40
41		NMSIfQosPolicyEntry	::= SEQUENCE {
42                   	nmsIfIndex				INTEGER,
43		       	nmsIfQosPolicyDirection                  INTEGER,
44		       	nmsIfQosPolicy		 		DisplayString,
45		        nmsIfQosPolicyOperation	        	INTEGER
46  				}
47
48
49               nmsIfIndex OBJECT-TYPE
50                   SYNTAX  INTEGER
51                   ACCESS  read-only
52                   STATUS  current
53                   DESCRIPTION
54                           "LLID interface id, unique in system."
55                   ::= { nmsIfQosPolicyEntry 1 }
56
57               nmsIfQosPolicyDirection OBJECT-TYPE
58                   SYNTAX  INTEGER{
59                                    ingress(1),
60                                    egress(2)
61                                  }
62                   ACCESS  read-write
63                   STATUS  current
64                   DESCRIPTION
65                           "A unique integer note for each interface Policy Map direction. 1-ingerss, 2-egress."
66                   ::= { nmsIfQosPolicyEntry 2 }
67
68               nmsIfQosPolicy OBJECT-TYPE
69                   SYNTAX  DisplayString
70                   ACCESS  read-only
71                   STATUS  current
72                   DESCRIPTION
73                           "A unique string for each Policy Map up to 20 characters.
74 							This string is part of index of Table."
75                   ::= { nmsIfQosPolicyEntry 3 }
76
77               nmsIfQosPolicyOperation OBJECT-TYPE
78                   SYNTAX  INTEGER{
79                   		    doNothing(0),
80                                    create(1),
81                                    delete(2)
82                                  }
83                   ACCESS  read-write
84                   STATUS  current
85                   DESCRIPTION
86		                   "Policy Map Apply operation.0-do nothing, 1-create a single policy applying to a certain interface, 2-delete a single policy applying to a certain interface. "
87		           ::= { nmsIfQosPolicyEntry 4 }
88
89
90END
91