Service IronWare Administration Guide (Supporting R05.6.00) User Manual
Multi-Service IronWare Administration Guide 283
53-1003028-02
Basic NETCONF operations
8
NOTE
Other capabilities, including Candidate Configuration Capability, Confirmed Commit
Capability, and Validate Capability, are not supported.
<get> operation
The NETCONF <get> operation retrieves the devices and the state data, or a filtered subset of the
data.
If the device can satisfy the request, the server sends an
<rpc-reply> element containing a
<data> element with the results of the query. If the request cannot be completed, an <rpc-error>
element is included in the
<rpc-reply> element.
Parameter
The <get> operation uses the filter parameter. The filter parameter specifies the portion of
the system data to retrieve. If this parameter is not present, show version information is returned.
Examples
The following is an example of a <get> operation:
<nc:rpc message-id="1" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
<nc:get>
</nc:get>
</nc:rpc>
]]>]]>
The following is an example of a <get> operation for MPLS state data.
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/"
message-id="25">
<nc:get>
<nc:filter >
<brcd:netiron-statedata>
<brcd:mpls-statedata/>
</brcd:netiron-statedata>
</nc:filter>
</nc:get>
</nc:rpc>
]]>]]>
The following is an example of a <get> operation for a specific LSP.
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
xmlns:brcd="http://brocade.com/ns/netconf/config/netiron-config/"
message-id="25">
<nc:get>
<nc:filter nc:type="subtree" >
<brcd:netiron-statedata>
<brcd:mpls-statedata>
<brcd:mpls-lsp-statedata>
<brcd:name>scriptlsp1001</brcd:name>
</brcd:mpls-lsp-statedata>
</brcd:mpls-statedata>