FSM sam:dme:SysdebugTechSupportDownload

Rule ID:630

NO COMMENTS
Applies to MO: sysdebug:TechSupport

Name: Download
Stage: post-explicit
Message: copy tech-support file from subordinate switch to primary(FSM:sam:dme:SysdebugTechSupportDownload)

Begin State: CopySub


States
 CopySub
NO COMMENTS

  On Success: CopyPrimary
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: copy tech-support file on subordinate switch to tmp directory(FSM-STAGE:sam:dme:SysdebugTechSupportDownload:CopySub)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmSysdebugTechSupportDownloadCopySub

 CopyPrimary
NO COMMENTS

  On Success: DeleteSub
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Copy the tech-support file to primary for download(FSM-STAGE:sam:dme:SysdebugTechSupportDownload:CopyPrimary)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmSysdebugTechSupportDownloadCopyPrimary

 DeleteSub
NO COMMENTS

  On Success: DeletePrimary
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Delete the tech-support file from subordinate under tmp directory(FSM-STAGE:sam:dme:SysdebugTechSupportDownload:DeleteSub)

  Notify:
   Target: sam:dcosAG
   Instance: peer
   Purpose: mod
   Custom: false
   Data:
   Method: FsmSysdebugTechSupportDownloadDeleteSub

 DeletePrimary
NO COMMENTS

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Delete the tech-support file from primary switch under tmp directory(FSM-STAGE:sam:dme:SysdebugTechSupportDownload:DeletePrimary)

  Notify:
   Target: sam:dcosAG
   Instance: self
   Purpose: mod
   Custom: false
   Data:
   Method: FsmSysdebugTechSupportDownloadDeletePrimary