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

update database migrations

parent d2db7cb5
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.
"""Add Edge Port and GÉANT IP products. """Add Edge Port and GÉANT IP products.
Revision ID: a08bf228f112 Revision ID: a08bf228f112
Revises: 87a05eddee3e Revises: 51c819b28101
Create Date: 2024-10-08 11:16:31.834340 Create Date: 2024-10-08 11:16:31.834340
""" """
...@@ -10,7 +10,7 @@ from alembic import op ...@@ -10,7 +10,7 @@ from alembic import op
# revision identifiers, used by Alembic. # revision identifiers, used by Alembic.
revision = 'a08bf228f112' revision = 'a08bf228f112'
down_revision = '87a05eddee3e' down_revision = '51c819b28101'
branch_labels = None branch_labels = None
depends_on = None depends_on = None
......
...@@ -78,13 +78,17 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator: ...@@ -78,13 +78,17 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator:
), ),
] ]
current_lag_ae_members = [ current_lag_ae_members = (
EdgePortLAGMember( [
interface_name=iface.interface_name, EdgePortLAGMember(
interface_description=iface.interface_description, interface_name=iface.interface_name,
) interface_description=iface.interface_description,
for iface in subscription.edge_port.edge_port_ae_members )
] if user_input.member_speed == subscription.edge_port.edge_port_member_speed else [] for iface in subscription.edge_port.edge_port_ae_members
]
if user_input.member_speed == subscription.edge_port.edge_port_member_speed
else []
)
class ModifyEdgePortInterfaceForm(FormPage): class ModifyEdgePortInterfaceForm(FormPage):
model_config = ConfigDict(title="Modify Edge Port Interface") model_config = ConfigDict(title="Modify Edge Port Interface")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment