Skip to content

Migrate layer2 circuit

This workflow migrates an L2 Core Service to a new Edge Port.

It can be triggered by an operator or automatically by the system during Edge Port migration which is a separate workflow.

System-triggered migration: When the system migrates an Edge Port, it runs the workflow automatically. The source and destination Edge Ports are set to the same values. Then here migration only applies the configuration to the router and fill the drift between core DB as source of truth and the actual network since the intent of network has changed in the previous workflow even though the L2 Circuit Service is not changed.

Operator-triggered migration: When an operator initiates the workflow, they are required to specify both the source and destination EdgePorts. During the migration process, the system updates the related edge_port reference to replace the source EdgePort with the destination EdgePort and applies the necessary configuration changes to the router.

Important Note: Since an L2 Circuit Service has multiple side, the workflow must be run separately for each side to fully migrate the service.