Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(eos_cli_config_gen): Extend router_isis data-model #3539

Merged
merged 8 commits into from
Jan 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,12 @@ interface Vlan4094
| Local Convergence Delay (ms) | 15000 |
| Advertise Passive-only | True |
| SR MPLS Enabled | True |
| SPF Interval | 250 |
| SPF Interval Wait Time| 10 |
| Graceful-restart Enabled | True |
| Graceful-restart t2 Level-1 | 10 |
| Graceful-restart t2 Level-2 | 20 |
| Graceful-restart Restart-hold-time | 10 |

#### ISIS Route Redistribution

Expand Down Expand Up @@ -235,6 +241,7 @@ interface Vlan4094
| -------- | ----- |
| IPv4 Address-family Enabled | True |
| Maximum-paths | 4 |
| BFD All-interfaces | True |
| TI-LFA Mode | link-protection |
| TI-LFA Level | level-2 |
| TI-LFA SRLG Enabled | True |
Expand All @@ -252,6 +259,7 @@ interface Vlan4094
| -------- | ----- |
| IPv6 Address-family Enabled | True |
| Maximum-paths | 4 |
| BFD All-interfaces | True |
| TI-LFA Mode | node-protection |
| TI-LFA SRLG Enabled | True |

Expand All @@ -272,15 +280,22 @@ router isis EVPN_UNDERLAY
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
advertise passive-only
spf-interval 250 10
graceful-restart
graceful-restart t2 level-1 10
graceful-restart t2 level-2 20
graceful-restart restart-hold-time 10
!
address-family ipv4 unicast
maximum-paths 4
tunnel source-protocol bgp ipv4 labeled-unicast rcf lu_2_sr_pfx()
bfd all-interfaces
fast-reroute ti-lfa mode link-protection level-2
fast-reroute ti-lfa srlg strict
!
address-family ipv6 unicast
maximum-paths 4
bfd all-interfaces
fast-reroute ti-lfa mode node-protection
fast-reroute ti-lfa srlg
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,22 @@ router isis EVPN_UNDERLAY
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
advertise passive-only
spf-interval 250 10
graceful-restart
graceful-restart t2 level-1 10
graceful-restart t2 level-2 20
graceful-restart restart-hold-time 10
!
address-family ipv4 unicast
maximum-paths 4
tunnel source-protocol bgp ipv4 labeled-unicast rcf lu_2_sr_pfx()
bfd all-interfaces
fast-reroute ti-lfa mode link-protection level-2
fast-reroute ti-lfa srlg strict
!
address-family ipv6 unicast
maximum-paths 4
bfd all-interfaces
fast-reroute ti-lfa mode node-protection
fast-reroute ti-lfa srlg
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ router_isis:
is_type: level-2
log_adjacency_changes: true
mpls_ldp_sync_default: true
spf_interval:
interval: 250
wait_interval: 10
graceful_restart:
enabled: true
restart_hold_time: 10
t2:
level_1_wait_time: 10
level_2_wait_time: 20
timers:
local_convergence:
protected_prefixes: true
Expand All @@ -29,6 +38,7 @@ router_isis:
route_map: RM-OSPF-NSSA_EXT-TO-ISIS
address_family_ipv4:
maximum_paths: 4
bfd_all_interfaces: true
fast_reroute_ti_lfa:
mode: link-protection
level: level-2
Expand All @@ -40,6 +50,7 @@ router_isis:
rcf: lu_2_sr_pfx()
address_family_ipv6:
maximum_paths: 4
bfd_all_interfaces: true
fast_reroute_ti_lfa:
mode: node-protection
srlg:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
| [<samp>&nbsp;&nbsp;address_family_ipv4</samp>](## "router_isis.address_family_ipv4") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;enabled</samp>](## "router_isis.address_family_ipv4.enabled") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;maximum_paths</samp>](## "router_isis.address_family_ipv4.maximum_paths") | Integer | | | Min: 1<br>Max: 128 | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;bfd_all_interfaces</samp>](## "router_isis.address_family_ipv4.bfd_all_interfaces") | Boolean | | | | Enable BFD on all interfaces. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;fast_reroute_ti_lfa</samp>](## "router_isis.address_family_ipv4.fast_reroute_ti_lfa") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mode</samp>](## "router_isis.address_family_ipv4.fast_reroute_ti_lfa.mode") | String | | | Valid Values:<br>- <code>link-protection</code><br>- <code>node-protection</code> | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level</samp>](## "router_isis.address_family_ipv4.fast_reroute_ti_lfa.level") | String | | | Valid Values:<br>- <code>level-1</code><br>- <code>level-2</code> | |
Expand All @@ -44,9 +45,10 @@
| [<samp>&nbsp;&nbsp;address_family_ipv6</samp>](## "router_isis.address_family_ipv6") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;enabled</samp>](## "router_isis.address_family_ipv6.enabled") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;maximum_paths</samp>](## "router_isis.address_family_ipv6.maximum_paths") | Integer | | | Min: 1<br>Max: 128 | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;bfd_all_interfaces</samp>](## "router_isis.address_family_ipv6.bfd_all_interfaces") | Boolean | | | | Enable BFD on all interfaces. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;fast_reroute_ti_lfa</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mode</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa.mode") | String | | | Valid Values:<br>- <code>link-protection</code><br>- <code>node-protection</code> | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa.level") | String | | | Valid Values:<br>- <code>level-1</code><br>- <code>level-2</code> | Optional, default is to protect all levels |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa.level") | String | | | Valid Values:<br>- <code>level-1</code><br>- <code>level-2</code> | Optional, default is to protect all levels. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;srlg</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa.srlg") | Dictionary | | | | Shared Risk Link Group |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa.srlg.enable") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;strict</samp>](## "router_isis.address_family_ipv6.fast_reroute_ti_lfa.srlg.strict") | Boolean | | | | |
Expand All @@ -56,6 +58,15 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;prefix_segments</samp>](## "router_isis.segment_routing_mpls.prefix_segments") | List, items: Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;prefix</samp>](## "router_isis.segment_routing_mpls.prefix_segments.[].prefix") | String | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index</samp>](## "router_isis.segment_routing_mpls.prefix_segments.[].index") | Integer | | | | |
| [<samp>&nbsp;&nbsp;spf_interval</samp>](## "router_isis.spf_interval") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;interval</samp>](## "router_isis.spf_interval.interval") | Integer | | | Min: 1<br>Max: 300 | Maximum interval between two SPFs in seconds. |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;wait_interval</samp>](## "router_isis.spf_interval.wait_interval") | Integer | | | Min: 1<br>Max: 300000 | Initial wait interval for SPF in milliseconds. |
| [<samp>&nbsp;&nbsp;graceful_restart</samp>](## "router_isis.graceful_restart") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;enabled</samp>](## "router_isis.graceful_restart.enabled") | Boolean | | | | |
| [<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;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 @@ -108,6 +119,9 @@
address_family_ipv4:
enabled: <bool>
maximum_paths: <int; 1-128>

# Enable BFD on all interfaces.
bfd_all_interfaces: <bool>
fast_reroute_ti_lfa:
mode: <str; "link-protection" | "node-protection">
level: <str; "level-1" | "level-2">
Expand All @@ -124,10 +138,13 @@
address_family_ipv6:
enabled: <bool>
maximum_paths: <int; 1-128>

# Enable BFD on all interfaces.
bfd_all_interfaces: <bool>
fast_reroute_ti_lfa:
mode: <str; "link-protection" | "node-protection">

# Optional, default is to protect all levels
# Optional, default is to protect all levels.
level: <str; "level-1" | "level-2">

# Shared Risk Link Group
Expand All @@ -140,4 +157,23 @@
prefix_segments:
- prefix: <str>
index: <int>
spf_interval:

# Maximum interval between two SPFs in seconds.
interval: <int; 1-300>

# Initial wait interval for SPF in milliseconds.
wait_interval: <int; 1-300000>
graceful_restart:
enabled: <bool>

# Number of seconds.
restart_hold_time: <int; 5-300>
t2:

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

# 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.

Loading