Genie libs Conf is a Python library within the pyATS/Genie framework, designed to configure network device topologies through Python object attributes. It provides a programmatic way to define and apply configurations, often used in network automation and testing. Version 26.3 is current, and releases typically align with the broader pyATS/Genie framework, which has a regular, frequent release cycle.
pip install genie-libs-confVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to create a `Genie` instance, define a `Device`, and then configure an `Interface` with IP address and description using `genie.libs.conf` objects, finally generating the CLI configuration string.
Consult the official `pyATS` release notes and documentation for your specific version to adapt API calls, especially for `Genie` and `Device` object methods.
Ensure configuration objects are correctly associated with their parent objects, typically through the object's constructor (e.g., `Interface(..., device=device)`) or by adding them to the parent's feature list where appropriate.
Always refer to the specific configuration object's schema documentation to verify attribute names, expected types, and valid values. Some attributes might use common names (like `ip_address`) which are internally mapped.