Merge pull request #7314 from kuldeepkash/multicast-sm-topo1

Add multicast-pim-sm-topo1 test suite
This commit is contained in:
Donald Sharp 2021-02-02 10:43:09 -05:00 committed by GitHub
commit cc73a06499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 3926 additions and 0 deletions

View File

@ -21,6 +21,7 @@ Installing Mininet Infrastructure
apt-get install mininet
apt-get install python-pip
apt-get install iproute
apt-get install iperf
pip install ipaddr
pip install "pytest<5"
pip install exabgp==3.4.17 (Newer 4.0 version of exabgp is not yet

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

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