EasyManua.ls Logo

HP 5920 - Page 284

HP 5920
322 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
274
O
p
eration Descri
p
tion XML exam
p
le
edit-config:
default-operation
Modifies the current
configuration of the device
using the default operation
method.
If you do not specify an
operation attribute for an
edit-config message, NETCONF
uses one of the following default
operation attributes: merge,
create, delete, and replace.
Your setting of the value for the
<default-operation> element
takes effect only once. If you do
not specify an operation
attribute and the default
operation method for an
<edit-config> message, merge
is always applied.
• merge—This is the default
value for the
<default-operation>
element.
• replace—This value is used
when the operation attribute
is not specified and the
default operation method is
specified as replace.
• none—This value is 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 is 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.
To issue an empty operation for schema verification
purposes:
<rpc message-id ="101"
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>
</rpc>

Table of Contents

Other manuals for HP 5920

Related product manuals