From e5055bef49e2b636bd795e8ece73bf227840ff87 Mon Sep 17 00:00:00 2001
From: Aleksandr Kurbatov <ak@geant.org>
Date: Sat, 22 Feb 2025 11:56:06 +0000
Subject: [PATCH] Add placeholder for `update_dns_records`
---
gso/workflows/l3_core_service/migrate_l3_core_service.py | 8 ++++++++
1 file changed, 8 insertions(+)
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 259e9e6ee..6a0ff8a8d 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()
--
GitLab