summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorAmeya Dharkar <adharkar@vmware.com>2021-01-11 20:15:13 -0800
committerAmeya Dharkar <adharkar@vmware.com>2021-06-07 17:59:45 -0700
commiteb3859f2f4e47a2e0f6100211c6ef9de79fdd259 (patch)
tree251783a020c5cdbb64663d6dbaefa00af56def8d /lib/command.c
parentfb651da9e2e231a54881c2894037467881831b6b (diff)
tests: Topotest for BGP EVPN Overlay Index Gateway IP feature
Following functionality is covered: +--------+ BGP +--------+ BGP +--------+ +--------+ SN1 | | IPv4/v6 | | EVPN | | | | ======+ Host1 +---------+ PE1 +------+ PE2 +------+ Host2 + | | | | | | | | +--------+ +--------+ +--------+ +--------+ Host1 is connected to PE1 and host2 is connected to PE2 Host1 and PE1 have IPv4/v6 BGP sessions. PE1 and PE2 gave EVPN session. Host1 advertises IPv4/v6 prefixes to PE1. PE1 advertises these prefixes to PE2 as EVPN type-5 routes. Gateway IP for these EVPN type-5 routes is host1 IP. Host1 MAC/IP is advertised by PE1 as EVPN type-2 route Following testcases are covered: TC_1: Check BGP and zebra states for above topology at PE1 and PE2. TC_2: Stop advertising prefixes from host1. It should withdraw type-5 routes. Check states at PE1 and PE2 Advertise the prefixes again. Check states. TC_3: Shut down VxLAN interface at PE1. This should withdraw type-2 routes. Check states at PE1 and PE2. Enable VxLAN interface again. Check states. Signed-off-by: Ameya Dharkar <adharkar@vmware.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions