ipspace / netlab

Making virtual networking labs suck less
https://netlab.tools
Other
409 stars 58 forks source link

ROS7: update for bgp.session #1158

Closed ssasso closed 2 months ago

ssasso commented 2 months ago

Test for bgp.session-08 (remove-private-as):


bgpse08# netlab validate
[session_v4]     Check IPv4 EBGP sessions with DUT [ node(s): x1,x2 ]
[PASS]           x1: Neighbor 172.16.0.1 (dut) is in state Established
[PASS]           x2: Neighbor 172.16.1.1 (dut) is in state Established
[PASS]           Test succeeded

[session_v6]     Check IPv6 EBGP sessions with DUT [ node(s): x1,x2 ]
[PASS]           x1: Neighbor 2001:db8:4::1 (dut) is in state Established
[PASS]           x2: Neighbor 2001:db8:4:1::1 (dut) is in state Established
[PASS]           Test succeeded

[pfx_x2_v4]      Check for X1 IPv4 prefix on X2 [ node(s): x2 ]
[PASS]           x2: The prefix 172.42.42.0/24 is in the BGP table
[PASS]           Test succeeded

[pfx_x2_v6]      Check for X1 IPv6 prefix on X2 [ node(s): x1 ]
[PASS]           x1: The prefix 2001:db8:a01::/64 is in the BGP table
[PASS]           Test succeeded

[pfx_as64500_v4] Check that the IPv4 X1 prefix on X2 does not contain AS 65100 [ node(s): x2 ]
[PASS]           x2: The prefix 172.42.42.0/24 has the expected AS-path 64500
[PASS]           Test succeeded

[pfx_as64500_v6] Check that the IPv6 X1 prefix on X2 does not contain AS 65100 [ node(s): x2 ]
[PASS]           x2: The prefix 2001:db8:a01::/64 has the expected AS-path 64500
[PASS]           Test succeeded

[SUCCESS]        Tests passed: 8