fabric.switch_fault_retention_policy

Specifies the maximum number of fault records to be retained and the maximum number of fault records to be deleted in a 30-second period. These settings can be changed either by creating a custom policy or editing the default policy.

ACI class

faultSwRetP

RN

swfretp-{name}

Cursor

SwitchFaultRetentionPolicyCursor

Parent

fabric

Atomic

Attributes

Accepted as keyword arguments of .switch_fault_retention_policy(name) and of .set(**attrs) on this cursor. Enum parameters also accept the plain string.

parameter

wire

type

values

default

description

name (positional)

name

str

The name of the retention policy. For ease of reference, it may be helpful to include information such as the maximum size and/or purge window size within the name.

description

descr

str

Specifies a description of the policy definition.

maximum_size

maxSize

int

10000

The maximum number of records to be maintained in the switch fault log.

owner_key

ownerKey

str

The key for enabling clients to own their data for entity correlation.

owner_tag

ownerTag

str

A tag for enabling clients to add their own data. For example, to indicate who created this object.

purge_window_size

purgeWin

int

250

The maximum number of records to be deleted in a 30-second period. The number of records should be chosen to avoid spikes in I/O and CPU utilization.