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

Add documentation for GÉANT IP service related code

parent b4fedb4f
Branches
Tags 0.2
1 merge request!286Add Edge Port, GÉANT IP and IAS products
...@@ -236,7 +236,7 @@ def deploy_routing_instances_real(subscription: dict[str, Any], tt_number: str, ...@@ -236,7 +236,7 @@ def deploy_routing_instances_real(subscription: dict[str, Any], tt_number: str,
@step("Remove ISIS overload") @step("Remove ISIS overload")
def remove_isis_overload(subscription: dict[str, Any], tt_number: str, process_id: UUIDstr) -> LSOState: def remove_isis_overload(subscription: dict[str, Any], tt_number: str, process_id: UUIDstr) -> LSOState:
"""Remove ISIS overload.""" """Remove :term:`ISIS` overload."""
extra_vars = { extra_vars = {
"dry_run": False, "dry_run": False,
"subscription": subscription, "subscription": subscription,
......
...@@ -112,7 +112,7 @@ def test_edge_port_creation_with_invalid_input( ...@@ -112,7 +112,7 @@ def test_edge_port_creation_with_invalid_input(
test_client, test_client,
): ):
product_id = get_product_id_by_name(ProductName.EDGE_PORT) product_id = get_product_id_by_name(ProductName.EDGE_PORT)
# If the number of members is greater than 1 then LACP must be enabled. # If the number of members is greater than 1 then :term:`LACP` must be enabled.
input_form_wizard_data[0]["enable_lacp"] = False input_form_wizard_data[0]["enable_lacp"] = False
initial_data = [{"product": product_id}, *input_form_wizard_data] initial_data = [{"product": product_id}, *input_form_wizard_data]
......
...@@ -58,5 +58,5 @@ def test_validate_edge_port_success( ...@@ -58,5 +58,5 @@ def test_validate_edge_port_success(
subscription = EdgePort.from_subscription(subscription_id) subscription = EdgePort.from_subscription(subscription_id)
assert subscription.status == "active" assert subscription.status == "active"
assert mock_execute_playbook.call_count == 1 assert mock_execute_playbook.call_count == 1
# One time for getting the LAG and two times for getting the interfaces # One time for getting the :term:`LAG` and two times for getting the interfaces
assert mock_get_interface_by_name_and_device.call_count == 3 assert mock_get_interface_by_name_and_device.call_count == 3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment