Skip to content
Snippets Groups Projects

Fixed the bug in migrate IP trunk workflow.

Merged Neda Moeini requested to merge fix/NAT-588 into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -658,7 +658,7 @@ def update_subscription_model(
@@ -658,7 +658,7 @@ def update_subscription_model(
subscription.iptrunk.iptrunk_sides[replace_index].iptrunk_side_ae_members.clear()
subscription.iptrunk.iptrunk_sides[replace_index].iptrunk_side_ae_members.clear()
# And update the list to only include the new member interfaces
# And update the list to only include the new member interfaces
for member in new_lag_member_interfaces:
for member in new_lag_member_interfaces:
subscription.iptrunk.iptrunk_sides[0].iptrunk_side_ae_members.append(
subscription.iptrunk.iptrunk_sides[replace_index].iptrunk_side_ae_members.append(
IptrunkInterfaceBlock.new(subscription_id=uuid4(), **member),
IptrunkInterfaceBlock.new(subscription_id=uuid4(), **member),
)
)
Loading