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

Setting Replace Mode as the Default Mode

The other method for replacing the entire candidate configuration is to set replace mode as the default incorporation mode. The candidate configuration includes the <default-operation>tag element with the value replace in the <edit-config> tag element, as described in Setting the Default Mode for Incorporating New Configuration Data. To specify the new configuration data, the application includes either a <config> tag element that contains the data or a <url> tag element that names the file containing the data, as discussed in Defining the New Configuration Data.


<rpc>
    <edit-config>
        <default-operation>replace</default-operation>
        <source>

        <!- - EITHER - ->
            <config>
                <!- - tag elements representing the new configuration - ->
            </config>
        <!- - OR - ->
            <url>
                <!- - location specifier for file containing the new configuration - ->
            </url>

        </source>
    </edit-config>
</rpc>
]]>]]>

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