File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,21 @@ make stop
189189Congratulations, your implementation works! Move onto the next assignment
190190[ Basic Tunneling] ( ../basic_tunnel )
191191
192+ ## Automated Tests
193+
194+ PTF (Packet Test Framework) tests are available to verify the solution
195+ program works correctly. These tests run against ` solution/basic.p4 `
196+ and check forwarding behavior, including drop on miss, single entry
197+ forwarding, and multi-entry LPM routing.
198+
199+ To run the tests:
200+ ``` bash
201+ ./runptf.sh
202+ ```
203+
204+ Note: The ` veth ` interfaces must be set up before running. If you see
205+ a "No such device" error, run the ` veth_setup.sh ` script from
206+ [ p4-guide] ( https://github.com/jafingerhut/p4-guide/blob/master/bin/veth_setup.sh ) .
192207
193208## Relevant Documentation
194209
You can’t perform that action at this time.
0 commit comments