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

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

Advertisement

Operation
Description
NETCONF
documents.
Changes
configuration.
To use the merge attribute in
the edit-config operation, you
must specify the operation
target (on a specified level):
edit-config: merge
Creates a specified target. To
use the create attribute in the
edit-config operation, you must
specify the operation target.
edit-config: create
XML
API
the
running
If
the
specified
target
exists,
the
operation
directly
changes
the
configuration
for
the
target.
If the specified target does
not exist, the operation
creates and configures the
target.
If the specified target does
not exist and it cannot be
created, an error message
is returned.
If the table supports target
creation and the specified
target does not exist, the
operation
creates
and
then configures the target.
If
the
specified
target
exists, a data-exist error
message is returned.
280
XML example
:base:1.0">
<top
xmlns="http://www.hp.com/netconf/config:
1.0">
<VLAN xc:operation="merge">
<HybridInterfaces>
<Interface>
<IfIndex>262</IfIndex>
<UntaggedVlanList
incremental="true">1-10</Description>
</Interface>
</HybridInterfaces>
</VLAN>
</top>
</config>
</edit-config>
</rpc>
To change the buffer size to 120:
<rpc
message-id
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"
xmlns:xc="urn:ietf:params:xml:ns:netconf
:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<top
xmlns="http://www.hp.com/netconf/config:
1.0"><Syslog
xmlns="http://www.hp.com/netconf/config:
1.0" xc:operation="merge">
<LogBuffer>
<BufferSize>120</BufferSize>
</LogBuffer>
</Syslog>
</top>
</config>
</edit-config>
</rpc>
The XML data format is the same as the edit-config
message with the merge attribute. Change the
operation attribute from merge to create.
hp:
="101"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents