API interface to the OCI-P provisioning interface of a Broadworks softswitch
Project description
Broadworks OCI-P Interface
broadworks_ocip
interfaces to the OCI-P provisioning interface of a Broadworks softswitch
- Free software: BSD license
- Documentation: https://nigelm.github.io/broadworks_ocip/
Features
- python objects to match all Broadworks schema objects
- API framework to talk to a Broadworks server
- additional magic to handle authentication and sessions
- Based on Broadworks schema R25
Current Version
Version: 2.2.0
This is based on Broadworks schema R25 - the available methods will have changed based on that.
Installation
With pip
:
python3 -m pip install broadworks-ocip
Usage
More details is given within the usage section of the documentation, but the minimal summary is:-
from broadworks_ocip import BroadworksAPI
# configure the API, connect and authenticate to the server
api = BroadworksAPI(
host=args.host, port=args.port, username=args.username, password=args.password,
)
# get the platform software level
response = api.command("SystemSoftwareVersionGetRequest")
print(response.version)
Version 2
Despite the bump in version number there are no known major incompatibilities from previous versions. However the underlying class base has been changed to a vanilla python slots based system - the thinking behind this is in the API internals documentation. This will change the underlying requirements.
Additionally at the same time I have converted to Broadworks R24 API schema files as the basis for generating these classes. This will change the set of available commands and classes.
Credits
The class used to be built using Michael DeHaan's [ClassForge
]
(https://classforge.io/) object system, however from version 2.0.0 it has
been based on vanilla python slotted objects.
Development on the python version was done by
Nigel Metheringham <nigelm@cpan.org>
Karol Skibiński has been using the package, and has a talent for both finding bugs within it and providing a good bug report that allows a test case and fix to be made. The package has been immensely improved by this work.
R25 schema update along with some other changes was contributed by @ewurch (Eduardo Würch).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file broadworks_ocip-2.2.0.tar.gz
.
File metadata
- Download URL: broadworks_ocip-2.2.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.10 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d49ea5ec7af609e7ffc5c00aba4eec07c3a8ad79f57e24fd6c25a13b7ee1aa0 |
|
MD5 | 1a8769e01d4849ad1635903b2ff61a75 |
|
BLAKE2b-256 | 2d192a4c55559a5edc37635f62d6e7b711ed09d488b25264bb8f097073755be4 |
File details
Details for the file broadworks_ocip-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: broadworks_ocip-2.2.0-py3-none-any.whl
- Upload date:
- Size: 892.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.10.10 Linux/6.5.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | daf47583f1eeb848a62ff4fce20322f78a1a8d39ce42ba52435f5b998f5d01d5 |
|
MD5 | f5d37bbe85fe33a383c0aeb979995647 |
|
BLAKE2b-256 | 9c8382b52fb69635450b2aec3065147e5f64091417bb1131aecc2d1d58b818c5 |