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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xenavalkyrie-rest-0.6.2.tar.gz | 17.6 kB | Without provenance | Details for xenavalkyrie-rest-0.6.2.tar.gz |
Security for xenavalkyrie-rest 0.6.2
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.