diff --git a/gso/workflows/l3_core_service/migrate_l3_core_service.py b/gso/workflows/l3_core_service/migrate_l3_core_service.py index 259e9e6ee2fd654e133eebd7c32972a9efbc72ea..6a0ff8a8d36435e418399e8b87571be02fc5a788 100644 --- a/gso/workflows/l3_core_service/migrate_l3_core_service.py +++ b/gso/workflows/l3_core_service/migrate_l3_core_service.py @@ -368,6 +368,13 @@ def deploy_bgp_session_real( } +@step("Update Infoblox") +def update_dns_records(subscription: L3CoreService) -> State: + """Update DNS records in Infoblox.""" + # TODO: implement + return {"subscription": subscription} + + @step("Update subscription model") def update_subscription_model( subscription: L3CoreService, destination_edge_port: EdgePort, replaced_ap_index: int @@ -404,6 +411,7 @@ def migrate_l3_core_service() -> StepList: >> lso_interaction(deploy_destination_ep_real) >> lso_interaction(deploy_bgp_session_dry) >> lso_interaction(deploy_bgp_session_real) + >> update_dns_records >> update_subscription_model >> resync >> stop_moodi()