Skip to content

Commit 993af5f

Browse files
philippebureaupre-commit-ci[bot]MaheshGSLABShivani-gslabgmuloc
authored
Feat(eos_cli_config_gen): Add bgp labeled unicast rib (#6715)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mahesh Kumar <122076792+MaheshGSLAB@users.noreply.github.com> Co-authored-by: Shivani-gslab <145646625+Shivani-gslab@users.noreply.github.com> Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
1 parent 17f4d01 commit 993af5f

22 files changed

Lines changed: 281 additions & 8 deletions

File tree

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/documentation/devices/host1.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9381,6 +9381,12 @@ ASN Notation: asdot
93819381
| 198.51.100.1 | True | - | - | RCF_TEST() | RCF_TEST_OUT() | - | - |
93829382
| 198.51.100.2 | False | RM_IN_TEST | RM_OUT_TEST | - | - | PEER_TAG_IN_IPV4_LABELED | PEER_TAG_DISCARD_OUT_IPV4_LABELED |
93839383

9384+
##### BGP LU RIB
9385+
9386+
| RIB | Enabled | Route-map |
9387+
| --- | ------- | --------- |
9388+
| IP | True | RM-rib1 |
9389+
93849390
#### Router BGP IPv4 SR-TE Address Family
93859391

93869392
##### IPv4 SR-TE Neighbors
@@ -9555,6 +9561,7 @@ ASN Notation: asdot
95559561
!
95569562
router bgp 65101
95579563
bgp asn notation asdot
9564+
bgp labeled-unicast rib ip route-map RM-rib1
95589565
router-id 192.168.255.3
95599566
update wait-for-convergence
95609567
update wait-install

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/documentation/devices/host2.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,6 +1221,13 @@ ASN Notation: asplain
12211221
| -------- | ----- |
12221222
| Graceful-restart | Enabled |
12231223

1224+
##### BGP LU RIB
1225+
1226+
| RIB | Enabled | Route-map |
1227+
| --- | ------- | --------- |
1228+
| IP | True | RM-test2 |
1229+
| Tunnel | True | - |
1230+
12241231
#### Router BGP Path-Selection Address Family
12251232

12261233
#### Router BGP VRFs
@@ -1236,6 +1243,7 @@ ASN Notation: asplain
12361243
```eos
12371244
!
12381245
router bgp 65101
1246+
bgp labeled-unicast rib ip route-map RM-test2 tunnel
12391247
no bgp default ipv4-unicast
12401248
no bgp default ipv4-unicast transport ipv6
12411249
graceful-restart

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/documentation/devices/host3.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,21 @@ ASN Notation: asplain
327327
| Settings | Value |
328328
| -------- | ----- |
329329

330+
##### BGP LU RIB
331+
332+
| RIB | Enabled | Route-map |
333+
| --- | ------- | --------- |
334+
| IP | True | RM-rib2 |
335+
| Tunnel | True | RM-rib3 |
336+
330337
#### Router BGP Path-Selection Address Family
331338

332339
#### Router BGP Device Configuration
333340

334341
```eos
335342
!
336343
router bgp 65101.0001
344+
bgp labeled-unicast rib ip route-map RM-rib2 tunnel route-map RM-rib3
337345
router-id 192.168.255.3
338346
graceful-restart-helper long-lived
339347
no bgp default ipv4-unicast

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/documentation/devices/host4.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,18 @@ ASN Notation: asplain
105105
| Settings | Value |
106106
| -------- | ----- |
107107

108+
##### BGP LU RIB
109+
110+
| RIB | Enabled | Route-map |
111+
| --- | ------- | --------- |
112+
| Tunnel | True | RM-rib3 |
113+
108114
#### Router BGP Device Configuration
109115

110116
```eos
111117
!
112118
router bgp 65001
119+
bgp labeled-unicast rib tunnel route-map RM-rib3
113120
router-id 192.168.255.3
114121
graceful-restart-helper long-lived
115122
bgp additional-paths send ecmp

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/intended/configs/host1.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5687,6 +5687,7 @@ router bfd
56875687
!
56885688
router bgp 65101
56895689
bgp asn notation asdot
5690+
bgp labeled-unicast rib ip route-map RM-rib1
56905691
router-id 192.168.255.3
56915692
update wait-for-convergence
56925693
update wait-install

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/intended/configs/host2.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ router bfd
319319
session stats snapshot interval dangerous 8
320320
!
321321
router bgp 65101
322+
bgp labeled-unicast rib ip route-map RM-test2 tunnel
322323
no bgp default ipv4-unicast
323324
no bgp default ipv4-unicast transport ipv6
324325
graceful-restart

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/intended/configs/host3.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ ntp serve ipv6 access-group test_ACL_v6 vrf RED in
7878
ntp serve ipv6 access-group test_ACL_v6 in
7979
!
8080
router bgp 65101.0001
81+
bgp labeled-unicast rib ip route-map RM-rib2 tunnel route-map RM-rib3
8182
router-id 192.168.255.3
8283
graceful-restart-helper long-lived
8384
no bgp default ipv4-unicast

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/intended/configs/host4.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ interface Management1
99
ip address 10.73.255.122/24
1010
!
1111
router bgp 65001
12+
bgp labeled-unicast rib tunnel route-map RM-rib3
1213
router-id 192.168.255.3
1314
graceful-restart-helper long-lived
1415
bgp additional-paths send ecmp

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/inventory/host_vars/host1/router-bgp.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ router_bgp:
5050
receive: true
5151
send: ecmp
5252
send_limit: 30
53+
labeled_unicast:
54+
rib:
55+
ip:
56+
enabled: true
57+
route_map: RM-rib1
5358
listen_ranges:
5459
# should render
5560
- prefix: 10.10.10.0/24

ansible_collections/arista/avd/extensions/molecule/eos_cli_config_gen/inventory/host_vars/host2/router-bgp.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ router_bgp:
1515
additional_paths:
1616
receive: false
1717
send: disabled
18+
labeled_unicast:
19+
rib:
20+
ip:
21+
enabled: true
22+
route_map: RM-test2
23+
tunnel:
24+
enabled: true
1825
neighbor_default:
1926
send_community: large
2027
graceful_restart:

0 commit comments

Comments
 (0)