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

isisd: Add Link State Traffic Engineering support #8910

Closed
wants to merge 9 commits into from
Prev Previous commit
topotests: Add new IS-IS Traffic Engineering tests
Test the new Link State Traffic Engineering feature in IS-IS.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
odd22 committed Nov 2, 2021
commit 7645eb5e82c3dd70e6642806a4e61eca1ad4e9c1
Empty file.
31 changes: 31 additions & 0 deletions tests/topotests/isis_te_topo1/r1/isisd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
!
hostname r1
!
interface lo
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis passive
!
interface r1-eth0
ip router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
interface r1-eth1
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
router isis TE
net 49.0000.0000.0000.0001.00
is-type level-2-only
topology ipv6-unicast
lsp-timers gen-interval 2 refresh-interval 10 max-lifetime 350
mpls-te on
mpls-te router-address 10.0.255.1
!

25 changes: 25 additions & 0 deletions tests/topotests/isis_te_topo1/r1/zebra.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
!
hostname r1
!
interface lo
ip address 10.0.255.1/32
ipv6 address 2001:db8:ffff::1/128
!
interface r1-eth0
ip address 10.0.0.1/24
link-params
metric 20
delay 10000
ava-bw 1.25e+08
enable
exit-link-params
!
interface r1-eth1
ip address 10.0.1.1/24
ipv6 address 2001:db8:1::1:1/64
link-params
enable
exit-link-params
!
ip forwarding
!
45 changes: 45 additions & 0 deletions tests/topotests/isis_te_topo1/r2/isisd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
!
hostname r2
!
! debug isis te-events
!
interface lo
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis passive
!
interface r2-eth0
ip router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
interface r2-eth1
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
interface r2-eth2
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
interface r2-eth3
ip router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
router isis TE
net 49.0000.0000.0000.0002.00
is-type level-2-only
topology ipv6-unicast
lsp-timers gen-interval 2 refresh-interval 10 max-lifetime 350
mpls-te on
mpls-te router-address 10.0.255.2
!
39 changes: 39 additions & 0 deletions tests/topotests/isis_te_topo1/r2/zebra.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
!
hostname r2
!
interface lo
ip address 10.0.255.2/32
ipv6 address 2001:db8:ffff::2/128
!
interface r2-eth0
ip address 10.0.0.2/24
link-params
enable
exit-link-params
!
interface r2-eth1
ip address 10.0.1.2/24
ipv6 address 2001:db8:1::1:2/64
link-params
enable
exit-link-params
!
interface r2-eth2
ip address 10.0.3.2/24
ipv6 address 2001:db8:3::3:2/64
link-params
enable
exit-link-params
!
interface r2-eth3
ip address 10.0.4.2/24
ipv6 address 2001:db8:4::4:2/64
link-params
metric 30
delay 25000
use-bw 1.25e+8
enable
exit-link-params
!
ip forwarding
!
34 changes: 34 additions & 0 deletions tests/topotests/isis_te_topo1/r3/isisd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
!
hostname r3
!
! debug isis te-events
!
interface lo
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis passive
!
interface r3-eth0
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
interface r3-eth1
ipv6 router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
!
router isis TE
net 49.0000.0000.0000.0003.00
is-type level-2-only
topology ipv6-unicast
lsp-timers gen-interval 2 refresh-interval 10 max-lifetime 350
mpls-te on
mpls-te router-address 10.0.255.3
mpls-te router-address ipv6 2001:db8:1000::3
!
25 changes: 25 additions & 0 deletions tests/topotests/isis_te_topo1/r3/zebra.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
!
hostname r3
!
interface lo
ip address 10.0.255.3/32
ipv6 address 2001:db8:ffff::3/128
!
interface r3-eth0
ip address 10.0.3.3/24
ipv6 address 2001:db8:3::3:3/64
link-params
enable
admin-grp 0x20
exit-link-params
!
interface r3-eth1
ipv6 address 2001:db8:5::4:3/64
link-params
enable
metric 10
delay 50000
exit-link-params
!
ip forwarding
!
39 changes: 39 additions & 0 deletions tests/topotests/isis_te_topo1/r4/isisd.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
!
hostname r4
!
! debug isis te-events
! debug isis sr-events
! debug isis lsp-gen
!
interface lo
ip router isis TE
ipv6 router isis TE
isis circuit-type level-2-only
isis passive
!
interface r4-eth0
ip router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
interface r4-eth1
ipv6 router isis TE
isis circuit-type level-2-only
isis network point-to-point
isis hello-multiplier 3
!
!
router isis TE
net 49.0000.0000.0000.0004.00
is-type level-2-only
topology ipv6-unicast
lsp-timers gen-interval 2 refresh-interval 10 max-lifetime 350
mpls-te on
mpls-te router-address 10.0.255.4
segment-routing on
segment-routing global-block 10000 19999 local-block 5000 5999
segment-routing node-msd 12
segment-routing prefix 10.0.255.4/32 index 400 no-php-flag
segment-routing prefix 2001:db8:ffff::4/128 index 1400 no-php-flag
!
22 changes: 22 additions & 0 deletions tests/topotests/isis_te_topo1/r4/zebra.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
!
hostname r4
!
interface lo
ip address 10.0.255.4/32
ipv6 address 2001:db8:ffff::4/128
!
interface r4-eth0
ip address 10.0.4.4/24
ipv6 address 2001:db8:4::2:4/64
link-params
enable
exit-link-params
!
interface r4-eth1
ipv6 address 2001:db8:5::3:4/64
link-params
enable
exit-link-params
!
ip forwarding
!
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.