FSM sam:dme:SwPhysConfPhysical

Rule ID:855

This FSM performs the configuration of the physical Ethernet and FC ports.
Applies to MO: sw:Phys

Name: ConfPhysical
Stage: post-explicit
Message: Physical port of switch id(FSM:sam:dme:SwPhysConfPhysical)

Begin State: PortInventorySwA


States
 PortInventorySwA
Performs an inventory of all the physical ports on switch A

  On Success: PortInventorySwB
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Performing local port inventory of switch id(FSM-STAGE:sam:dme:SwPhysConfPhysical:PortInventorySwA)

  Notify:
   Target: sam:statsAG
   Instance: a
   Purpose: mod
   Custom: false
   Data: sw:Phys
   Method: FsmSwPhysConfPhysicalPortInventorySwA

 PortInventorySwB
Performs an inventory of all the physical ports on switch B

  On Success: ConfigSwA
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Performing peer port inventory of switch id(FSM-STAGE:sam:dme:SwPhysConfPhysical:PortInventorySwB)

  Notify:
   Target: sam:statsAG
   Instance: b
   Purpose: mod
   Custom: false
   Data: sw:Phys
   Method: FsmSwPhysConfPhysicalPortInventorySwB

 ConfigSwA
Configures the physical ports on Fabric Interconnect "A". This stage configures the ports as either Ethernet or Fibre Channel. The port AG may reset GEM cards and reboot the FI.

  On Success: ConfigSwB
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 20000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Configure physical port mode on fabric interconnect id(FSM-STAGE:sam:dme:SwPhysConfPhysical:ConfigSwA)

  Notify:
   Target: sam:portAG
   Instance: a
   Purpose: mod
   Custom: false
   Data: sw:Phys
   Method: FsmSwPhysConfPhysicalConfigSwA

 ConfigSwB
Configures the physical ports on Fabric Interconnect "B". This stage configures the ports as either Ethernet or Fibre Channel. The port AG may reset GEM cards and reboot the FI.

  On Success: VerifyPhysConfig
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FOREVER
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 20000
  Retry Count: 20
  Unavailable: UNAVAIL_RETRY
  Message: Configure physical port mode on fabric interconnect id(FSM-STAGE:sam:dme:SwPhysConfPhysical:ConfigSwB)

  Notify:
   Target: sam:portAG
   Instance: b
   Purpose: mod
   Custom: false
   Data: sw:Phys
   Method: FsmSwPhysConfPhysicalConfigSwB

 VerifyPhysConfig
Verify the physical port inventory matches the desired configuration state

  On Success:
  On Fail:
  Restart: INIT_RESET
  Retry: RETRY_FINITE
  Retry Exhaust: RETRY_EXHAUST_RESET_FSM
  Retry Interval: 30000
  Retry Count: 30
  Unavailable: UNAVAIL_RETRY
  Message: Verifying physical transition on fabric interconnect id(FSM-STAGE:sam:dme:SwPhysConfPhysical:VerifyPhysConfig)

  Notify:
   Target:
   Instance: active
   Purpose: mod
   Custom: true
   Data: