FSM sam:dme:SwExtUtilityConfPortBreakout

Rule ID:1740

This FSM performs the configuration of the port breakout.
Applies to MO: sw:ExtUtility

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

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:SwExtUtilityConfPortBreakout:PortInventorySwA)

  Notify:
   Target: sam:statsAG
   Instance: a
   Purpose: mod
   Custom: false
   Data: sw:ExtUtility
   Method: FsmSwExtUtilityConfPortBreakoutPortInventorySwA

 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:SwExtUtilityConfPortBreakout:PortInventorySwB)

  Notify:
   Target: sam:statsAG
   Instance: b
   Purpose: mod
   Custom: false
   Data: sw:ExtUtility
   Method: FsmSwExtUtilityConfPortBreakoutPortInventorySwB

 ConfigSwA
Configures the physical ports on Fabric Interconnect "A". This stage configures the ports as breakout/normal. 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 port breakout mode mode on fabric interconnect id(FSM-STAGE:sam:dme:SwExtUtilityConfPortBreakout:ConfigSwA)

  Notify:
   Target: sam:portAG
   Instance: a
   Purpose: mod
   Custom: false
   Data: sw:ExtUtility
   Method: FsmSwExtUtilityConfPortBreakoutConfigSwA

 ConfigSwB
Configures the physical ports on Fabric Interconnect "B". This stage configures the ports as breakout/normal. The port AG may reset GEM cards and reboot the FI.

  On Success: VerifyBreakoutConfig
  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 port breakout mode on fabric interconnect id(FSM-STAGE:sam:dme:SwExtUtilityConfPortBreakout:ConfigSwB)

  Notify:
   Target: sam:portAG
   Instance: b
   Purpose: mod
   Custom: false
   Data: sw:ExtUtility
   Method: FsmSwExtUtilityConfPortBreakoutConfigSwB

 VerifyBreakoutConfig
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 port breakout config on fabric interconnect id(FSM-STAGE:sam:dme:SwExtUtilityConfPortBreakout:VerifyBreakoutConfig)

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