tests: Add multicast-pim-sm-topo1 test suite

1. Added 10 test cases to verify multicast PIM SM functionality

Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
This commit is contained in:
Kuldeep Kashyap 2020-10-15 11:07:55 +00:00 committed by kuldeepkash
parent ecf497baed
commit 03e7807be0
2 changed files with 1838 additions and 0 deletions

View File

@ -0,0 +1,140 @@
{
"ipv4base": "10.0.0.0",
"ipv4mask": 24,
"link_ip_start": {"ipv4": "10.0.0.0", "v4mask": 24, "link_local": "disable"},
"lo_prefix": {"ipv4": "1.0.", "v4mask": 32},
"routers": {
"l1": {
"links": {
"lo": {"ipv4": "auto", "type": "loopback", "pim": "enable"},
"i1": {"ipv4": "auto", "pim": "enable"},
"i6": {"ipv4": "auto", "pim": "enable"},
"i7": {"ipv4": "auto", "pim": "enable"},
"r2": {"ipv4": "auto", "pim": "enable"},
"c1": {"ipv4": "auto", "pim": "enable"}
},
"igmp": {
"interfaces": {
"l1-i1-eth1" :{
"igmp":{
"version": "2"
}
}
}
},
"static_routes": [{
"network": ["1.0.5.17/32", "10.0.5.0/24", "10.0.7.0/24", "10.0.6.0/24", "10.0.9.0/24"],
"next_hop": "10.0.12.2"
},
{
"network": ["1.0.1.2/32", "1.0.3.5/32", "10.0.1.0/24", "1.0.2.2/32", "10.0.4.0/24", "10.0.3.0/24"],
"next_hop": "10.0.2.1"
}]
},
"r2": {
"links": {
"lo": {"ipv4": "auto", "type": "loopback", "pim": "enable"},
"l1": {"ipv4": "auto", "pim": "enable"},
"f1": {"ipv4": "auto", "pim": "enable"},
"i3": {"ipv4": "auto", "pim": "enable"}
},
"static_routes": [{
"network": ["10.0.5.0/24", "10.0.6.0/24", "1.0.2.2/32", "10.0.1.0/24"],
"next_hop": "10.0.7.1"
},
{
"network": ["1.0.1.2/32", "10.0.8.0/24", "10.0.10.0/24", "10.0.4.0/24", "10.0.0.0/24", "10.0.11.0/24", "10.0.1.0/24", "10.0.2.0/24"],
"next_hop": "10.0.12.1"
}]
},
"f1": {
"links": {
"lo": {"ipv4": "auto", "type": "loopback", "pim": "enable"},
"r2": {"ipv4": "auto", "pim": "enable"},
"c2": {"ipv4": "auto", "pim": "enable"},
"i2": {"ipv4": "auto", "pim": "enable"},
"i8": {"ipv4": "auto", "pim": "enable"}
},
"static_routes": [{
"network": ["1.0.5.17/32", "10.0.8.0/24", "10.0.9.0/24", "10.0.10.0/24", "10.0.12.0/24", "10.0.11.0/24"],
"next_hop": "10.0.7.2"
},
{
"network": ["1.0.2.2/32", "10.0.1.0/24", "10.0.0.0/24", "10.0.4.0/24", "1.0.1.2/32"],
"next_hop": "10.0.3.1"
}]
},
"c1": {
"links": {
"lo": {"ipv4": "auto", "type": "loopback", "pim": "enable"},
"c2": {"ipv4": "auto", "pim": "enable"},
"l1": {"ipv4": "auto", "pim": "enable"},
"i4": {"ipv4": "auto", "pim": "enable"}
},
"static_routes": [{
"network": ["1.0.5.17/32", "10.0.6.0/24", "10.0.3.0/24", "10.0.8.0/24", "10.0.9.0/24", "10.0.12.0/24", "10.0.10.0/24", "10.0.11.0/24"],
"next_hop": "10.0.2.2"
},
{
"network": ["10.0.5.0/24", "10.0.7.0/24", "1.0.3.5/32", "10.0.6.0/24", "1.0.2.2/32", "10.0.1.0/24", "10.0.4.0/24"],
"next_hop": "10.0.0.2"
}]
},
"c2": {
"links": {
"lo": {"ipv4": "auto", "type": "loopback", "pim": "enable"},
"c1": {"ipv4": "auto", "pim": "enable"},
"f1": {"ipv4": "auto", "pim": "enable"},
"i5": {"ipv4": "auto", "pim": "enable"}
},
"static_routes": [{
"network": ["1.0.5.17/32", "10.0.5.0/24", "10.0.6.0/24", "10.0.7.0/24", "10.0.8.0/24", "10.0.9.0/24", "10.0.7.0/24", "10.0.10.0/24", "10.0.11.0/24"],
"next_hop": "10.0.3.2"
},
{
"network": ["1.0.1.2/32", "10.0.4.0/24", "10.0.2.0/24"],
"next_hop": "10.0.0.1"
}]
},
"i1": {
"links": {
"l1": {"ipv4": "auto"}
}
},
"i2": {
"links": {
"f1": {"ipv4": "auto"}
}
},
"i3": {
"links": {
"r2": {"ipv4": "auto"}
}
},
"i4": {
"links": {
"c1": {"ipv4": "auto"}
}
},
"i5": {
"links": {
"c2": {"ipv4": "auto"}
}
},
"i6": {
"links": {
"l1": {"ipv4": "auto"}
}
},
"i7": {
"links": {
"l1": {"ipv4": "auto"}
}
},
"i8": {
"links": {
"f1": {"ipv4": "auto"}
}
}
}
}

File diff suppressed because it is too large Load Diff