-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
tests: bfd_vrf_ospf_unnumbered #15048
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[ | ||
{ | ||
"multihop":false, | ||
"peer":"2.2.2.2", | ||
"vrf":"Test", | ||
"interface":"r1-eth1", | ||
"id": "*", | ||
"remote-id":0, | ||
"passive-mode":false, | ||
"status":"up", | ||
"downtime":"*", | ||
"diagnostic":"ok", | ||
"remote-diagnostic":"ok", | ||
"type":"dynamic", | ||
"receive-interval":300, | ||
"transmit-interval":300, | ||
"echo-receive-interval":50, | ||
"echo-transmit-interval":0, | ||
"detect-multiplier":3, | ||
"remote-receive-interval":1000, | ||
"remote-transmit-interval":1000, | ||
"remote-echo-receive-interval":0, | ||
"remote-detect-multiplier":3, | ||
"rtt-min":0, | ||
"rtt-avg":0, | ||
"rtt-max":0 | ||
}, | ||
{ | ||
"multihop":false, | ||
"peer":"3.3.3.3", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
"vrf":"Test", | ||
"interface":"r1-eth2", | ||
"id":"*", | ||
"remote-id":"*", | ||
"passive-mode":false, | ||
"status":"up", | ||
"uptime":"*", | ||
"diagnostic":"ok", | ||
"remote-diagnostic":"ok", | ||
"type":"dynamic", | ||
"receive-interval":300, | ||
"transmit-interval":300, | ||
"echo-receive-interval":50, | ||
"echo-transmit-interval":0, | ||
"detect-multiplier":3, | ||
"remote-receive-interval":300, | ||
"remote-transmit-interval":300, | ||
"remote-echo-receive-interval":50, | ||
"remote-detect-multiplier":3, | ||
"rtt-min":0, | ||
"rtt-avg":0, | ||
"rtt-max":0 | ||
} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
! | ||
! debug bfd network | ||
! debug bfd peer | ||
! debug bfd zebra | ||
! | ||
bfd | ||
! |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
! | ||
hostname r1 | ||
password zebra | ||
log file /tmp/r1-frr.log | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not needed. |
||
! | ||
interface Test | ||
ip address 1.1.1.1/32 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto. |
||
ip ospf area 0.0.0.0 1.1.1.1 | ||
ip ospf passive | ||
! | ||
interface r1-eth2 vrf Test | ||
ip address 1.1.1.1/32 | ||
ip ospf area 0.0.0.0 | ||
ip ospf bfd | ||
ip ospf cost 20 | ||
ip ospf network point-to-point | ||
! | ||
interface r1-eth1 vrf Test | ||
ip address 1.1.1.1/32 | ||
ip ospf area 0.0.0.0 | ||
ip ospf bfd | ||
ip ospf cost 50 | ||
ip ospf network point-to-point | ||
! | ||
ip forwarding | ||
! | ||
router ospf vrf Test | ||
ospf router-id 1.1.1.1 | ||
log-adjacency-changes detail | ||
redistribute connected | ||
! | ||
bfd | ||
! | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
VRF Name: Test | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can't we use JSON output? |
||
============ OSPF network routing table ============ | ||
N 1.1.1.1/32 [0] area: 0.0.0.0 | ||
directly attached to Test | ||
N 2.2.2.2/32 [40] area: 0.0.0.0 | ||
via 3.3.3.3, r1-eth2 | ||
N 3.3.3.3/32 [20] area: 0.0.0.0 | ||
via 3.3.3.3, r1-eth2 | ||
|
||
============ OSPF router routing table ============= | ||
R 2.2.2.2 [40] area: 0.0.0.0, ASBR | ||
via 3.3.3.3, r1-eth2 | ||
R 3.3.3.3 [20] area: 0.0.0.0, ASBR | ||
via 3.3.3.3, r1-eth2 | ||
|
||
============ OSPF external routing table =========== |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[ | ||
{ | ||
"multihop":false, | ||
"peer":"1.1.1.1", | ||
"vrf":"Test", | ||
"interface":"r2-eth1", | ||
"id":"*", | ||
"remote-id":0, | ||
"passive-mode":false, | ||
"status":"up", | ||
"downtime":"*", | ||
"diagnostic":"ok", | ||
"remote-diagnostic":"ok", | ||
"type":"dynamic", | ||
"receive-interval":300, | ||
"transmit-interval":300, | ||
"echo-receive-interval":50, | ||
"echo-transmit-interval":0, | ||
"detect-multiplier":3, | ||
"remote-receive-interval":1000, | ||
"remote-transmit-interval":1000, | ||
"remote-echo-receive-interval":0, | ||
"remote-detect-multiplier":3, | ||
"rtt-min":0, | ||
"rtt-avg":0, | ||
"rtt-max":0 | ||
}, | ||
{ | ||
"multihop":false, | ||
"peer":"3.3.3.3", | ||
"vrf":"Test", | ||
"interface":"r2-eth2", | ||
"id":"*", | ||
"remote-id":"*", | ||
"passive-mode":false, | ||
"status":"up", | ||
"uptime":"*", | ||
"diagnostic":"ok", | ||
"remote-diagnostic":"ok", | ||
"type":"dynamic", | ||
"receive-interval":300, | ||
"transmit-interval":300, | ||
"echo-receive-interval":50, | ||
"echo-transmit-interval":0, | ||
"detect-multiplier":3, | ||
"remote-receive-interval":300, | ||
"remote-transmit-interval":300, | ||
"remote-echo-receive-interval":50, | ||
"remote-detect-multiplier":3, | ||
"rtt-min":0, | ||
"rtt-avg":0, | ||
"rtt-max":0 | ||
} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
! | ||
!debug bfd network | ||
!debug bfd peer | ||
!debug bfd zebra | ||
! | ||
bfd | ||
! |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
! | ||
hostname r2 | ||
password zebra | ||
log file /tmp/r2-frr.log | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not needed. |
||
! | ||
interface Test | ||
ip address 2.2.2.2/32 | ||
ip ospf area 0.0.0.0 2.2.2.2 | ||
ip ospf passive | ||
! | ||
interface r2-eth1 vrf Test | ||
ip address 2.2.2.2/32 | ||
ip ospf area 0.0.0.0 | ||
ip ospf bfd | ||
ip ospf cost 50 | ||
ip ospf network point-to-point | ||
! | ||
interface r2-eth2 vrf Test | ||
ip address 2.2.2.2/32 | ||
ip ospf area 0.0.0.0 | ||
ip ospf bfd | ||
ip ospf cost 20 | ||
ip ospf network point-to-point | ||
! | ||
ip forwarding | ||
! | ||
router ospf vrf Test | ||
ospf router-id 2.2.2.2 | ||
redistribute connected | ||
! | ||
bfd | ||
! | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
VRF Name: Test | ||
============ OSPF network routing table ============ | ||
N 1.1.1.1/32 [40] area: 0.0.0.0 | ||
via 3.3.3.3, r2-eth2 | ||
N 2.2.2.2/32 [0] area: 0.0.0.0 | ||
directly attached to Test | ||
N 3.3.3.3/32 [20] area: 0.0.0.0 | ||
via 3.3.3.3, r2-eth2 | ||
|
||
============ OSPF router routing table ============= | ||
R 1.1.1.1 [40] area: 0.0.0.0, ASBR | ||
via 3.3.3.3, r2-eth2 | ||
R 3.3.3.3 [20] area: 0.0.0.0, ASBR | ||
via 3.3.3.3, r2-eth2 | ||
|
||
============ OSPF external routing table =========== |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
[ | ||
{ | ||
"multihop":false, | ||
"peer":"2.2.2.2", | ||
"vrf":"Test", | ||
"interface":"r3-eth2", | ||
"id":"*", | ||
"remote-id":"*", | ||
"passive-mode":false, | ||
"status":"up", | ||
"uptime":"*", | ||
"diagnostic":"ok", | ||
"remote-diagnostic":"ok", | ||
"type":"dynamic", | ||
"receive-interval":300, | ||
"transmit-interval":300, | ||
"echo-receive-interval":50, | ||
"echo-transmit-interval":0, | ||
"detect-multiplier":3, | ||
"remote-receive-interval":300, | ||
"remote-transmit-interval":300, | ||
"remote-echo-receive-interval":50, | ||
"remote-detect-multiplier":3, | ||
"rtt-min":0, | ||
"rtt-avg":0, | ||
"rtt-max":0 | ||
}, | ||
{ | ||
"multihop":false, | ||
"peer":"1.1.1.1", | ||
"vrf":"Test", | ||
"interface":"r3-eth1", | ||
"id":"*", | ||
"remote-id":"*", | ||
"passive-mode":false, | ||
"status":"up", | ||
"uptime":"*", | ||
"diagnostic":"ok", | ||
"remote-diagnostic":"ok", | ||
"type":"dynamic", | ||
"receive-interval":300, | ||
"transmit-interval":300, | ||
"echo-receive-interval":50, | ||
"echo-transmit-interval":0, | ||
"detect-multiplier":3, | ||
"remote-receive-interval":300, | ||
"remote-transmit-interval":300, | ||
"remote-echo-receive-interval":50, | ||
"remote-detect-multiplier":3, | ||
"rtt-min":0, | ||
"rtt-avg":0, | ||
"rtt-max":0 | ||
} | ||
] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
! | ||
! debug bfd network | ||
! debug bfd peer | ||
! debug bfd zebra | ||
! | ||
bfd | ||
! |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
! | ||
hostname r3 | ||
password zebra | ||
log file /tmp/r3-frr.log | ||
! | ||
interface Test | ||
ip address 3.3.3.3/32 | ||
ip ospf area 0.0.0.0 3.3.3.3 | ||
ip ospf passive | ||
! | ||
interface r3-eth1 vrf Test | ||
ip address 3.3.3.3/32 | ||
ip ospf area 0.0.0.0 | ||
ip ospf bfd | ||
ip ospf cost 20 | ||
ip ospf network point-to-point | ||
! | ||
interface r3-eth2 vrf Test | ||
ip address 3.3.3.3/32 | ||
ip ospf area 0.0.0.0 | ||
ip ospf bfd | ||
ip ospf cost 20 | ||
ip ospf network point-to-point | ||
! | ||
ip forwarding | ||
! | ||
router ospf vrf Test | ||
ospf router-id 3.3.3.3 | ||
redistribute connected | ||
redistribute static | ||
! | ||
bfd | ||
! |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
VRF Name: Test | ||
============ OSPF network routing table ============ | ||
N 1.1.1.1/32 [20] area: 0.0.0.0 | ||
via 1.1.1.1, r3-eth1 | ||
N 2.2.2.2/32 [20] area: 0.0.0.0 | ||
via 2.2.2.2, r3-eth2 | ||
N 3.3.3.3/32 [0] area: 0.0.0.0 | ||
directly attached to Test | ||
|
||
============ OSPF router routing table ============= | ||
R 1.1.1.1 [20] area: 0.0.0.0, ASBR | ||
via 1.1.1.1, r3-eth1 | ||
R 2.2.2.2 [20] area: 0.0.0.0, ASBR | ||
via 2.2.2.2, r3-eth2 | ||
|
||
============ OSPF external routing table =========== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use https://www.rfc-editor.org/rfc/rfc5737.html ranges or private ranges for topotests.