1 2These were the tests done to validate the Diffserv scripts. 3This document will be updated continously. If you do more 4thorough validation testing please post the details to the 5diffserv mailing list. 6Nevertheless, these tests should serve for basic validation. 7 8AFCBQ, EFCBQ, EFPRIO 9---------------------- 10 11generate all possible DSCPs and observe that they 12get sent to the proper classes. In the case of AF also 13to the correct Virtual Queues. 14 15Edge1 16----- 17generate TOS values 0x0,0x10,0xbb each with IP addresses 1810.2.0.24 (mark 1), 10.2.0.3 (mark2) and 10.2.0.30 (mark 3) 19and observe that they get marked as expected. 20 21Edge2 22----- 23 24-Repeat the tests in Edge1 25-ftp with data direction from 10.2.0.2 26 *observe that the metering/policing works correctly (and the marking 27 as well). In this case the mark used will be 3 28 29Edge31-cb-chains 30---------------- 31 32-ftp with data direction from 10.2.0.2 33 34 *observe that the metering/policing works correctly (and the marking 35 as well). In this case the mark used will be 1. 36 37 Metering: The data throughput should not exceed 2*CIR1 + 2*CIR2 38 which is roughly: 5mbps 39 40 Marking: the should be a variation of marked packets: 41 AF41(TOS=0x88) AF42(0x90) AF43(0x98) and BE (0x0) 42 43More tests required to see the interaction of several sources (other 44than subnet 10.2.0.0/24). 45 46Edge31-ca-u32 47-------------- 48 49Generate data using modified tcpblast from 10.2.0.2 (behind eth2) to the 50discard port of 10.1.0.2 (behind eth1) 51 521) generate with src tos = 0x88 53 Metering: Allocated throughput should not exceed 2*CIR1 + 2*CIR2 54 approximately 5mbps 55 Marking: Should vary between 0x88,0x90,0x98 and 0x0 56 572) generate with src tos = 0x90 58 Metering: Allocated throughput should not exceed CIR1 + 2*CIR2 59 approximately 3.5mbps 60 Marking: Should vary between 0x90,0x98 and 0x0 61 623) generate with src tos = 0x98 63 Metering: Allocated throughput should not exceed CIR1 + CIR2 64 approximately 2.5mbps 65 Marking: Should vary between 0x98 and 0x0 66 674) generate with src tos any other than the above 68 Metering: Allocated throughput should not exceed CIR1 69 approximately 1.5mbps 70 Marking: Should be consistent at 0x0 71 72TODO: Testing on how each color shares when all 4 types of packets 73are going through the edge device 74 75Edge32-cb-u32, Edge32-cb-chains 76------------------------------- 77 78-ftp with data direction from 10.2.0.2 79 80 *observe that the metering/policing works correctly (and the marking 81 as well). 82 83 Metering: 84 The data throughput should not exceed 2*CIR1 + 2*CIR2 85 + 2*PIR2 + PIR1 for u32 which is roughly: 6mbps 86 The data throughput should not exceed 2*CIR1 + 5*CIR2 87 for chains which is roughly: 6mbps 88 89 Marking: the should be a variation of marked packets: 90 AF41(TOS=0x88) AF42(0x90) AF43(0x98) and BE (0x0) 91 92TODO: 93-More tests required to see the interaction of several sources (other 94than subnet 10.2.0.0/24). 95-More tests needed to capture stats on how many times the CIR was exceeded 96but the data was not remarked etc. 97 98Edge32-ca-u32 99-------------- 100 101Generate data using modified tcpblast from 10.2.0.2 (behind eth2) to the 102discard port of 10.1.0.2 (behind eth1) 103 1041) generate with src tos = 0x88 105 Metering: Allocated throughput should not exceed 2*CIR1 + 2*CIR2 106 +PIR1 -- approximately 4mbps 107 Marking: Should vary between 0x88,0x90,0x98 and 0x0 108 1092) generate with src tos = 0x90 110 Metering: Allocated throughput should not exceed CIR1 + 2*CIR2 111 + 2* PIR2 approximately 3mbps 112 Marking: Should vary between 0x90,0x98 and 0x0 113 1143) generate with src tos = 0x98 115 Metering: Allocated throughput should not exceed PIR1+ CIR1 + CIR2 116 approximately 2.5mbps 117 Marking: Should vary between 0x98 and 0x0 118 1194) generate with src tos any other than the above 120 Metering: Allocated throughput should not exceed CIR1 121 approximately 1mbps 122 Marking: Should be consistent at 0x0 123 124TODO: Testing on how each color shares when all 4 types of packets 125are going through the edge device 126