[Contents] [Prev] [Next] [Index] [Report an Error]

Operational Responses

Operational responses are responses to requests for information about C-series Controller status. They correspond to the output from CLI operational commands as described in the SRC CLI command references.

The SRC XML API defines response tag elements for all defined operational request tag elements. For example, the NETCONF server returns the information requested by the <get-system-info> tag element in a response tag element called <system-info>.

The following sample response includes information about the C-series Controller. The namespace indicated by the xmlns attribute in the opening <system-info> tag is for system information. The opening tags appear on two lines here for legibility only:


<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"\
                xmlns:sdx="http://xml.juniper.net/junos/sdx/1.0">
    <system-info sdx:style="normal"\
                xmlns="http://xml.juniper.net/sdx/system-info"\
                xmlns:sdx="http://xml.juniper.net/sdx">
        <cpu xmlns="http://xml.juniper.net/sdx/cpu">
            <number>4</number>
            <model>Dual Core AMD Opteron(tm) Processor 265</model>
            <speed>1804.108 MHz</speed>
        </cpu>
        <!- - other data tag elements for <system-info> - ->
    </system-info>
</rpc-reply>
]]>]]>

For more information about the xmlns attribute and the contents of operational response tag elements, see Requesting Operational Information. For a summary of operational response tag elements, see the SRC XML API Operational Reference.


[Contents] [Prev] [Next] [Index] [Report an Error]