Skip to content

Commit

Permalink
tests: Add multicast pim6 dual stack[ipv4/ipv6] suite
Browse files Browse the repository at this point in the history
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
kuldeepkash and vijaykug committed Nov 27, 2023
1 parent 54134b4 commit 1b01a06
Show file tree
Hide file tree
Showing 2 changed files with 2,233 additions and 0 deletions.
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"}
}
}
}
}
Loading

0 comments on commit 1b01a06

Please sign in to comment.