Skip to content
Snippets Groups Projects

Feature/nat 329 interface names should validated 3

Merged Hakan Calim requested to merge feature/NAT-329-interface-names-should-validated-3 into develop
All threads resolved!
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
  • 242d10a2
    NAT-329: fixed test to validate interface names · 242d10a2
    Hakan Calim authored
@@ -51,7 +51,10 @@ def input_form_wizard_data(request, juniper_router_subscription_factory, nokia_r
# Set side b router to Juniper
if vendor == RouterVendor.JUNIPER:
router_side_b = juniper_router_subscription_factory()
side_b_members = ["et-1/0/1", "xe-1/0/2"]
interface_names = [f"{prefix}{i}" for prefix in ["xe-1/0/", "ge-3/0/", "xe-2/1/"] for i in range(5)]
side_b_members = [
LAGMember(interface_name=interface_name, interface_description=faker.sentence())
for interface_name in interface_names]
else:
router_side_b = nokia_router_subscription_factory()
side_b_members = [
Loading