Skip to content

Commit

Permalink
updated the j2 logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahesh Kumar authored and Vibhu-gslab committed Dec 2, 2024
1 parent 3de7e99 commit a292b68
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ router adaptive-virtual-topology
{% elif profile.outlier_elimination.enabled is arista.avd.defined(false) %}
path-selection outlier elimination disabled
{% endif %}
{% if profile.outlier_elimination.threshold.latency is arista.avd.defined or
profile.outlier_elimination.threshold.jitter is arista.avd.defined or
profile.outlier_elimination.threshold.loss_rate is arista.avd.defined or
profile.outlier_elimination.threshold.load is arista.avd.defined %}
{% if profile.outlier_elimination.threshold is arista.avd.defined %}
{% if profile.outlier_elimination.threshold.latency is arista.avd.defined %}
path-selection outlier elimination threshold latency {{ profile.outlier_elimination.threshold.latency }} milliseconds
{% endif %}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ keys:
type: dict
keys:
enabled:
description: Set true for enable the AVT path outlier elimination and False to disable the same.
description: Set true to enable the AVT path outlier elimination or false to disable the same.
type: bool
threshold:
description: Change the threshold values for path comparison.
Expand Down

0 comments on commit a292b68

Please sign in to comment.