278
Appendix
Appendix A Supported NETCONF operations
Table 39 lists the NETCONF operations available with Comware V7.
Table 39 NETCONF operations
get
Retrieves device configuration
and state information.
To retrieve device configuration and state
information for the Syslog module:
<rpc message-id
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"
xmlns:xc="http://www.hp.com/netconf/base
:1.0">
<get>
<filter type="subtree">
<top
xmlns="http://www.hp.com/netconf/data:1.
0">
<Syslog>
</Syslog>
</top>
</filter>
</get>
get-config
Retrieves the non-default
non-
default configuration data
does not exist, the device
returns a response with empty
data.
To retrieve non-default configuration data for the
interface table:
<rpc message-id ="
xmlns="urn:ietf:params:xml:ns:netconf:ba
se:1.0"
xmlns:xc="http://www.hp.com/netconf/base
:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<top
xmlns="http://www.hp.com/netconf/config:
1.0">
<Ifmgr>
<Interfaces>
<Interface/>
</Interfaces>
</Ifmgr>
</top>
</filter>
</get-config>