Skip to main content

This package implements stand-alone REST API server to manage Xena Valkyrie chassis.

Functionality

Full REST API with functionality equivalent to the CLI.

Installation

pip instsll xenavalkyrie-rest

Getting started

Start the server

gunicorn2 xenavalkyrie_rest.wsgi:app -c xenavalkyrie_rest/settings.py

Start the development server

./xena_rest_server.py

Documentation

Xena CLI does not distinguish between attributes, operations and statistics. All are flat, unstructured, commands.

Each object has the following sub-routes - commands, attributes, statistics, operations. Note that for some objects some of the sub-routes are not applicable and in this case the sub-route is missing.

Commands: - Any raw CLI command.

The following sub-routes are abstractions on top of the raw CLI commands represented in the commands sub-route.

Attributes: - Returns all attributes in one call as dictionary - Allows set of group of attributes

Statistics: - Structured statistics.

Operations: - Strcutured operations. Not supported in first release.

CLI documentation - swagger UI - http://<SERVER>:<PORT>/api swagger version 2.0 JSON - http://<SERVER>:<PORT>/api/swagger.json

Contact

Feel free to contact me with any question or feature request at yoram@ignissoft.com

Metadata

Release files for xenavalkyrie-rest 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xenavalkyrie-rest 0.6.2
File Size Uploaded
xenavalkyrie-rest-0.6.2.tar.gz 17.6 kB Details

Release files / xenavalkyrie-rest-0.6.2.tar.gz

Download URL xenavalkyrie-rest-0.6.2.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b3aa5d5d1e4efcf9d0ec2acfbc90fad8666d062d13de0333e4370d665798d8cf
BLAKE2b-256 checksum
How to use checksums
bff58c195761e24a2a1d0b041eb37f740d19b7fff00a3a7f593a39f991a38408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15rc1

Release history Release notifications | RSS feed

This release

0.6.2 This release

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