Skip to content
Snippets Groups Projects
Verified Commit 456b76cd authored by Neda Moeini's avatar Neda Moeini Committed by Karel van Klink
Browse files

Fix docstr issue.

parent 598f84f2
No related branches found
No related tags found
1 merge request!286Add Edge Port, GÉANT IP and IAS products
This commit is part of merge request !286. Comments created here will be created in the context of that merge request.
...@@ -245,7 +245,7 @@ def update_edge_port_real( ...@@ -245,7 +245,7 @@ def update_edge_port_real(
@step("Allocate/Deallocate interfaces in NetBox") @step("Allocate/Deallocate interfaces in NetBox")
def allocate_interfaces_in_netbox(subscription: EdgePort, previous_ae_members: list[dict]) -> None: def allocate_interfaces_in_netbox(subscription: EdgePort, previous_ae_members: list[dict]) -> None:
"""Allocate the new interfaces in NetBox and detach the old ones from the LAG.""" """Allocate the new interfaces in NetBox and detach the old ones from the :term:`LAG`."""
nbclient = NetboxClient() nbclient = NetboxClient()
for member in subscription.edge_port.edge_port_ae_members: for member in subscription.edge_port.edge_port_ae_members:
if any(member.interface_name == prev_member["interface_name"] for prev_member in previous_ae_members): if any(member.interface_name == prev_member["interface_name"] for prev_member in previous_ae_members):
...@@ -271,7 +271,7 @@ def modify_edge_port() -> StepList: ...@@ -271,7 +271,7 @@ def modify_edge_port() -> StepList:
* Modify the subscription object in the service database * Modify the subscription object in the service database
* Modify configuration on the new edge port, first as a dry run * Modify configuration on the new edge port, first as a dry run
* Change LAG and LAG members in the Netbox. * Change :term:`LAG` and :term:`LAG` members in the Netbox.
""" """
capacity_has_changed = conditional(lambda state: state["capacity_has_changed"]) capacity_has_changed = conditional(lambda state: state["capacity_has_changed"])
return ( return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment