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

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

Advertisement

Operation
Description
Determines whether to issue a
configuration
edit-configure operation. The
test-option element has one of
the following values:
edit-config:
test-option
item
in
the
test-then-set—Performs
a validation test before
attempting to set. If the
validation test fails, the
edit-config operation is not
performed. This is the
default test-option value.
set—Directly performs the
set operation without the
validation test.
test-only—Performs only
a validation test without
attempting to set. If the
validation test succeeds, a
successful
message
returned. Otherwise, an
error message is returned.
283
XML example
<Interfaces>
<Interface>
<Index>262</Index>
<Description>222</Description>
<ConfigSpeed>100</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
<Interface>
<Index>263</Index>
<Description>333</Description>
<ConfigSpeed>100</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
</Interfaces>
</Ifmgr>
</top>
</config>
</edit-config>
</rpc>
To issue the configuration for an interface for test
purposes:
<rpc
message-id
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0">
<edit-config>
<target>
<running/>
</target>
<test-option>test-only</test-option>
<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">
<Interfaces>
<Interface>
<Index>262</Index>
is
<Description>222</Description>
<ConfigSpeed>100</ConfigSpeed>
<ConfigDuplex>1</ConfigDuplex>
</Interface>
</Interfaces>
="101"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents