accounting
Policy

Accounting policies define the type of statistics to collect and collection interval. Policies can be assigned to various objects to monitor properties such as ingress and egress traffic volume.



public class Policy

Properties
accounting.CustomAAConfig-Set type=Children-Set
accounting.CustomOverrideConfig-Set type=Children-Set
accounting.CustomQueueConfig-Set type=Children-Set
accounting.CustomRecord-Set type=Children-Set
accounting.Policer-Set type=Children-Set
align Specifies if true generation of accounting statistics is aligned with absolute time. First statistics are generated when absolute time is dividable by collection-interval value. After that it continues with collection-interval. This is important for synchronization of statistics interval between various nodes in network. If false, generation of accounting statistics is triggered right after command execution and continues after configured collection-interval. type that do not have an accounting policy.

type=boolean
default=false
Displayed(tab/group)=Align

collectionInterval The value of collectionInterval determines how frequently the statistics are collected and written to their destination. collectionInterval will have a default value if the value of useDefaultInterval is set to 'true'. Value of collectionInterval can be set manually if useDefaultInterval is set to 'false'. An attempt to set collectionInterval to a non-default value will fail if useDefaultInterval has the value 'true' set. If no record is specified, default value for collectionInterval is 5. For service and network types of record, default values are 5 and 15 respectively. For subscriber, lsp, NE Schedulable tests (saa) record types, default value is 5. For AA record types, default value is 15. For video record type, default value is 10. For NE Schedulable Tests (saa) only, the minimum value of collectionInterval is 1 minute. Otherwise the minimum value is 5 minutes.

type=int
default=15
minimum=1
maximum=120
Displayed(tab/group)=Collection Interval (m)

includeSystemInfo Specifies whether or not to include system information at the top of each accounting file generated for a given accounting policy.

type=boolean
default=false
Displayed(tab/group)=Include System Info

isDefault Indicates that this accounting policy is applied to all service access points (SAPs) that do not have an explicit accounting policy applied. If no accounting policy is associated with a SAP, accounting records are produced in accordance with the default policy. Only one accounting policy entry can have isDefault set to 'true'. If there is no such accounting policy with isDefault set to 'true', then the only accounting records collected are those explicitly configured accounting policies.

type=generic.TruthValue
default=false
Displayed(tab/group)=Default

logMemory If logMemory is enabled, the system allocates some RAM (i.e. volatile memory) as a temporary storage to write accounting records every collection-interval. The accounting records are moved from the temporary storage to the specified file on non-volatile memory (i.e. flash) when either the rollover-interval expires or when temporary storage location is full.

type=generic.TruthValue
default=false
Displayed(tab/group)=Log Memory

recordType Indicates the type of predefined accounting record type to be written to the accounting file.

type=accounting.RecordType
default=none
Displayed(tab/group)=Type

useDefaultInterval When useDefaultInterval has a value of 'true', it indicates that collectionInterval will have a default value. When useDefaultInterval has a value of 'false', user can set the value of collectionInterval manually.

DEPRECATED: 15.0.R1 for nodes that supports accounting.Policy class
type=generic.TruthValue
default=false
Displayed(tab/group)=Use Default Interval

  
Properties inherited from file.LogDefinition
accounting.CustomAAConfig-Set, accounting.CustomOverrideConfig-Set, accounting.CustomQueueConfig-Set, accounting.CustomRecord-Set, accounting.Policer-Set, administrativeState, description, displayedName, fileId, fileName, fileObjectPointer, id, logToFileType, logType, operationalState
 
Properties inherited from policy.PolicyDefinition
configurationAction, configurationMode, discoveryState, displayedName, distributionMode, isMaster, lastSyncTime, numberOfUnderlyingPolicyItems, origin, policyMode, policySyncGroupPointer, policyType
 
Properties inherited from policy.PolicyObject
description, displayedName, globalPolicy, id, isLocal, policyType, siteId, siteName, templateObject
 
Properties inherited from ManagedObject
actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed
 
Methods inherited from file.LogDefinition
findFiles
 
Methods inherited from policy.PolicyDefinition
distribute, distributeUsingGroups, distributeV2, evaluatePolicy, findGlobal, findLocal, findReleased, getSyncTaskResult, resetToReleasedPolicy, setConfigurationModeToDraft, setConfigurationModeToReleased, setDistributionModeToLocalEditOnly, setDistributionModeToSyncWithGlobal, syncTo, syncToLocalWithResync
 
Supported Network Elements
7450 ESS
7210 SAS M
7210 SAS X
7210 SAS E
7210 SAS D
7210 SAS K
7210 SAS T
7210 SAS Mxp
7210 SAS Dxp
7210 SAS S/Sx
7210 SAS R
7250 IXR
7750 SR
7705 SAR Gen 2
7705 SAR Hm
7701 CPAA
7705 SAR
7705 SAR H
DC VSC
DC 7850
DC 210
DC VSA8
7950 XRS
Product Specifics
7210 SAS D 20.0.0
7210 SAS D 21.0.0
7210 SAS D 22.0.0
7210 SAS D 23.0.0
7210 SAS D 24.0.0
7210 SAS D 25.0.0
7210 SAS Dxp 20.0
7210 SAS Dxp 21.0
7210 SAS Dxp 22.0
7210 SAS Dxp 23.0
7210 SAS Dxp 24.0
7210 SAS Dxp 25.0
7210 SAS K 20.0
7210 SAS K 21.0
7210 SAS K 22.0
7210 SAS K 23.0
7210 SAS K 24.0
7210 SAS K 25.0
7210 SAS M 20.0
7210 SAS M 21.0
7210 SAS Mxp 20.0
7210 SAS Mxp 21.0
7210 SAS Mxp 22.0
7210 SAS Mxp 23.0
7210 SAS Mxp 24.0
7210 SAS Mxp 25.0
7210 SAS R 20.0
7210 SAS R 21.0
7210 SAS R 22.0
7210 SAS R 23.0
7210 SAS R 24.0
7210 SAS R 25.0
7210 SAS S/Sx 20.0
7210 SAS S/Sx 21.0
7210 SAS S/Sx 22.0
7210 SAS S/Sx 23.0
7210 SAS S/Sx 24.0
7210 SAS S/Sx 25.0
7210 SAS T 20.0
7210 SAS T 21.0
7210 SAS T 22.0
7210 SAS T 23.0
7210 SAS T 24.0
7210 SAS T 25.0
7250 IXR 20.0
7250 IXR 21.0
7250 IXR 22.0
7250 IXR 23.0
7250 IXR 24.0
7250 IXR 25.0
7450 ESS 20.0
7450 ESS 21.0
7450 ESS 22.0
7450 ESS 23.0
7450 ESS 24.0
7450 ESS 25.0
7705 SAR Gen 2 25.0
7705 SAR H 20.0
7705 SAR H 21.0
7705 SAR H 22.0
7705 SAR H 23.0
7705 SAR H 24.0
7705 SAR H 25.0
7705 SAR H 9.0
7705 SAR Hm 20.0
7705 SAR Hm 21.0
7705 SAR Hm 22.0
7705 SAR Hm 23.0
7705 SAR Hm 24.0
7705 SAR Hm 25.0
7705 SAR 20.0
7705 SAR 21.0
7705 SAR 22.0
7705 SAR 23.0
7705 SAR 24.0
7705 SAR 25.0
7750 SR 20.0
7750 SR 21.0
7750 SR 22.0
7750 SR 23.0
7750 SR 24.0
7750 SR 25.0
7950 XRS 20.0
7950 XRS 21.0
7950 XRS 22.0
7950 XRS 23.0
7950 XRS 24.0
7950 XRS 25.0
DC 210 20.5
DC 210 5.0
DC 210 6.0
DC 7850 20.0
DC 7850 5.0
DC 7850 6.0
DC VSA8 5.0
DC VSA8 6.0
DC VSC 20.0
DC VSC 5.0
DC VSC 6.0