Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / pibs / tubs / ACCOUNTING-FRAMEWORK-PIB
1 ACCOUNTING-FRAMEWORK-PIB PIB-DEFINITIONS ::= BEGIN   
2
3    IMPORTS   
4        ibrpib FROM TUBS-SMI
5        Unsigned32, Unsigned64,     
6        Integer32, MODULE-IDENTITY, OBJECT-TYPE, pib
7                FROM COPS-PR-SPPI   
8        ExtUTCTime
9                FROM SNMPv2-SMI
10        TruthValue, TEXTUAL-CONVENTION   
11                FROM SNMPv2-TC   
12        InstanceId, ReferenceId, Prid
13                FROM COPS-PR-SPPI-TC
14        RoleCombination   
15                FROM POLICY-DEVICE-AUX-MIB;   
16
17    acctPolFrameworkPib  MODULE-IDENTITY   
18        SUBJECT-CATEGORIES  { all }  
19        LAST-UPDATED "200011171000Z"   
20        ORGANIZATION "IETF RAP WG"   
21        CONTACT-INFO "   
22                      Diana Rawlins   
23                      WorldCom   
24                      901 International Parkway   
25                      Richardson, TX 75081   
26                      Phone: 972 729 1044   
27                      Email: diana.rawlins@wcom.com   
28
29                     Amol Kulkarni   
30                     JF3-206            
31                     2111 NE 25th Ave   
32                     Hillsboro, Oregon 97124   
33                     Phone: 503-712-1168  
34                     Email: amol.kulkarni@intel.com   
35
36                     Kwok Ho Chan  
37                     Nortel Networks, Inc.  
38                     600 Technology Park Drive  
39                     Billerica, MA 01821 USA  
40                     Phone: 978-288-8175  
41                     Email: khchan@nortelnetworks.com "  
42
43
44    DESCRIPTION   
45            "The PIB module containing the base set of policy rule  
46            classes that are required for support of all accounting  
47            and reporting policies"  
48
49          ::= { ibrpib 9 }  -- to be assigned by IANA!
50 --   
51 -- The accounting type report group  
52 --   
53
54 frwkAtRptGroupClasses    
55                OBJECT IDENTIFIER ::= { acctPolFrameworkPib  2 }   
56
57 --   
58 -- Textual Conventions   
59 --   
60 Count ::= TEXTUAL-CONVENTION   
61        STATUS       current   
62        DESCRIPTION   
63            "A count represents a value used by attributes that   
64             record policy usage. A count is of value zero or   
65             greater and is incremented according to defined   
66
67
68             policy usage. When the maximum value is reached, the  
69             value sticks. The value is reset to zero upon   
70             reporting the value to the PDP."  
71
72 SYNTAX Unsigned64 ( 0..18446744073709551615)  
73
74 --  
75 --  resume reporting indicator  
76 --  
77
78 frwkAtRptResumeTable OBJECT-TYPE   
79      SYNTAX          SEQUENCE OF FrwkAtRptResumeEntry   
80      PIB-ACCESS      install   
81      STATUS          current   
82      DESCRIPTION   
83               "This class contains a single PRI that indicates   
84               that the PEP is to resume the sending of   
85               accounting type reports."  
86
87         ::= { frwkAtRptGroupClasses  1}   
88
89 frwkAtRptResumeEntry OBJECT-TYPE   
90      SYNTAX  FrwkAtRptResumeEntry   
91      STATUS  current   
92      DESCRIPTION   
93                 "An instance of this class can indicate when to    
94                  resume sending accounting type reports  
95                  by the PEP."   
96      PIB-INDEX { frwkAtRptResumeId} 
97
98         ::= { frwkAtRptResumeTable 1}   
99
100 FrwkAtRptResumeEntry ::= SEQUENCE {   
101         frwkAtRptResumeId         InstanceId,   
102         frwkAtRptResumeIndicator  INTEGER   
103      }   
104
105 frwkAtRptResumeId  OBJECT-TYPE  
106      SYNTAX        InstanceId  
107      STATUS        current  
108      DESCRIPTION  
109         " An arbitrary integer index that uniquely identifies an   
110          instance of the frwkAtRptResumeTable class."  
111
112      ::= { frwkAtRptResumeEntry 1}  
113
114 frwkAtRptResumeIndicator OBJECT-TYPE   
115      SYNTAX  INTEGER {  
116                  noReports(0),  
117                  sendReports(1)  
118              }   
119      STATUS  current   
120      DESCRIPTION   
121
122
123                "The value indicates if the PEP is to send cached   
124                 usage policies via accounting type report messages.  
125                 The enumeration values are:   
126                 (0)  Don't send accounting type report messages  
127                 (1)  Resume accounting type report messages. Send  
128                      cached usage policies now "   
129
130        ::= { frwkAtRptResumeEntry 2 }   
131
132 --   
133 -- The Accounting Type Report Linkage Table  
134 --   
135
136 frwkAtRptLinkTable OBJECT-TYPE   
137      SYNTAX          SEQUENCE OF FrwkAtRptLinkEntry   
138      PIB-ACCESS      notify   
139      STATUS          current   
140      DESCRIPTION   
141               "This class associates the selection criteria with the  
142                usage policy. It also permit the defining of the max  
143                interval used for reporting the usage instance."  
144
145      ::= { frwkAtRptGroupClasses  2}   
146
147 frwkAtRptLinkEntry OBJECT-TYPE   
148      SYNTAX          FrwkAtRptLinkEntry   
149      STATUS          current   
150      DESCRIPTION   
151               "This class associates the selection criteria with the  
152                usage policy. It also permit the defining of the max  
153                interval used for reporting the usage instance."  
154      PIB-INDEX {frwkAtRptLinkId}  
155      UNIQUENESS { frwkAtRptLinkId,   
156                  frwkAtRptLinkSel,  
157                  frwkAtRptLinkUsage }  
158      ::= {frwkAtRptLinkTable 1}   
159
160 FrwkAtRptLinkEntry ::= SEQUENCE {  
161        frwkAtRptLinkId         InstanceId,  
162        frwkAtRptLinkSel        Prid,  
163        frwkAtRptLinkUsage      OBJECT IDENTIFIER,  
164        frwkAtRptLinkInterval   Integer32    
165 }  
166
167 frwkAtRptLinkId OBJECT-TYPE  
168      SYNTAX        InstanceId  
169      STATUS        current  
170      DESCRIPTION  
171         " An arbitrary integer index that uniquely identifies an   
172           instance of the frwkAtRptLinkTable class."  
173      ::= { frwkAtRptLinkEntry 1}  
174
175 frwkAtRptLinkSel OBJECT-TYPE  
176
177
178      SYNTAX       Prid  
179      STATUS       current  
180      DESCRIPTION  
181          "The PRID of the selection criteria instance that   
182           defines the conditions to use by the PEP for   
183           monitoring the usage."  
184
185      ::= { frwkAtRptLinkEntry 2}  
186
187 frwkAtRptLinkUsage OBJECT-TYPE  
188      SYNTAX      OBJECT IDENTIFIER  
189      STATUS      current  
190      DESCRIPTION  
191           "The PRC of the usage policy class that the PEP uses to  
192           monitor,record and report."  
193
194      ::= { frwkAtRptLinkEntry 3}  
195
196 frwkAtRptLinkInterval  OBJECT-TYPE       
197      SYNTAX   Integer32  
198      STATUS   current  
199      DESCRIPTION   
200              "Maximum interval in units of the value of the 
201              Accounting Timer specificed by the PDP in the client 
202              accept message. A frwkAtRptInterval of 1 is equal to 
203              the value of the Accounting Timer. This value must be 1 
204              or greater. "  
205
206      ::= { frwkAtRptLinkEntry 4}  
207
208 --   
209 -- The filter statistics usage   
210 --   
211
212 frwkAtRptFilterStatsUsageTable OBJECT-TYPE   
213      SYNTAX          SEQUENCE OF FrwkAtRptFilterStatsUsageEntry   
214      PIB-ACCESS      report-only   
215      STATUS          current   
216      DESCRIPTION   
217               "This class defines the usage attributes that the PEP   
218                is to monitor, record and report. It contains the  
219                of the PRID of the linkage instance associating  
220                the selection criteria instance with the usage   
221                instance."  
222
223      ::= { frwkAtRptGroupClasses  3}   
224
225 frwkAtRptFilterStatsUsageEntry OBJECT-TYPE   
226      SYNTAX          FrwkAtRptFilterStatsUsageEntry   
227      STATUS          current   
228      DESCRIPTION   
229               "Defines the attributes the PEP is to monitor,  
230                record and report."  
231
232
233      PIB-INDEX {frwkAtRptFilterStatsUsageId}  
234      UNIQUENESS { frwkAtRptFilterStatsUsageLinkPRID }  
235
236      ::= {frwkAtRptFilterStatsUsageTable 1}   
237
238 FrwkAtRptFilterStatsUsageEntry ::= SEQUENCE {  
239       frwkAtRptFilterStatsUsageId          InstanceId,  
240       frwkAtRptFilterStatsUsageLinkPRID        Prid,  
241       frwkAtRptFilterStatsUsagePacketCount Count,    
242       frwkAtRptFilterStatsUsageByteCount   Count,    
243       frwkAtRptFilterStatsUsageTimeStamp    ExtUTCTime    
244
245 }  
246
247 frwkAtRptFilterStatsUsageId   OBJECT-TYPE  
248      SYNTAX       InstanceId  
249      STATUS       current  
250      DESCRIPTION  
251                "Arbitrary integer index that uniquely identifies  
252                 an instance of the class."  
253      ::= { frwkAtRptFilterStatsUsageEntry 1 }  
254
255 frwkAtRptFilterStatsUsageLinkPRID  OBJECT-TYPE  
256      SYNTAX      Prid  
257      STATUS       current  
258      DESCRIPTION  
259                "The PRID of the Linkage policy instance used to base 
260                 this usage policy instance upon."  
261
262      ::= { frwkAtRptFilterStatsUsageEntry 2 }  
263
264 frwkAtRptFilterStatsUsagePacketCount OBJECT-TYPE    
265      SYNTAX       Count
266      STATUS       current    
267      DESCRIPTION    
268                "The count of packets matching the specified filter   
269                 during the reporting interval."    
270
271      ::= {frwkAtRptFilterStatsUsageEntry 3}    
272
273 frwkAtRptFilterStatsUsageByteCount OBJECT-TYPE    
274      SYNTAX       Count
275      STATUS       current    
276      DESCRIPTION    
277                 "The byte count of packets matching the   
278                  specified filter during the reporting interval."    
279
280      ::= { frwkAtRptFilterStatsUsageEntry 4}    
281
282 frwkAtRptFilterStatsUsageTimeStamp OBJECT-TYPE    
283      SYNTAX   ExtUTCTime    
284      STATUS       current    
285      DESCRIPTION    
286
287
288                 "The last timestamp when a packet was received."    
289
290      ::= { frwkAtRptFilterStatsUsageEntry 5}    
291
292 END