Skip to main content

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

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)

Table of built distributions (wheels) for xenavalkyrie 3.0.1
File Interpreter ABI Platform
xenavalkyrie-3.0.1-py3-none-any.whl Python 3 none any Details

Release files / xenavalkyrie-3.0.1-py3-none-any.whl

Download URL xenavalkyrie-3.0.1-py3-none-any.whl
Size 43.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4b5d935e479902e8a26b985322d4bcc5bcfc848b8bda7c5cebe35b198842ce7
BLAKE2b-256 checksum
How to use checksums
118c3eb58cc0ecf6df271b4cb64f630889307366be48eabde2146eabb5bbc4a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

3.0.1 This release

1 release file

3.0.0

1 release file

1.4.1

1 release file

1.4

1 release file

1.3.7

1 release file

1.3.6

1 release file

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page