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


<commit-configuration>

Usage

<rpc>
    <commit-configuration/>

    <commit-configuration>
        <check/>
    </commit-configuration>

    <commit-configuration>
        <log>log-message</log>
    </commit-configuration>

<commit-configuration>
        <at-time>time-specification</at-time>
        <log>log-message</log>
    </commit-configuration>

    <commit-configuration>
        <confirmed/>
        <confirm-timeout>
rollback-delay</confirm-timeout>
        <log>log-message</log>
    </commit-configuration>

    <commit-configuration>
        <synchronize/>
        <log>log-message</log>
    </commit-configuration>

    <commit-configuration>
        <synchronize/>
        <at-time>time-specification</at-time>
        <log>log-message</log>
    </commit-configuration>

    <commit-configuration>
        <synchronize/>
        <check/>
        <log>log-message</log>
    </commit-configuration>

    <commit-configuration>
        <synchronize/>
        <confirmed/>
        <confirm-timeout>
rollback-delay</confirm-timeout>
        <log>log-message</log>
    </commit-configuration>
</rpc>

Description

Request that the JUNOScript server perform one of the following actions, depending on the tag element's contents:

The configuration is checked immediately for syntactic correctness. If the check succeeds, the configuration is scheduled for commit at the specified time. If the check fails, the commit operation is not scheduled.

To delay the rollback again (past the original rollback deadline), emit the <confirmed/> tag (enclosed in the <commit-configuration> tag element) again before the deadline passes. Include the <confirm-timeout> tag element to specify how long to delay the next rollback, or omit that tag element to use the default of 10 minutes. The rollback can be delayed repeatedly in this way.

To commit the configuration immediately and permanently after emitting the <confirmed/> tag, emit the empty <commit-configuration/> tag before the rollback deadline passes. The JUNOScript server commits the current candidate configuration and cancels the rollback. If the candidate configuration is still the same as the current committed configuration, the effect is the same as recommitting the current committed configuration.

Contents

at-time—Schedules the commit operation for a specified future time.

check—Requests verification that the configuration is syntactically correct, but does not actually commit it.

confirmed—Requests a commit of the current candidate configuration and a rollback to the previous configuration after a short time, 10 minutes by default. Use the <confirm-timeout> tag element to specify a different amount of time.

confirm-timeout—Specifies the number of minutes for which the configuration remains active when the <confirmed/> tag is enclosed in the <commit-configuration> tag element.

log—Records a message in the file /var/log/commits when the commit operation succeeds.

synchronize—Requests that the candidate configuration on the local Routing Engine be copied to the other Routing Engine, checked for correct syntax, and committed on both Routing Engines.

See Also

<commit-results>, <rpc>


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