Skip to content
Snippets Groups Projects
Verified Commit 5f2a9747 authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Update G_IP migration workflow

parent 67fa386e
No related branches found
No related tags found
1 merge request!286Add Edge Port, GÉANT IP and IAS products
"""A creation workflow for adding an existing GEANT IP to the service database."""
"""A creation workflow for adding an existing NREN L3 Core Service to the service database."""
from uuid import uuid4
......@@ -88,11 +88,11 @@ def initialize_subscription(subscription: ImportedNRENL3CoreServiceInactive, ser
sbp_bgp_session_list=sbp_bgp_session_list,
**service_binding_port,
)
subscription.geant_ip.geant_ip_ap_list.append(
subscription.nren_l3_core_service.nren_ap_list.append(
NRENAccessPortInactive.new(
subscription_id=uuid4(),
nren_ap_type=service_binding_port["ap_type"],
geant_ip_sbp=service_binding_port_subscription,
ap_type=service_binding_port["ap_type"],
sbp=service_binding_port_subscription,
)
)
......
......@@ -60,7 +60,7 @@ def imported_geant_ip_creation_input_form_data(edge_port_subscription_factory, p
def test_create_imported_geant_ip_success(faker, imported_geant_ip_creation_input_form_data):
result, _, _ = run_workflow("create_imported_geant_ip", [imported_geant_ip_creation_input_form_data])
result, _, _ = run_workflow("create_imported_nren_l3_core_service", [imported_geant_ip_creation_input_form_data])
state = extract_state(result)
subscription = ImportedNRENL3CoreService.from_subscription(state["subscription_id"])
assert_complete(result)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment