XOA Converter
XOA Converter is a supporting tool for you to quickly migrate your Xena Windows desktop RFC test suite configurations into XOA RFC test suite.
Introduction
The XOA Converter is designed to help you migrate your Xena Windows desktop RFC test suite configurations into XOA RFC test suites, enabling a seamless transition to the XOA RFC ecosystem for network automation and testing.
Key features of the XOA Converter include:
-
Conversion support: The tool supports conversion of Valkyrie test suite configuration files to XOA RFC-compatible format, facilitating the integration of existing test cases into the XOA RFC framework.
-
Ease of use: The XOA Converter is designed to be user-friendly, with a straightforward process for converting test suite configuration files.
-
Compatibility: The converter ensures that the migrated test suite configurations are compatible with XOA RFC Core and can be executed within the XOA RFC ecosystem.
The purpose of XOA Converter is ONLY to convert Xena Windows desktop test suite RFC configuration files into XOA RFC configuration files. Thus only four test suite types are supported by XOA Converter as the source config files.
Documentation
The user documentation is hosted: XOA Converter Documentation
Installation
Install Using pip
Make sure Python pip is installed on you system. If you are using virtualenv, then pip is already installed into environments created by virtualenv, and using sudo is not needed. If you do not have pip installed, download this file: https://bootstrap.pypa.io/get-pip.py and run python get-pip.py.
To install/upgrade:
pip install tdl-xoa-converter -U
Install From Source Code
Make sure these packages are installed wheel, setuptools on your system.
pip install wheel setuptools
To install from source of python packages:
python setup.py install
Build From Source Code for Distribution
If you want to build a .whl file for distribution, you can use the following command:
python setup.py bdist_wheel
Quick Start
Here is a quick start guide to get you started with XOA Converter:
Install the latest version of XOA Converter using pip:
pip install tdl-xoa-converter -U
Code example to convert .x2544 into XOA RFC 2544 test configuration:
import asyncio
import json
from xoa_core import controller
from xoa_converter.entry import converter
from xoa_converter.types import TestSuiteType
async def start():
SOURCE_CONFIG_FILE = "my_old2544_config.x2544" # source config file to be converted
core_ctrl = await controller.MainController() # create an instance of xoa rfc core controller
info = core_ctrl.get_test_suite_info("RFC-2544") # get 2544 test suite information from the core's registration
target_schema = json.load(info['schema']) # get the target json schema
with open(SOURCE_CONFIG_FILE, 'r') as source_data_file:
target_config = converter(
test_suite_type=TestSuiteType.RFC2544,
source_config=source_data_file.read(),
target_schema=target_schema
)
print(target_config)
if __name__ == '__main__':
loop = asyncio.get_event_loop()
loop.create_task(start())
loop.run_forever()
Metadata
Release files for tdl-xoa-converter 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tdl_xoa_converter-1.1.0.tar.gz | 41.6 kB | Without provenance | Details for tdl_xoa_converter-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tdl_xoa_converter-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for tdl_xoa_converter-1.1.0-py3-none-any.whl |
Total release size: 106.0 kB
Release files / tdl_xoa_converter-1.1.0.tar.gz
| Download URL | tdl_xoa_converter-1.1.0.tar.gz |
|---|---|
| Size | 41.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dc3d0ef307144e8ecf3a440e219ca2376a9de408811cb1fe468999dfd524998
|
|
BLAKE2b-256 checksum How to use checksums |
e516b99fc675465ded6bce490ed87598552b83e1e1699237813981da601d6dcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / tdl_xoa_converter-1.1.0-py3-none-any.whl
| Download URL | tdl_xoa_converter-1.1.0-py3-none-any.whl |
|---|---|
| Size | 64.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbd450452251b89e22c7ef569af38020b761adce9c92fae4732a81cef6bb7626
|
|
BLAKE2b-256 checksum How to use checksums |
2c7148412041c41130388434c12389f4a0fed46b907ceb01f9c6ed9ac9f581a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for tdl-xoa-converter 1.1.0
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.