beautypg.com

Edit-config> operation, Parameters, Examples – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual

Page 313

background image

Multi-Service IronWare Administration Guide

295

53-1003028-02

Basic NETCONF operations

8

operation

The NETCONF

operation loads all the configurations into the specified target

configuration.

Elements in the

subtree may contain an

operation

attribute. The attribute identifies the

point in the configuration to perform the operation and might appear on multiple elements
throughout the

subtree.

The operation attribute contains any one of the following values:

merge

,

replace

,

create

,

delete

.

The values

merge, replace, or create

is enforced by the behavior of the individual CLI, so these

options are ignored. The

delete

operation alone is supported.

Parameters

The parameters used for

are as follows:

target

: Name of the configuration data store being edited, such as

.

test-option

: This option is not supported.

default-operation

: Only the

none

value is supported. The other values such as

merge,

replace, create,

and

delete

are ignored because the behaviors are enforced by the

individual CLI.

error-option:

Only the

stop-on-error

option is supported. The other values such as

continue-on-error

and

rollback-on-error

are ignored.

config

: A hierarchy of configuration data as defined by the data models of the device. The new

configuration must be inline configuration and other configuration options such as local file,
remote file, and URL are not supported.

Examples

The following is an example for an

operation for MPLS configuration.

xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/">

merge

examplelsp2

]]>]]>

xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/"

message-id="1">