Feature #4327
Updated by Eric Newberry about 7 years ago
Implement the congestion mark integration test case proposed by Klaus in #3797 note 57. The below is modified and extended from his note. Topology: C -- B -- A -- R -- D 1. Start NFD on A, B, C, and D. 2. Route for `/arizona/cs` set toward B A on C, toward A R on B, A, and toward D on A. R. 3. 2. Capture packets received on A R from link B A to A R and on D from link A R to D. 4. 3. D starts a producer consumer for `/arizona/cs`. 5. 4. C sends an Interest for `/arizona/cs`. 6. B 5. A adds the congestion mark to the traversing Interest to indicate congestion. 7. A 6. R will propagate the congestion mark on the outgoing Interest if it exists. 8. 7. If C A did not receive a Data satisfying the Interest within timeout, fail the test. 9. 8. Parse capture from A R to check if Interest with a congestion mark was received. If not, fail the test. 10. 9. Parse capture from D to check if Interest with a congestion mark was received. If not, fail the test. This test case could be extended to check for Data packet congestion mark propagation in the reverse direction, but this is not currently supported (see #4290). Additionally, NFD will currently not add a congestion mark to packets at any time in the current implementation (unless it is propagating an existing mark) - this must be implemented somehow for the Interest component of this test case to work.