Open Traffic Generator (OTG) is an open standard, specifying declarative and vendor neutral API for testing Layer 2-7 network devices and applications (at any scale). Visit our website at otg.dev for more information.
- The specification is written using OpenAPI (and custom extensions), with self-updating online documentation
- Examples of using OTG APIs are available in otg-examples
- The SDK is available for Python (snappi) and Go (gosnappi),
- Supports both
HTTPs/JSON
andgRPC/protobuf
as transport - Intended to be used by both client and server
- Auto-generated using openapiart
- Supports both
- The yang specification is also maintained to support
gNMI
(only for OTG telemetry) - Keysight provides a reference implementation called Ixia-c
- OTG Conformance Tests hosts OTG tests for variety of use-cases