Abstraction Package

The Genie Abstraction package (or simply abstract) enables users to build os/platform/release/feature/etc and reference them dynamically in their scripts without hard-coded imports.

The Genie Abstraction package is an extention of the top-level Cisco Genie automation package, based on Cisco pyATS framework.

This package was initially developed internally in Cisco, and is now available to the general public starting late 2017 through Cisco DevNet.

For more details, refer to pyATS.

Tip

It is strongly recommended that all scripts to be written using this abstraction package. This will vastly reduce future maintenance work if the script is to be re-used. Wanna know why? Read on…