get-maint-mode-status

Resource URIs

URI Description
<base_URI>/operations/get-maint-mode-status Retrieves the maintenance mode status

Parameters

config-status
Displays the maintenance mode configuration status.
overall-status
Displays overall status of maintenance mode operation.
num-stages
Displays the total number of stages involved in entering/exiting maintenance mode.
current-stage
Displays the current stage that is active.
max-time
Displays the maximum time required to enter/exit maintenance mode.
container stages
Place holder for stages.
stage-num
Displays the stage number.
time-taken
Displays the time taken for this stage in seconds.
daemon-name
Displays the name of daemon.
status
Displays the status of the daemon.

Usage Guidelines

Only POST operation is supported.

Examples

URI

http://host:80/rest/operations/get-maint-mode-status

<get-maint-mode-status></get-maint-mode-status>
<output xmlns='urn:broadcom.com:mgmt:brocade-system-maintenance'>
    <config-status>enabled</config-status>
    <overall-status>complete</overall-status>
    <num-stages>2</num-stages>
    <current-stage>2</current-stage>
    <max-time>100</max-time>
    <stages>
        <stage>
            <stage-num>1</stage-num>
            <daemons>
                <daemon>
                    <daemon-name>bgp</daemon-name>
                    <status>time-out</status>
                </daemon>
                <daemon>
                    <daemon-name>mct</daemon-name>
                    <status>complete</status>
                </daemon>
            </daemons>
        </stage>
        <stage>
            <stage-num>2</stage-num>
            <daemons>
                <daemon>
                    <daemon-name>bgp</daemon-name>
                    <status>complete</status>
                </daemon>
                <daemon>
                    <daemon-name>mct</daemon-name>
                    <status>complete</status>
                </daemon>
            </daemons>
        </stage>
    </stages>
</output>