Skip to content
Snippets Groups Projects

ISIS high metric change

Closed Aleksandr Kurbatov requested to merge trunk_migration into develop
2 files
+ 9
5
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -63,10 +63,10 @@ def deploy_base_config_real(
@@ -63,10 +63,10 @@ def deploy_base_config_real(
@step("[COMMIT] Set ISIS metric to 90.000")
@step("[COMMIT] Set ISIS metric to 90.000")
def set_isis_to_90000(subscription: Iptrunk, process_id: UUIDstr, callback_route: str, tt_number: str) -> State:
def set_isis_to_99000(subscription: Iptrunk, process_id: UUIDstr, callback_route: str, tt_number: str) -> State:
"""Workflow step for setting the :term:`ISIS` metric to 90k as an arbitrarily high value to drain a link."""
"""Workflow step for setting the :term:`ISIS` metric to 99k as an arbitrarily high value to drain a link."""
old_isis_metric = subscription.iptrunk.iptrunk_isis_metric
old_isis_metric = subscription.iptrunk.iptrunk_isis_metric
subscription.iptrunk.iptrunk_isis_metric = 90000
subscription.iptrunk.iptrunk_isis_metric = 99000
extra_vars = {
extra_vars = {
"wfo_trunk_json": json.loads(json_dumps(subscription)),
"wfo_trunk_json": json.loads(json_dumps(subscription)),
"dry_run": False,
"dry_run": False,
Loading