Skip to content
Snippets Groups Projects

Trunk migration checks

Merged Aleksandr Kurbatov requested to merge feature/NAT-473_trunk_migration_checks into develop
All threads resolved!
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
@@ -224,6 +224,7 @@ def calculate_old_side_data(subscription: Iptrunk, replace_index: int) -> State:
def check_ip_trunk_optical_levels(
subscription: Iptrunk,
callback_route: str,
replace_index: int,
) -> State:
"""Check Optical levels on the trunk."""
extra_vars = {"wfo_ip_trunk_json": json.loads(json_dumps(subscription)), "check": "optical"}
@@ -407,6 +408,7 @@ def confirm_continue_move_fiber() -> FormGenerator:
def check_ip_trunk_connectivity(
subscription: Iptrunk,
callback_route: str,
replace_index: int,
) -> State:
"""Check successful connectivity across the new trunk."""
extra_vars = {"wfo_ip_trunk_json": json.loads(json_dumps(subscription)), "check": "ping"}
@@ -462,6 +464,7 @@ def deploy_new_isis(
def check_ip_trunk_isis(
subscription: Iptrunk,
callback_route: str,
replace_index: int,
) -> State:
"""Run an Ansible playbook to confirm :term:`ISIS` adjacency."""
extra_vars = {"wfo_ip_trunk_json": json.loads(json_dumps(subscription)), "check": "isis"}
Loading