Filter

Keys

Leafs

class Filters.Filter

Bases: Entity

Class Hierarchy: Filters Filter

This class represents configuration data.

A list of configurable filters that can be applied to

subscriptions.

filter_id(key)

An identifier to differentiate between filters

type: int

range: 0..4294967295
filter

Filter per RFC 5277. Notification filter. If a filter element is specified to look for data of a particular value, and the data item is not present within a particular event notification for its value to be checked against, the notification will be filtered out. For example, if one were to check for ‘severity=critical’ in a configuration event notification where this field was not supported, then the notification would be filtered out. For subtree filtering, a non-empty node set means that the filter matches. For XPath filtering, the mechanisms defined in [XPATH] should be used to convert the returned value to boolean

type: anyxml

subtree_filter

Subtree-filter used to specify the data nodes targeted for subscription within a subtree, or subtrees, of a conceptual YANG datastore. Objects matching the filter criteria will traverse the filter. The syntax follows the subtree filter syntax specified in RFC 6241, section 6

type: anyxml

xpath_filter

Xpath defining the data items of interest

type: str