SysUnit APIs

SysUnit provides some APIs that implement common functionality needed by test suites, and more will be added over time as new test suites are added. The following APIs are available

Fakes/Mocks/Stubs

Main Article: SysUnit/APIs/FakesMocksStubs

A number of KPIs have been faked, mocked or stubbed out. New test suites that need to consume these KPIs should use these implementations rather than writing new ones if at all possible.

PktGen

Main Article: SysUnit/APIs/PktGen

PktGen is an interface for specifying the contents of a packet via a packet template. The template can be used to generate an mbuf whose payload matches the specification in the template, or a generate a matcher that verifies that an mbuf's payload matches the template.

SysUnit/APIs (last edited 2018-03-28T22:32:38+0000 by RyanStone)