Migrate a 3-Stage Clos to 5-Stage Clos Fabric

When the 3-stage Clos fabric is migrated to a 5-stage Clos fabric,

  1. Fabric stage is changed from “3” to “5”.
  2. Fabric state is changed to “migrate-success” or “migrate-failed”.
  3. Leaf and Spine devices will get the POD name = destination-3-stage-leaf-spine-pod.
  4. Border Leaf devices will get the POD name = destination-3-stage-border-leaf-pod.
  5. App State of all the leaf, border leaf and spine devices will be changed to “cfg-refreshed”.
  6. Pending Configs of all the leaf, border leaf and spine devices will be changed to “BGP-C, BGP-D”.
Note

Note

Brownfield configuration is not supported on the new devices added to the fabric in "migrate-success" state.
$ efa fabric migrate --type "3-to-5-stage" --source-fabric fabric1 
             --destination-3-stage-leaf-spine-pod POD-SP-1 --destination-3-stage-border-leaf-pod POD-BL-1

Fabric Name: fabric1, Fabric Description: , Fabric Stage: 5, Fabric Type: clos, Fabric Status: migrate-success
+---------------+---------+------+------+----------+-------------+--------------+-----------+------------------+------+----+
|  IP ADDRESS   |  POD    | HOST | ASN  |   ROLE   | DEVICE STATE|   APP STATE  | CONFIG GEN| PENDING CONFIGS  | VTLB | LB |
|               |         | NAME |      |          |             |              | REASON    |                  | ID   | ID |
+---------------+---------+------+------+----------+-------------+--------------+-----------+------------------+------+----+
| 10.17.112.221 |POD-SP-1 | SP1  |64512 |spine     | provisioned | cfg refreshed| NA        |SYSP-U,BGP-C,BGP-D| NA   | 1  |
| 10.17.112.222 |POD-SP-1 | SP2  |64512 |spine     | provisioned | cfg refreshed| NA        |SYSP-U,BGP-C,BGP-D| NA   | 1  |
| 10.17.112.223 |POD-SP-1 | L11  |65000 |leaf      | provisioned | cfg refreshed| NA        |SYSP-U,BGP-C,BGP-D| 2    | 1  |
| 10.17.112.224 |POD-SP-1 | L12  |65000 |leaf      | provisioned | cfg refreshed| NA        |SYSP-U,BGP-C,BGP-D| 2    | 1  |
| 10.17.112.225 |POD-BL-1 | BL21 |66000 |borderleaf| provisioned | cfg refreshed| NA        |SYSP-U,BGP-C,BGP-D| 2    | 1  |
| 10.17.112.226 |POD-BL-1 | BL22 |66000 |borderleaf| provisioned | cfg refreshed| NA        |SYSP-U,BGP-C,BGP-D| 2    | 1  |
+---------------+---------+------+------+----------+-------------+--------------+-----------+------------------+------+----+

The following diagram depicts a 5-stage topology after fabric migration: