Skip to content

Commit

Permalink
Fixing the output and suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Jan 24, 2024
1 parent 5f8e087 commit 65ad0dc
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ router isis EVPN_UNDERLAY
graceful-restart
graceful-restart restart-hold-time 10
graceful-restart t2 level-1 10
graceful-restart t2 level-1 20
graceful-restart t2 level-2 20
!
address-family ipv4 unicast
maximum-paths 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ router isis EVPN_UNDERLAY
graceful-restart
graceful-restart restart-hold-time 10
graceful-restart t2 level-1 10
graceful-restart t2 level-1 20
graceful-restart t2 level-2 20
!
address-family ipv4 unicast
maximum-paths 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;restart_hold_time</samp>](## "router_isis.graceful_restart.restart_hold_time") | Integer | | | Min: 5<br>Max: 300 | Number of seconds |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;t2</samp>](## "router_isis.graceful_restart.t2") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wait_time</samp>](## "router_isis.graceful_restart.t2.wait_time") | Integer | | | Min: 5<br>Max: 300 | LSP database sync wait time in seconds |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level_1_wait_time</samp>](## "router_isis.graceful_restart.t2.level_1_wait_time") | Integer | | | Min: 5<br>Max: 300 | Number of seconds |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level_2_wait_time</samp>](## "router_isis.graceful_restart.t2.level_2_wait_time") | Integer | | | Min: 5<br>Max: 300 | Number of seconds |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level_1_wait_time</samp>](## "router_isis.graceful_restart.t2.level_1_wait_time") | Integer | | | Min: 5<br>Max: 300 | Level-1 LSP database sync wait time in seconds. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level_2_wait_time</samp>](## "router_isis.graceful_restart.t2.level_2_wait_time") | Integer | | | Min: 5<br>Max: 300 | Level-2 LSP database sync wait time in seconds. |

=== "YAML"

Expand Down Expand Up @@ -175,9 +175,9 @@
# LSP database sync wait time in seconds
wait_time: <int; 5-300>

# Number of seconds
# Level-1 LSP database sync wait time in seconds.
level_1_wait_time: <int; 5-300>

# Number of seconds
# Level-2 LSP database sync wait time in seconds.
level_2_wait_time: <int; 5-300>
```

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

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 @@ -77,16 +77,11 @@ router isis {{ router_isis.instance }}
{% if router_isis.graceful_restart.restart_hold_time is arista.avd.defined %}
graceful-restart restart-hold-time {{ router_isis.graceful_restart.restart_hold_time }}
{% endif %}
{% if router_isis.graceful_restart.t2.wait_time is arista.avd.defined %}
graceful-restart t2 level-1 {{ router_isis.graceful_restart.t2.wait_time }}
graceful-restart t2 level-2 {{ router_isis.graceful_restart.t2.wait_time }}
{% else %}
{% if router_isis.graceful_restart.t2.level_1_wait_time is arista.avd.defined %}
{% if router_isis.graceful_restart.t2.level_1_wait_time is arista.avd.defined %}
graceful-restart t2 level-1 {{ router_isis.graceful_restart.t2.level_1_wait_time }}
{% endif %}
{% if router_isis.graceful_restart.t2.level_2_wait_time is arista.avd.defined %}
{% endif %}
{% if router_isis.graceful_restart.t2.level_2_wait_time is arista.avd.defined %}
graceful-restart t2 level-2 {{ router_isis.graceful_restart.t2.level_2_wait_time }}
{% endif %}
{% endif %}
{% endif %}
!
Expand Down

0 comments on commit 65ad0dc

Please sign in to comment.