Getting Started¶
Kickoff your Genie experience!
Explore Genie¶
Genie - General¶
Get started with Genie!
- 1. How to install Genie
- 2. How to keep Genie up to date - How to upgrade Genie?
- 3. Summary of Genie Libraries and how to keep those up to date.
- 4. Genie Libraries and Recording
- 5. Set up your testbed file and connect to a device
- 6. Extra connections!
- 7. Control devices’ connections!
- 8. Parse device output
- 9. Learn device feature
Genie Command Line¶
Linux command line to interact with Genie!
Genie.libs.parsers¶
Parser device output into structured datafile!
Genie.Ops¶
Python object providing the operation state of your topology!
- 1. Summary
- 2. Retrieve a snapshot of the Operation state of your device
- 3. Get partial state of a feature - command based
- 4. Get partial state of a feature - Attribute based
- 5. Use
Ops
object to verify state is as expected. - 6. Compare two feature snapshots - Diff two
ops
object. - 7. Save snapshot to file, and re-use them at a later time
- 8. Connection pool with
Ops
- Learn Faster! - 9. One script across all platform! -
abstract package
- 10. One script across all Interface management (Cli/Yang/Xml/…)
- 11. Navigate
Ops
object with your needs - TheFind
object - 12. Where are the object models located?
- 13. How to contribute
- 14. Get exclude keys for an ops object
Genie.Conf¶
Python object configuring your topology!
- 1. Summary
- 2. Configure a device without using any command -
Conf
object - 3. Configure single/partial attributes on a device with
Conf
object - 4. Configure multiple device with
Conf
object - 5. Configure a device with different context. (Cli, Yang, …)
- 6. Quickly find what you are looking for with the
find
object - 7. Where are the object models located ?
- 8. How to contribute
Genie.Harness¶
Automation driven by Yaml files!
- 1. Summary
- 2. What’s the flow of Genie Harness
- 3. Getting started with the Harness
- 4. Summary of each datafile
- 5. How to connect to your devices with the Harness?
- 6. Connection pool with the harness
- 7. How to apply the configuration to your devices?
- 8. What does the
configuration_snapshot
andverify_configuration_snapshot
sections do ? - 9. What is the purpose of
Profiling
inCommon Setup
andCommon Cleanup
? - 10. How to add Traffic Generator to Genie Harness and how do they help to test?
- 11. Where can I see all the arguments which Genie harness supports?
- 12. What is a datafile schema
- 13. How does the
extends
field work for Datafiles? - 14. Select which verifications to execute
- 15. Modify existing Verification arguments
- 16. Write a new verification
- 17. Select which trigger to execute
- 18. Modify existing triggers arguments
- 19. Write a new trigger
- 20. Apply configuration to your devices
- 21. Profile the system
- 22. Golden PTS
- 23. What can you do with the mapping datafile
- 24. Add/Remove subsections
- 25. Processors
- 26. How to re-use existing Triggers/Verifications within an existing pyATS Script.
- 27. What kind of examples is there for Genie Harness?
- 28. Update verification snapshots
- 29. Randomize Triggers
- 30. Trigger containing multiple Triggers and Verifications
- 31. Loop a Trigger
- 32. Run command or API on failure
- 33. Repeated execution of Triggers