-
Notifications
You must be signed in to change notification settings - Fork 72
/
10-import.yml
42 lines (38 loc) · 943 Bytes
/
10-import.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
message: |
This lab tests the simple import of BGP routes into OSPF.
groups:
probes:
device: frr
provider: clab
members: [ r2, x1 ]
nodes:
dut:
module: [ ospf, bgp ]
bgp.as: 65000
ospf.import: [ bgp ]
r2:
module: [ ospf ]
x1:
module: [ bgp ]
bgp.as: 65100
links: [ dut-x1, dut-r2 ]
validate:
adj_ospf:
description: Check OSPF adjacency
wait_msg: Waiting for OSPF adjacency process to complete
wait: 50
nodes: [ r2 ]
plugin: ospf_neighbor(nodes.dut.ospf.router_id)
adj_bgp:
description: Check EBGP sessions with DUT
wait_msg: Wait for BGP sessions to be established
wait: 30
nodes: [ x1 ]
plugin: bgp_neighbor(node.bgp.neighbors,'dut')
redist:
description: Check for redistributed X1 loopback on R2
wait: 20
wait_msg: Waiting for routing protocols to do their magic
nodes: [ r2 ]
plugin: ospf_prefix(nodes.x1.loopback.ipv4)