mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 02:46:37 +00:00
tests: Replace ospf-sr-topo1 by ospf-sr-topo2
The new ospf-sr-topo2 tests are much broader and detailed, hence it makes no sense to keep the old ospf-sr-topo1 tests. Signed-off-by: GalaxyGorilla <sascha@netdef.org>
This commit is contained in:
parent
9dd6fc9ded
commit
17128dea27
0
tests/topotests/ospf-sr-topo1/__init__.py
Executable file → Normal file
0
tests/topotests/ospf-sr-topo1/__init__.py
Executable file → Normal file
@ -1,161 +0,0 @@
|
||||
{
|
||||
"srdbID":"10.0.255.1",
|
||||
"srNodes":[
|
||||
{
|
||||
"routerID":"10.0.255.2",
|
||||
"srgbSize":8000,
|
||||
"srgbLabel":16000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.2\/32",
|
||||
"sid":200,
|
||||
"inputLabel":20200,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":3,
|
||||
"interface":"r1-eth0",
|
||||
"nexthop":"10.0.0.2"
|
||||
},
|
||||
{
|
||||
"outputLabel":3,
|
||||
"interface":"r1-eth1",
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.4",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":12,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.4\/32",
|
||||
"sid":400,
|
||||
"inputLabel":20400,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":16400,
|
||||
"interface":"r1-eth0",
|
||||
"nexthop":"10.0.0.2"
|
||||
},
|
||||
{
|
||||
"outputLabel":16400,
|
||||
"interface":"r1-eth1",
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.3",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":8,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.3\/32",
|
||||
"sid":300,
|
||||
"inputLabel":20300,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":16300,
|
||||
"interface":"r1-eth0",
|
||||
"nexthop":"10.0.0.2"
|
||||
},
|
||||
{
|
||||
"outputLabel":16300,
|
||||
"interface":"r1-eth1",
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.1",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":20000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":16,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.1\/32",
|
||||
"sid":100,
|
||||
"inputLabel":0,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":0,
|
||||
"interface":"lo",
|
||||
"nexthop":"10.0.255.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extendedLink":[
|
||||
{
|
||||
"prefix":"10.0.0.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r1-eth0",
|
||||
"nexthop":"10.0.0.2"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.0.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r1-eth0",
|
||||
"nexthop":"10.0.0.2"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.1.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r1-eth1",
|
||||
"nexthop":"10.0.1.2"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.1.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r1-eth1",
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
debug ospf sr
|
||||
!
|
||||
interface lo
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
interface r1-eth0
|
||||
ip ospf network point-to-point
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
interface r1-eth1
|
||||
ip ospf network point-to-point
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
router ospf
|
||||
ospf router-id 10.0.255.1
|
||||
capability opaque
|
||||
router-info area 0.0.0.0
|
||||
segment-routing on
|
||||
segment-routing node-msd 16
|
||||
segment-routing global-block 20000 29999
|
||||
segment-routing prefix 10.0.255.1/32 index 100 explicit-null
|
||||
!
|
||||
|
@ -1,12 +0,0 @@
|
||||
!
|
||||
interface lo
|
||||
ip address 10.0.255.1/32
|
||||
!
|
||||
interface r1-eth0
|
||||
ip address 10.0.0.1/24
|
||||
!
|
||||
interface r1-eth1
|
||||
ip address 10.0.1.1/24
|
||||
!
|
||||
ip forwarding
|
||||
!
|
@ -1,115 +0,0 @@
|
||||
[
|
||||
{
|
||||
"inLabel":20200,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.2"
|
||||
},
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.0.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":20300,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":16300,
|
||||
"outLabelStack":[
|
||||
16300
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":20400,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":16400,
|
||||
"outLabelStack":[
|
||||
16400
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.0.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.0.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
@ -1,183 +0,0 @@
|
||||
{
|
||||
"srdbID":"10.0.255.2",
|
||||
"srNodes":[
|
||||
{
|
||||
"routerID":"10.0.255.2",
|
||||
"srgbSize":8000,
|
||||
"srgbLabel":16000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.2\/32",
|
||||
"sid":200,
|
||||
"inputLabel":0,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":0,
|
||||
"interface":"lo",
|
||||
"nexthop":"10.0.255.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extendedLink":[
|
||||
{
|
||||
"prefix":"10.0.4.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth3",
|
||||
"nexthop":"10.0.4.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.4.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth3",
|
||||
"nexthop":"10.0.4.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.0.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth0",
|
||||
"nexthop":"10.0.0.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.0.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth0",
|
||||
"nexthop":"10.0.0.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.1.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth1",
|
||||
"nexthop":"10.0.1.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.1.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth1",
|
||||
"nexthop":"10.0.1.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.3.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth2",
|
||||
"nexthop":"10.0.3.1"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.3.2\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth2",
|
||||
"nexthop":"10.0.3.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.4",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":12,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.4\/32",
|
||||
"sid":400,
|
||||
"inputLabel":16400,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":10400,
|
||||
"interface":"r2-eth3",
|
||||
"nexthop":"10.0.4.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.3",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":8,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.3\/32",
|
||||
"sid":300,
|
||||
"inputLabel":16300,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":3,
|
||||
"interface":"r2-eth2",
|
||||
"nexthop":"10.0.3.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.1",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":20000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":16,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.1\/32",
|
||||
"sid":100,
|
||||
"inputLabel":16100,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":0,
|
||||
"interface":"r2-eth0",
|
||||
"nexthop":"10.0.0.1"
|
||||
},
|
||||
{
|
||||
"outputLabel":0,
|
||||
"interface":"r2-eth1",
|
||||
"nexthop":"10.0.1.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
!
|
||||
debug ospf sr
|
||||
!
|
||||
interface lo
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
interface r2-eth0
|
||||
ip ospf network point-to-point
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
interface r2-eth1
|
||||
ip ospf network point-to-point
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
interface r2-eth2
|
||||
ip ospf area 0.0.0.0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
interface r2-eth3
|
||||
ip ospf network point-to-point
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
router ospf
|
||||
ospf router-id 10.0.255.2
|
||||
capability opaque
|
||||
router-info area 0.0.0.0
|
||||
segment-routing on
|
||||
segment-routing prefix 10.0.255.2/32 index 200
|
||||
!
|
@ -1,18 +0,0 @@
|
||||
!
|
||||
interface lo
|
||||
ip address 10.0.255.2/32
|
||||
!
|
||||
interface r2-eth0
|
||||
ip address 10.0.0.2/24
|
||||
!
|
||||
interface r2-eth1
|
||||
ip address 10.0.1.2/24
|
||||
!
|
||||
interface r2-eth2
|
||||
ip address 10.0.3.2/24
|
||||
!
|
||||
interface r2-eth3
|
||||
ip address 10.0.4.2/24
|
||||
!
|
||||
ip forwarding
|
||||
!
|
@ -1,179 +0,0 @@
|
||||
[
|
||||
{
|
||||
"inLabel":16100,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":0,
|
||||
"outLabelStack":[
|
||||
0
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.1"
|
||||
},
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":0,
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.0.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":16300,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":16400,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":10400,
|
||||
"outLabelStack":[
|
||||
10400
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.0.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.0.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.1.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
@ -1,130 +0,0 @@
|
||||
{
|
||||
"srdbID":"10.0.255.3",
|
||||
"srNodes":[
|
||||
{
|
||||
"routerID":"10.0.255.2",
|
||||
"srgbSize":8000,
|
||||
"srgbLabel":16000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.2\/32",
|
||||
"sid":200,
|
||||
"inputLabel":10200,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":3,
|
||||
"interface":"r3-eth0",
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.4",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":12,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.4\/32",
|
||||
"sid":400,
|
||||
"inputLabel":10400,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":16400,
|
||||
"interface":"r3-eth0",
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.3",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":8,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.3\/32",
|
||||
"sid":300,
|
||||
"inputLabel":0,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":0,
|
||||
"interface":"lo",
|
||||
"nexthop":"10.0.255.3"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extendedLink":[
|
||||
{
|
||||
"prefix":"10.0.3.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r3-eth0",
|
||||
"nexthop":"10.0.3.2"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.3.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r3-eth0",
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.1",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":20000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":16,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.1\/32",
|
||||
"sid":100,
|
||||
"inputLabel":10100,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":16100,
|
||||
"interface":"r3-eth0",
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
!
|
||||
interface lo
|
||||
ip ospf area 0.0.0.0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
interface r3-eth0
|
||||
ip ospf area 0.0.0.0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
!
|
||||
router ospf
|
||||
ospf router-id 10.0.255.3
|
||||
capability opaque
|
||||
router-info area 0.0.0.0
|
||||
segment-routing on
|
||||
segment-routing local-block 5000 5999
|
||||
segment-routing global-block 10000 19999
|
||||
segment-routing node-msd 8
|
||||
segment-routing prefix 10.0.255.3/32 index 300
|
||||
!
|
@ -1,9 +0,0 @@
|
||||
!
|
||||
interface lo
|
||||
ip address 10.0.255.3/32
|
||||
!
|
||||
interface r3-eth0
|
||||
ip address 10.0.3.1/24
|
||||
!
|
||||
ip forwarding
|
||||
!
|
@ -1,82 +0,0 @@
|
||||
[
|
||||
{
|
||||
"inLabel":10100,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":16100,
|
||||
"outLabelStack":[
|
||||
16100
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":10200,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":10400,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":16400,
|
||||
"outLabelStack":[
|
||||
16400
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.3.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
@ -1,130 +0,0 @@
|
||||
{
|
||||
"srdbID":"10.0.255.4",
|
||||
"srNodes":[
|
||||
{
|
||||
"routerID":"10.0.255.2",
|
||||
"srgbSize":8000,
|
||||
"srgbLabel":16000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.2\/32",
|
||||
"sid":200,
|
||||
"inputLabel":10200,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":3,
|
||||
"interface":"r4-eth0",
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.4",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":12,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.4\/32",
|
||||
"sid":400,
|
||||
"inputLabel":10400,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":3,
|
||||
"interface":"lo",
|
||||
"nexthop":"10.0.255.4"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"extendedLink":[
|
||||
{
|
||||
"prefix":"10.0.4.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r4-eth0",
|
||||
"nexthop":"10.0.4.2"
|
||||
},
|
||||
{
|
||||
"prefix":"10.0.4.1\/32",
|
||||
"sid":"*",
|
||||
"inputLabel":"*",
|
||||
"outputLabel":3,
|
||||
"interface":"r4-eth0",
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.3",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":10000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":5000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":8,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.3\/32",
|
||||
"sid":300,
|
||||
"inputLabel":10300,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":16300,
|
||||
"interface":"r4-eth0",
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"routerID":"10.0.255.1",
|
||||
"srgbSize":10000,
|
||||
"srgbLabel":20000,
|
||||
"srlbSize":1000,
|
||||
"srlbLabel":15000,
|
||||
"algorithms":[
|
||||
{
|
||||
"0":"SPF"
|
||||
}
|
||||
],
|
||||
"nodeMsd":16,
|
||||
"extendedPrefix":[
|
||||
{
|
||||
"prefix":"10.0.255.1\/32",
|
||||
"sid":100,
|
||||
"inputLabel":10100,
|
||||
"prefixRoute":[
|
||||
{
|
||||
"outputLabel":16100,
|
||||
"interface":"r4-eth0",
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
!
|
||||
interface lo
|
||||
ip ospf area 0.0.0.0
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
!
|
||||
interface r4-eth0
|
||||
ip ospf network point-to-point
|
||||
ip ospf hello-interval 2
|
||||
ip ospf dead-interval 10
|
||||
ip ospf area 0.0.0.0
|
||||
!
|
||||
!
|
||||
router ospf
|
||||
ospf router-id 10.0.255.4
|
||||
capability opaque
|
||||
router-info area 0.0.0.0
|
||||
segment-routing on
|
||||
segment-routing local-block 5000 5999
|
||||
segment-routing global-block 10000 19999
|
||||
segment-routing node-msd 12
|
||||
segment-routing prefix 10.0.255.4/32 index 400 no-php-flag
|
||||
!
|
@ -1,9 +0,0 @@
|
||||
!
|
||||
interface lo
|
||||
ip address 10.0.255.4/32
|
||||
!
|
||||
interface r4-eth0
|
||||
ip address 10.0.4.1/24
|
||||
!
|
||||
ip forwarding
|
||||
!
|
@ -1,97 +0,0 @@
|
||||
[
|
||||
{
|
||||
"inLabel":10100,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":16100,
|
||||
"outLabelStack":[
|
||||
16100
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":10200,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":10300,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":16300,
|
||||
"outLabelStack":[
|
||||
16300
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":10400,
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"inLabel":"*",
|
||||
"installed":true,
|
||||
"nexthops":[
|
||||
{
|
||||
"type":"SR (OSPF)",
|
||||
"outLabel":3,
|
||||
"outLabelStack":[
|
||||
3
|
||||
],
|
||||
"distance":150,
|
||||
"installed":true,
|
||||
"nexthop":"10.0.4.2"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user