srpythonmgmt
PyPlcyCache

This is a class for the cache of a Python policy.



public class PyPlcyCache

Properties
pyPlcyCacheAdminState Specifies the administrative state of the cache.

type=netw.AdministrativeState
default=tmnxOutOfService
Displayed(tab/group)=Administrative State

pyPlcyCacheEntrySize Specifies the maximum size of the data structure that can be stored in a single Python cache entry. When requesting to store a data structure the size of the serialized object is compared with the value specified in this field. If it's larger, the object will not be stored and Python will throw an exception.

type=int
default=256
minimum=32
maximum=2048
Displayed(tab/group)=Entry Size

pyPlcyCacheMaxEntries Specifies the maximum number of Python cache entries that can be stored in the cache. If the limit has been reached, a Python exception will be thrown when requested to store another data structure.

type=int
default=128000
minimum=1
maximum=1000000
Displayed(tab/group)=Maximum Entries

pyPlcyCacheMaxLifetimeDays Specifies the days for the maximum allowed lifetime for each entry of the Python cache. When adding data to the Python cache the lifetime of the given object must always be specified.

type=int
default=1
minimum=0
maximum=7
Displayed(tab/group)=Days (/Maximum Entry Lifetime)

pyPlcyCacheMaxLifetimeHours Specifies the hours for the maximum allowed lifetime for each entry of the Python cache. When adding data to the Python cache the lifetime of the given object must always be specified.

type=int
default=0
minimum=0
maximum=23
Displayed(tab/group)=Hours (/Maximum Entry Lifetime)

pyPlcyCacheMaxLifetimeMinutes Specifies the minutes for the maximum allowed lifetime for each entry of the Python cache. When adding data to the Python cache the lifetime of the given object must always be specified.

type=int
default=0
minimum=0
maximum=59
Displayed(tab/group)=Minutes (/Maximum Entry Lifetime)

pyPlcyCacheMaxLifetimeSeconds Specifies the seconds for the maximum allowed lifetime for each entry of the Python cache. When adding data to the Python cache the lifetime of the given object must always be specified.

type=int
default=0
minimum=0
maximum=59
Displayed(tab/group)=Seconds (/Maximum Entry Lifetime)

pyPlcyCacheMinLifetimeHa Specifies the minimum value for the remaining lifetime of any cache entry to be be synchronized with the standby CPM using High Availability.

type=int
default=0
minimum=0
maximum=600
units=seconds
Displayed(tab/group)=High Availability (/Minimum Lifetimes)

pyPlcyCacheMinLifetimeMcs Specifies the minimum value for the remaining lifetime of any cache entry to be be synchronized with the peer system using Multi-Chassis Redundancy Synchronization.

type=int
default=0
minimum=0
maximum=600
units=seconds
Displayed(tab/group)=Multi Chassis Redundancy (/Minimum Lifetimes)

pyPlcyCacheMinLifetimePers Specifies the minimum value for the remaining lifetime of any cache entry to be be written to the system persistence file.

type=int
default=0
minimum=0
maximum=1800
units=seconds
Displayed(tab/group)=Persistence (/Minimum Lifetimes)

pyPlcyCacheNumberOfEntries Specifies the current number of Python cache entries that are stored in the cache of this Python policy.

type=long
access=read-only
default=0
Displayed(tab/group)=Number Of Entries

pyPlcyCachePersistent Specifies if the cache of this Python policy is persistent.

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

  
Properties inherited from policy.PolicyItemDefinition
containingPolicyDisplayedName, containingPolicyId
 
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
 
Supported Network Elements
7750 SR Supported from 12.0.R4
  • Excluded chassis types: 7750-SRc12, 7750-SRc4
7705 SAR Hm
7450 ESS Supported from 12.0.R4
  • Excluded chassis types: 7450-ESS6, 7450-ESS6V
7950 XRS Supported from 13.0.R5