--- id: genie-libs-ops version: "26.7" license: Apache 2.0 license_treatment: permissive maintenance: active --- # genie.libs.ops — Genie libs Ops: Libraries to retrieve operational state of the topology License: permissive · Maintenance: active · Downloads: 268.4K/mo ## What it is and what it does Genie Libs Ops is a library component of the Genie test automation framework that abstracts network device operational state into Python objects. It works within the pyATS ecosystem—Cisco's end-to-end testing platform designed for data-driven, reusable test automation. The ops module lets you model and access the operational state of network features (like interfaces, routing, or protocols) as object attributes rather than raw CLI output, making test code more readable and maintainable. The package has no external runtime dependencies and is designed to integrate with Genie's broader test harness. It supports Python 3 on Linux and Mac systems. The library encourages object-oriented test automation by providing a structured way to represent network state, which aligns with Genie's philosophy of simplifying test development through reusable, modular components. Use it for: - Write network device tests that verify operational state (e.g., interface status, routing table entries) using object attributes instead of parsing CLI output - Build reusable test libraries that model network topology state consistently across different device types and vendors - Develop data-driven test suites that validate network behavior in Agile development cycles using Genie's test framework - Automate operational state validation in CI/CD pipelines for network infrastructure changes ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Genie Libs Ops provides a library component for the Genie test framework that models and retrieves the operational state of network topology features through object attributes. Yes, if you are already using Genie or pyATS for network test automation. The package is actively maintained, has no external dependencies, and carries a permissive Apache 2.0 license. It is a foundational component of Genie's ops abstraction layer. Install it as part of your Genie ecosystem setup; standalone use is less common. ## Install pip install genie-libs-ops uv add genie-libs-ops poetry add genie-libs-ops ## Installing genie.libs.ops Before you install: Active maintenance with a release within the last week. No runtime dependencies, making installation straightforward. Part of the established Genie/pyATS ecosystem from Cisco. License in practice: Apache 2.0 permissive license allows use in commercial and open-source projects with minimal restrictions. Quickstart: pip install genie.libs.ops from genie.libs.ops import ops # Access operational state through Genie's ops module Requires Python 3 on Linux or Mac; Windows is not supported. Verify before relying: - Whether this package is typically installed standalone or as part of the broader genie package installation - What specific network devices or platforms the ops component supports - Performance characteristics when querying operational state on large topologies ## Package facts - License: Apache 2.0 (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 268.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags network operational state modeling, genie test automation library, pyats ops component, network device state retrieval, test framework operational data, genie topology state objects, network-testing, cisco-pyats, test-automation [View on SkillFed](https://skillfed.io/packages/genie-libs-ops) · [View on PyPI](https://pypi.org/project/genie-libs-ops/)