Skip to content
Snippets Groups Projects

Draft: Edge Port(Demarcation Point)

Closed Neda Moeini requested to merge feature/NAT-404-demarcation-point into develop
1 file
+ 8
4
Compare changes
  • Side-by-side
  • Inline
@@ -484,7 +484,7 @@ def add_all_p_to_pe_real(
)
@step("[DRY RUN] Add PE to all P")
@step("[DRY RUN] Add this new PE to all P")
def add_pe_to_all_p_dry(subscription: dict[str, Any], callback_route: str, tt_number: str, process_id: UUIDstr) -> None:
"""Perform a dry run of adding promoted router to all PE routers in iGEANT/iGEANT6."""
extra_vars = {
@@ -498,12 +498,14 @@ def add_pe_to_all_p_dry(subscription: dict[str, Any], callback_route: str, tt_nu
lso_client.execute_playbook(
playbook_name="update_ibgp_mesh.yaml",
callback_route=callback_route,
inventory=generate_inventory_for_active_routers(RouterRole.P),
inventory=generate_inventory_for_active_routers(
RouterRole.P, exclude_routers=[subscription["router"]["router_fqdn"]]
),
extra_vars=extra_vars,
)
@step("[FOR REAL] Add PE to all P")
@step("[FOR REAL] Add this new PE to all P")
def add_pe_to_all_p_real(
subscription: dict[str, Any], callback_route: str, tt_number: str, process_id: UUIDstr
) -> None:
@@ -519,7 +521,9 @@ def add_pe_to_all_p_real(
lso_client.execute_playbook(
playbook_name="update_ibgp_mesh.yaml",
callback_route=callback_route,
inventory=generate_inventory_for_active_routers(RouterRole.P),
inventory=generate_inventory_for_active_routers(
RouterRole.P, exclude_routers=[subscription["router"]["router_fqdn"]]
),
extra_vars=extra_vars,
)
Loading