Python OO API for Xena Valkyrie traffic generator.
Functionality
The current version supports the following test flow:
- Load/Build configuration -> Change configuration -> Start/Stop traffic -> Get statistics/capture
Supported operations:
- Login, connect to chassis and reserve ports
- Load existing configuration file
- Build configuration from scratch
- Get/set attributes
- Start/Stop - transmit, capture
- Statistics - ports, streams (end to ends) and TPLDs
- Capture - get captured packets
- Release ports and disconnect
Migrate from pyxenamanager
- Package renamed from xenamanager to xenavalkyrie
- XenaStreamsStats.statistics['rx']:
Returns all RX statistics indexed by RX port instead of TPLD object.
Installation
pip install xenavalkyrie
Getting started
Under xenavalkyrie.test.xena_samples you will find some basic samples.
See inside for more info.
Documentation
http://pyxenavalkyrie.readthedocs.io/en/latest/
Usage notes
- Do not create XenaManager manually but use the init_xena factory
- When loading configuration files, first load all files only then manipulate the configuration.
Related works
The package replaces pyxenamanager - https://github.com/xenadevel/PyXenaManager
Contact
Feel free to contact me with any question or feature request at yoram@ignissoft.com
Metadata
Release files for xenavalkyrie 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xenavalkyrie-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for xenavalkyrie-3.0.1-py3-none-any.whl |
Security for xenavalkyrie 3.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.