-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Add multicast pim6 dual stack[ipv4/ipv6] suite
Adding new test cases to verify multicast dual stack scenarios. Enabling IGMP and MLD on same interface. verifying there is no overlap and functionality is working as expected. Signed-off-by: Kuldeep Kashyap <[email protected]> Co-Authored-by: Vijay Kumar Gupta <[email protected]>
- Loading branch information
1 parent
29f6fb0
commit b4e443c
Showing
2 changed files
with
3,308 additions
and
0 deletions.
There are no files selected for viewing
299 changes: 299 additions & 0 deletions
299
tests/topotests/multicast_pim6_dual_stack/multicast_pim6_dual_stack.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,299 @@ | ||
{ | ||
"address_types": ["ipv4", "ipv6"], | ||
"ipv4base": "10.0.0.0", | ||
"ipv4mask": 30, | ||
"ipv6base": "fd00::", | ||
"ipv6mask": 64, | ||
"link_ip_start": { | ||
"ipv4": "10.0.0.0", | ||
"v4mask": 30, | ||
"ipv6": "fd00::", | ||
"v6mask": 64 | ||
}, | ||
"lo_prefix": { | ||
"ipv4": "1.0.", | ||
"v4mask": 32, | ||
"ipv6": "2001:db8:f::", | ||
"v6mask": 128 | ||
}, | ||
"routers": { | ||
"r1": { | ||
"links": { | ||
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback", "pim": "enable" ,"pim6": "enable"}, | ||
"r2": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"r3": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"r4": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i1": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i2": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"} | ||
}, | ||
"bgp": { | ||
"local_as": "100", | ||
"address_family": { | ||
"ipv4": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r2": { | ||
"dest_link": { | ||
"r1": {} | ||
} | ||
}, | ||
"r3": { | ||
"dest_link": { | ||
"r1": {} | ||
} | ||
}, | ||
"r4": { | ||
"dest_link": { | ||
"r1": {} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ipv6": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r2": { | ||
"dest_link": { | ||
"r1": {} | ||
} | ||
}, | ||
"r3": { | ||
"dest_link": { | ||
"r1": {} | ||
} | ||
}, | ||
"r4": { | ||
"dest_link": { | ||
"r1": {} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"r2": { | ||
"links": { | ||
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback", "pim": "enable" ,"pim6": "enable"}, | ||
"r1": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"r4": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i3": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i4": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"} | ||
}, | ||
"bgp": { | ||
"local_as": "200", | ||
"address_family": { | ||
"ipv4": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r1": { | ||
"dest_link": { | ||
"r2": {} | ||
} | ||
}, | ||
"r4": { | ||
"dest_link": { | ||
"r2": {} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ipv6": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r1": { | ||
"dest_link": { | ||
"r2": {} | ||
} | ||
}, | ||
"r4": { | ||
"dest_link": { | ||
"r2": {} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"r3": { | ||
"links": { | ||
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback", "pim": "enable" ,"pim6": "enable"}, | ||
"r1": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"r4": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i5": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i6": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"} | ||
}, | ||
"bgp": { | ||
"local_as": "300", | ||
"address_family": { | ||
"ipv4": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r1": { | ||
"dest_link": { | ||
"r3": {} | ||
} | ||
}, | ||
"r4": { | ||
"dest_link": { | ||
"r3": {} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ipv6": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r1": { | ||
"dest_link": { | ||
"r3": {} | ||
} | ||
}, | ||
"r4": { | ||
"dest_link": { | ||
"r3": {} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"r4": { | ||
"links": { | ||
"lo": {"ipv4": "auto", "ipv6": "auto", "type": "loopback", "pim": "enable" ,"pim6": "enable"}, | ||
"r1": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"r2": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"r3": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i7": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"}, | ||
"i8": {"ipv4": "auto", "ipv6": "auto", "pim": "enable" ,"pim6": "enable"} | ||
}, | ||
"bgp": { | ||
"local_as": "400", | ||
"address_family": { | ||
"ipv4": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r1": { | ||
"dest_link": { | ||
"r4": {} | ||
} | ||
}, | ||
"r2": { | ||
"dest_link": { | ||
"r4": {} | ||
} | ||
}, | ||
"r3": { | ||
"dest_link": { | ||
"r4": {} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"ipv6": { | ||
"unicast": { | ||
"redistribute": [ | ||
{"redist_type": "static"}, | ||
{"redist_type": "connected"} | ||
], | ||
"neighbor": { | ||
"r1": { | ||
"dest_link": { | ||
"r4": {} | ||
} | ||
}, | ||
"r2": { | ||
"dest_link": { | ||
"r4": {} | ||
} | ||
}, | ||
"r3": { | ||
"dest_link": { | ||
"r4": {} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"i1": { | ||
"links": { | ||
"r1": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i2": { | ||
"links": { | ||
"r1": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i3": { | ||
"links": { | ||
"r2": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i4": { | ||
"links": { | ||
"r2": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i5": { | ||
"links": { | ||
"r3": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i6": { | ||
"links": { | ||
"r3": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i7": { | ||
"links": { | ||
"r4": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
}, | ||
"i8": { | ||
"links": { | ||
"r4": {"ipv4": "auto", "ipv6": "auto"} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.