ON THIS PAGE
operation
Usage
<rpc> <edit-config> <config> <configuration> <!-- opening tags for each parent of the changing element --> <changing-element operation="(create | delete | remove | replace)"> <name>identifier</name> <!-- if changing element has an identifier --> <!-- other child tag elements, if appropriate --> </changing-element> <!-- closing tags for each parent of the changing element --> </configuration> </config> <!-- other child tag elements of the <edit-config> tag element --> <edit-config> </rpc> ]]>]]>
Description
Specify how the NETCONF server incorporates an individual configuration element into the target configuration, which can be either the candidate configuration or the open configuration database. If you omit the attribute, the element is merged into the configuration according to the rules defined in Set the Edit Configuration Mode in a NETCONF Session. The NETCONF server accepts the following values:
create |
Create the specified element in the target configuration only if the element does not already exist. |
delete |
Delete the specified element from the target configuration. If the
element does not exist in the target configuration, the server returns
an When you use this attribute, we recommend that you include the
|
remove |
Delete the specified element from the target configuration. If the element does not exist in the target configuration, the server silently ignores the request and does not return any error related to this request. When you use this attribute, we recommend that you include the
|
replace |
Replace the specified element in the target configuration with new configuration data. Note:
The |
Release Information
Starting in Junos OS Release 23.1R1 and Junos OS Evolved Release 23.1R1, the NETCONF
server <rpc-error>
response is changed when
<edit-config>
uses the operation="delete"
operation to delete a configuration element that is absent in the target
configuration. The error severity is error instead of warning, and the
<rpc-error>
element includes the
<error-tag>data-missing</error-tag>
and
<error-type>application</error-type>
elements.