--- id: genie-trafficgen version: "26.7" license: Apache 2.0 license_treatment: permissive maintenance: active --- # genie.trafficgen — Genie Library for traffic generator connection support License: permissive · Maintenance: active · Downloads: 198.0K/mo ## What it is and what it does Genie Traffic Component is a sub-package of the Genie testing framework that abstracts connections to traffic generator devices like IxNetwork and Spirent TestCenter. It sits within the broader pyATS ecosystem, a data-driven test automation platform developed by Cisco and designed for rapid, reusable test development in an object-oriented Python style. The package provides a unified interface to control traffic generation hardware, allowing test automation code to send and receive network traffic as part of larger test suites. It depends on vendor-specific libraries (IxNetwork, stcrestclient) and the core Genie and unicon packages, making it most useful for teams already using the pyATS framework or planning to integrate traffic testing into existing Genie-based test automation. Use it for: - Automate network device testing by generating and monitoring traffic flows through Genie test cases. - Integrate IxNetwork or Spirent TestCenter traffic generation into pyATS-based test suites. - Build reusable traffic scenarios for data-center or carrier network validation. - Combine traffic generation with device configuration and state verification in a single test harness. - Scale from simple linear traffic tests to complex asynchronous multi-flow scenarios. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides connection implementations to traffic generator devices within the Genie testing framework, enabling test automation to control and interact with traffic generation hardware. Yes, if you are already using Genie and pyATS for test automation and need to add traffic generation capabilities. The active maintenance, permissive license, and low install friction make it a straightforward addition. However, you must have access to compatible traffic generator hardware (IxNetwork or STC) and be prepared for vendor-specific setup; it is not useful as a standalone traffic simulation tool. ## Install pip install genie-trafficgen uv add genie-trafficgen poetry add genie-trafficgen ## Installing genie.trafficgen Before you install: Active maintenance with a release 7 days ago. Low install friction as a pure-Python wheel. Depends on 8 runtime packages including genie, unicon, and traffic-specific libraries like IxNetwork and stcrestclient, which may require additional system setup or licenses. License in practice: Licensed under Apache 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution and liability disclaimers. Quickstart: pip install genie.trafficgen from genie.trafficgen import TrafficGen # Use TrafficGen to connect to and control traffic generator devices Requires traffic generator hardware (IxNetwork or STC) and may require vendor-specific drivers or licenses; Linux or macOS only per documentation. Verify before relying: - Whether IxNetwork and stcrestclient dependencies require commercial licenses or vendor-specific setup beyond pip installation. - Current Python version support floor (description mentions 3.4+ but classifiers list 3.9–3.13). - Whether Windows support has been added since the description was written. ## Package facts - License: Apache 2.0 (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 198.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags traffic generator control, genie traffic component, network traffic testing, pyats traffic generation, ixnetwork integration, test automation traffic, network device traffic, network-testing, traffic-generation, pyats-ecosystem [View on SkillFed](https://skillfed.io/packages/genie-trafficgen) · [View on PyPI](https://pypi.org/project/genie-trafficgen/)