Skip to content

Commit 8fab15d

Browse files
committed
Fix: SR-MPLS has to be configured after OSPF or IS-IS
1 parent ed753e4 commit 8fab15d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

netsim/modules/sr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# SR-MPLS default settings and attributes
22
#
33
transform_after: [ vlan, ospf, isis ]
4+
config_after: [ vlan, ospf, isis ]
5+
46
no_propagate:
57
node_sid_offset:
68

tests/coverage/expected/module-reorder.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ links:
8383
type: p2p
8484
module:
8585
- isis
86-
- sr
8786
- bgp
87+
- sr
8888
name: input
8989
nodes:
9090
c1:
@@ -191,8 +191,8 @@ nodes:
191191
min_mtu: 1500
192192
module:
193193
- isis
194-
- sr
195194
- bgp
195+
- sr
196196
name: c1
197197
role: router
198198
sr:
@@ -375,8 +375,8 @@ nodes:
375375
min_mtu: 1500
376376
module:
377377
- isis
378-
- sr
379378
- bgp
379+
- sr
380380
name: e1
381381
role: router
382382
sr:
@@ -503,8 +503,8 @@ nodes:
503503
mac: ca:fe:00:04:00:00
504504
module:
505505
- isis
506-
- sr
507506
- bgp
507+
- sr
508508
name: e2
509509
role: router
510510
sr:

0 commit comments

Comments
 (0)