Skip to content

Commit 3b28e34

Browse files
committed
examples, tests: bgpv4: fix addresses in BgpCompleteTest
Replace broadcast addresses (.255) with valid host addresses (.254) in BGP configuration files. Some old addresses were incorrectly specified as network broadcast addresses in IPv4Config.xml file. Updated fingerprint: /~tND
1 parent 59bff06 commit 3b28e34

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

examples/bgpv4/BgpCompleteTest/BGPConfig.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
</AS>
2222

2323
<AS id="60222">
24-
<Router interAddr="172.10.4.255"/> <!--Router B-->
24+
<Router interAddr="172.10.4.254"/> <!--Router B-->
2525
</AS>
2626

2727
<AS id="60333">
@@ -34,11 +34,11 @@
3434
</AS>
3535

3636
<AS id="60444">
37-
<Router interAddr="172.10.8.255"/> <!--Router D-->
37+
<Router interAddr="172.10.8.254"/> <!--Router D-->
3838
</AS>
3939

4040
<AS id="60555">
41-
<Router interAddr="172.15.0.255"/> <!--Router E-->
41+
<Router interAddr="172.15.0.254"/> <!--Router E-->
4242
<DenyASIN> 60222 </DenyASIN>
4343
</AS>
4444

examples/bgpv4/BgpCompleteTest/IPv4Config.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<interface hosts='A2' names='ppp1' address='172.1.20.255' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
66
<interface hosts='B1' names='ppp0' address='10.10.20.2' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
77
<interface hosts='B1' names='ppp1' address='10.10.30.1' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
8-
<interface hosts='B1' names='eth0' address='172.10.4.255' netmask='255.255.255.0' metric='1'/>
8+
<interface hosts='B1' names='eth0' address='172.10.4.254' netmask='255.255.255.0' metric='1'/>
99
<interface hosts='C1' names='ppp0' address='10.10.10.2' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
1010
<interface hosts='C1' names='ppp1' address='172.13.1.255' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
1111
<interface hosts='C2' names='ppp0' address='10.10.30.2' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
@@ -15,12 +15,12 @@
1515
<interface hosts='C4' names='ppp0' address='10.10.50.1' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
1616
<interface hosts='C4' names='ppp1' address='172.13.4.255' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
1717
<interface hosts='D1' names='ppp0' address='10.10.40.2' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
18-
<interface hosts='D1' names='eth0' address='172.10.8.255' netmask='255.255.255.0' metric='1'/>
18+
<interface hosts='D1' names='eth0' address='172.10.8.254' netmask='255.255.255.0' metric='1'/>
1919
<interface hosts='E1' names='ppp0' address='10.10.50.2' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
20-
<interface hosts='E1' names='eth0' address='172.15.0.255' netmask='255.255.255.0' metric='1'/>
20+
<interface hosts='E1' names='eth0' address='172.15.0.254' netmask='255.255.255.0' metric='1'/>
2121
<interface hosts='RA3' names='ppp0' address='172.1.10.254' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
2222
<interface hosts='RA3' names='ppp1' address='172.1.20.254' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
23-
<interface hosts='RA3' names='eth0' address='172.1.0.255' netmask='255.255.255.0' metric='1'/>
23+
<interface hosts='RA3' names='eth0' address='172.1.0.254' netmask='255.255.255.0' metric='1'/>
2424
<interface hosts='RC5' names='ppp0' address='172.13.1.254' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
2525
<interface hosts='RC5' names='ppp1' address='172.13.2.254' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>
2626
<interface hosts='RC5' names='ppp2' address='172.13.3.254' netmask='255.255.255.0' groups='224.0.0.1 224.0.0.2 224.0.0.5' metric='1'/>

tests/fingerprint/examples.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/examples/bgpv4/Bgp2RoutersInAS/, -f omnetpp.ini -c General -r 0, 1000s, 40df-b616/tplx;c504-7297/~tNl;c40f-3bef/~tND;38b3-b029/tyf, PASS, ospf EthernetMac Ipv4
2626
/examples/bgpv4/Bgp3Routers/, -f omnetpp.ini -c General -r 0, 1000s, a4fe-e9a6/tplx;2c93-b913/~tNl;abc7-4ccf/~tND;7bc6-a9c0/tyf, PASS, ospf EthernetMac Ipv4
27-
/examples/bgpv4/BgpCompleteTest/, -f omnetpp.ini -c General -r 0, 1000s, 1b55-5b10/tplx;a62e-572b/~tNl;6ad7-1dc2/~tND;12c9-5a59/tyf, PASS, ospf EthernetMac Ipv4
27+
/examples/bgpv4/BgpCompleteTest/, -f omnetpp.ini -c General -r 0, 1000s, 1b55-5b10/tplx;a62e-572b/~tNl;ed1b-2f1f/~tND;12c9-5a59/tyf, PASS, ospf EthernetMac Ipv4
2828
/examples/bgpv4/BgpOpen/, -f omnetpp.ini -c General -r 0, 62s, f559-6038/tplx;9dce-698e/~tNl;400e-d43e/~tND;99c2-f166/tyf, PASS, ospf Ipv4
2929
/examples/bgpv4/BgpUpdate/, -f omnetpp.ini -c General -r 0, 30s, c6af-84d3/tplx;3a06-a4f0/~tNl;3967-7b00/~tND;757f-2bbc/tyf, PASS, ospf EthernetMac Ipv4
3030
/examples/bgpv4/BgpAndOspf/, -f omnetpp.ini -c General -r 0, 1000s, e07a-0094/tplx;7a5d-2469/~tNl;263a-e848/~tND;bb0f-0a52/tyf, PASS, ospf EthernetMac Ipv4

0 commit comments

Comments
 (0)