get-maint-mode-status

This RPC is equivalent to the show system config-status CLI and retrieves the maintenance mode status.

Usage

<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" nc:message-id="9">
   <get-maint-mode-status xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance"></get-maint-mode-status>
</nc:rpc>
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="9">
   <config-status xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">enabled</config-status>
   <overall-status xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">complete</overall-status>
   <num-stages xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">2</num-stages>
   <current-stage xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">2</current-stage>
   <max-time xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">100</max-time>
   <stages xmlns="urn:broadcom.com:mgmt:brocade-system-maintenance">
      <stage>
         <stage-num>1</stage-num>
         <time-taken>0</time-taken>
         <daemons>
            <daemon>
               <daemon-name>bgp</daemon-name>
               <status>complete</status>
            </daemon>
            <daemon>
               <daemon-name>mct</daemon-name>
               <status>complete</status>
            </daemon>
         </daemons>
      </stage>
      <stage>
         <stage-num>2</stage-num>
         <time-taken>0</time-taken>
         <daemons>
            <daemon>
               <daemon-name>bgp</daemon-name>
               <status>complete</status>
            </daemon>
            <daemon>
               <daemon-name>mct</daemon-name>
               <status>complete</status>
            </daemon>
         </daemons>
      </stage>
   </stages>
</rpc-reply>

Parameters

config-status
This is the Maintenance Mode configuration status.
overall-status
This is the overall status of the Maintenance Mode operation.
num-stages
This is the total number of stages involved in entering/exiting the Maintenance Mode.
current-stage
This is the current active state for the operation.
max-time
The maximum time required to enter/exit Maintenance Mode.
container stages
This is the place holder for stages.
stage number
Displays the number of the active state.
time-taken
This is the time taken for this stage in seconds.
container daemons
This denotes the place holder for daemons.
daemon-name
The name of the daemon.
leaf status
This denotes the current status of the daemon.