Skip to content

Commit dbf36b9

Browse files
authored
Merge pull request #998 from sever-sever/T7639
T7639: Add patches to fix FRR reload for IS-IS segment routing
2 parents bd78d81 + c031b92 commit dbf36b9

2 files changed

Lines changed: 80 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
From b4babae93b81be46c105e59c74b1708f00b68704 Mon Sep 17 00:00:00 2001
2+
From: Carmine Scarpitta <cscarpit@cisco.com>
3+
Date: Sat, 23 Nov 2024 08:46:00 +0100
4+
Subject: [PATCH 4/5] tools: Add missing keyword `segment-routing srv6` in
5+
frr-reload
6+
7+
Fix the error below:
8+
9+
```
10+
[58564|mgmtd] sending configuration
11+
[58565|zebra] sending configuration,
12+
line 10: % Unknown command[52]: node-msd
13+
[58573|isisd] sending configuration
14+
[58565|zebra] Configuration file[/etc/frr/frr.conf] processing failure: 2
15+
```
16+
17+
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
18+
---
19+
tools/frr-reload.py | 4 +++-
20+
1 file changed, 3 insertions(+), 1 deletion(-)
21+
22+
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
23+
index 08a1f1e07e..baa6285f45 100755
24+
--- a/tools/frr-reload.py
25+
+++ b/tools/frr-reload.py
26+
@@ -255,7 +255,9 @@ ctx_keywords = {
27+
},
28+
"router rip": {},
29+
"router ripng": {},
30+
- "router isis ": {},
31+
+ "router isis ": {
32+
+ "segment-routing srv6": {},
33+
+ },
34+
"router openfabric ": {},
35+
"router ospf": {},
36+
"router ospf6": {},
37+
--
38+
2.39.5
39+
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
From 458e8a851608b8308b564e6cbfe95314629dccda Mon Sep 17 00:00:00 2001
2+
From: Carmine Scarpitta <cscarpit@cisco.com>
3+
Date: Sat, 23 Nov 2024 08:46:50 +0100
4+
Subject: [PATCH 5/5] tools: Add missing keyword `node-msd` in frr-reload
5+
6+
Fix the error below:
7+
8+
```
9+
[58564|mgmtd] sending configuration
10+
[58565|zebra] sending configuration,
11+
line 14: % Unknown command[52]: max-segs-left 3
12+
line 18: % Unknown command[52]: max-end-pop 3
13+
line 22: % Unknown command[52]: max-h-encaps 2
14+
line 26: % Unknown command[52]: max-end-d 5
15+
[58573|isisd] sending configuration
16+
[58565|zebra] Configuration file[/etc/frr/frr.conf] processing failure: 2
17+
```
18+
19+
Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
20+
---
21+
tools/frr-reload.py | 4 +++-
22+
1 file changed, 3 insertions(+), 1 deletion(-)
23+
24+
diff --git a/tools/frr-reload.py b/tools/frr-reload.py
25+
index baa6285f45..33d6cf0444 100755
26+
--- a/tools/frr-reload.py
27+
+++ b/tools/frr-reload.py
28+
@@ -256,7 +256,9 @@ ctx_keywords = {
29+
"router rip": {},
30+
"router ripng": {},
31+
"router isis ": {
32+
- "segment-routing srv6": {},
33+
+ "segment-routing srv6": {
34+
+ "node-msd": {},
35+
+ },
36+
},
37+
"router openfabric ": {},
38+
"router ospf": {},
39+
--
40+
2.39.5
41+

0 commit comments

Comments
 (0)