Filters¶
-
class
ydk.filters.
YFilter
¶ YFilter can be used to include the various operations supported in the Netconf protocol’s edit-config RPC in your YDK app. YFilter can also be used to mark leafs, lists or containers for reading.
-
create
¶ The configuration data identified by the element containing this attribute is added to the configuration if and only if the configuration data does not already exist in the configuration datastore. If the configuration data exists, an
ydk.errors.YServiceProviderError
will be thrown with XML error message.
-
delete
¶ The configuration data identified by the element containing this attribute is deleted from the configuration if and only if the configuration data currently exists in the configuration datastore. If the configuration data does not exist, an
ydk.errors.YServiceProviderError
will be thrown with XML error message.
-
merge
¶ The configuration data identified by the element containing this attribute is merged with the configuration at the corresponding level in the configuration datastore identified by the target.
-
not_set
¶ This is the default behavior. No operation tag is attached to the payload.
-
remove
¶ The configuration data identified by the element containing this attribute is deleted from the configuration if the configuration data currently exists in the configuration datastore. If the configuration data does not exist, the
remove
operation is silently ignored by the server.
-
replace
¶ The configuration data identified by the element containing this attribute replaces any related configuration in the configuration datastore identified by the target parameter. If no such configuration data exists in the configuration datastore, it is created.
-
read
¶ When reading configuration or operational data from a network device and a specific node, like a leaf or a class, is desired to be read, the yfilter attribute can be set to
YFilter.read
on that node.
-
update
¶ The configuration data identified by the element containing this attribute updates any related configuration in the configuration datastore identified by the target parameter. If no such configuration data exists in the configuration datastore, it is created.
Note. The
YFilter.update
is aplicable only togNMIService
set operation.
-