FSM sam:dme:FirmwareDownloaderDownload

Rule ID:266

FSM to download a California image
Applies to MO: firmware:Downloader

Name: Download
Stage: post-explicit
Message: downloading image fileName from server(FSM:sam:dme:FirmwareDownloaderDownload)

Begin State: Local


States
 Local
NO COMMENTS

  On Success: UnpackLocal
  On Fail: DeleteLocal
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 360000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: downloading image fileName from server(FSM-STAGE:sam:dme:FirmwareDownloaderDownload:Local)

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

 UnpackLocal
NO COMMENTS

  On Success: DeleteLocal
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 240000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: unpacking image fileName on primary(FSM-STAGE:sam:dme:FirmwareDownloaderDownload:UnpackLocal)

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

 DeleteLocal
NO COMMENTS

  On Success: CopyRemote
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 60000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: deleting downloadable fileName on local(FSM-STAGE:sam:dme:FirmwareDownloaderDownload:DeleteLocal)

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

 CopyRemote
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: sync images to subordinate(FSM-STAGE:sam:dme:FirmwareDownloaderDownload:CopyRemote)

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