EditOperationType

class ydk.models.ydktest.ietf_netconf.EditOperationType

EditOperationType (Enum Class)

NETCONF ‘operation’ attribute values

merge = 0

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 parameter.

replace = 1

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. Unlike a

<copy-config> operation, which replaces the

entire target configuration, only the configuration

actually present in the config parameter is affected.

create = 2

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

<rpc-error> element is returned with an

<error-tag> value of ‘data-exists’.

delete = 3

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 <rpc-error> element is returned with

an <error-tag> value of ‘data-missing’.

remove = 4

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.