HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual page 291

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

Operation
Description
method.
If you do not specify an
operation
edit-config
NETCONF uses one of the
following
attributes:
delete,
setting of the value for the
<default-operation>
takes effect only once. If you do
not
attribute
operation
<edit-config> message, merge
is always applied.
Determines the action to take in
case of a configuration error.
The error-option element has
one of the following values:
edit-config:
error-option
attribute
for
an
message,
default
operation
merge,
create,
and
replace.
Your
element
specify
an
operation
and
the
default
method
for
an
merge—The default value
for
the
<default-operation>
element.
replace—Value
used
when
the
operation
attribute is not specified
and the default operation
method is specified as
replace.
none—Value used when
the operation attribute is
not
specified
and
the
default operation method
is specified as none. If this
value is specified, the
edit-config
operation
used only for schema
verification
rather
than
issuing a configuration. If
the schema verification is
passed,
a
successful
message
is
returned.
Otherwise,
an
error
message is returned.
stop-on-error—Stops the
operation on error and
returns an error message.
This
is
the
default
error-option value.
continue-on-error—Cont
inues the operation on
error and returns an error
message.
rollback-on-error—Rolls
back
the
configuration.
This
value
is
not
supported by the current
software version, and it is
reserved for future use.
282
XML example
<rpc
message-id
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<edit-config>
<target>
<running/>
</target>
<default-operation>none</default-operati
on>
<config
xmlns:xc="urn:ietf:params:xml:ns:netconf
:base:1.0">
<top
xmlns="http://www.hp.com/netconf/config:
1.0">
<Ifmgr>
<Interfaces>
<Interface>
<Index>262</Index>
<Description>222222</Description>
</Interface>
</Interfaces>
</Ifmgr>
</top>
</config>
</edit-config>
is
</rpc>
To issue the configuration for two interfaces with the
error-option element value as continue-on-error:
<rpc
message-id
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<edit-config>
<target>
<running/>
</target>
<error-option>continue-on-error</error-o
ption>
<config
xmlns:xc="urn:ietf:params:xml:ns:netconf
:base:1.0">
<top
xmlns="http://www.hp.com/netconf/config:
1.0">
<Ifmgr xc:operation="merge">
="101"
="101"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents