Skip to content
Snippets Groups Projects
Commit af669244 authored by Neda Moeini's avatar Neda Moeini
Browse files

Fixed the error on showing number of members in modify trunk interface workflow.

parent bfb2c569
No related branches found
No related tags found
1 merge request!256Fix the error on showing number of members in modify trunk interface workflow.
Pipeline #88424 passed
...@@ -93,7 +93,7 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator: ...@@ -93,7 +93,7 @@ def initial_input_form_generator(subscription_id: UUIDstr) -> FormGenerator:
"You will need to add the new AE members in the next steps." "You will need to add the new AE members in the next steps."
) )
iptrunk_speed: PhysicalPortCapacity = subscription.iptrunk.iptrunk_speed iptrunk_speed: PhysicalPortCapacity = subscription.iptrunk.iptrunk_speed
iptrunk_number_of_members: int = subscription.iptrunk.iptrunk_minimum_links + 1 iptrunk_number_of_members: int = len(subscription.iptrunk.iptrunk_sides[0].iptrunk_side_ae_members)
iptrunk_isis_metric: ReadOnlyField(subscription.iptrunk.iptrunk_isis_metric, default_type=int) # type: ignore[valid-type] iptrunk_isis_metric: ReadOnlyField(subscription.iptrunk.iptrunk_isis_metric, default_type=int) # type: ignore[valid-type]
iptrunk_ipv4_network: ReadOnlyField( # type: ignore[valid-type] iptrunk_ipv4_network: ReadOnlyField( # type: ignore[valid-type]
str(subscription.iptrunk.iptrunk_ipv4_network), default_type=IPv4AddressType str(subscription.iptrunk.iptrunk_ipv4_network), default_type=IPv4AddressType
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment