Skip to main content

OpenBTS NodeManager client

Project description

a Python client for the OpenBTS NodeManager,
providing access to components in the OpenBTS application suite: SMQueue,
SIPAuthServe, OpenBTS and NodeManager itself


### installation

```shell
$ pip install openbts
```


### usage

```python
# read a config value from a running OpenBTS instance
import openbts
openbts_connection = openbts.components.OpenBTS()
response = openbts_connection.read_config('GSM.Radio.Band')
print response.data['value']
# 900

# update a config value
response = openbts_connection.update_config('GSM.Identity.MCC', 672)
print response.code
# 204
```


### requirements
* OpenBTS 5.0 public alpha (tested on `11465a2`)
* Python 2.7


### resources
* see the [OpenBTS 4.0 manual](http://openbts.org/site/wp-content/uploads/2014/07/OpenBTS-4.0-Manual.pdf)
* and the [NodeManager source](https://github.com/RangeNetworks/NodeManager) from Range


### license
MIT


### releases
* 0.0.2 - config reading and updating for the OpenBTS component
* 0.0.1 - barebones setup for pypi


### testing
test with `nose`:

```shell
$ nosetests --detailed-errors openbts/tests.py
```


### release process
you need a ~/.pypirc like this:

```
[distutils]
index-servers =
pypi

[pypi]
repository: https://pypi.python.org/pypi
username: yosemitebandit
password: mhm
```

bump the versions in `setup.py` and in this file, then run:

```shell
$ git tag 0.0.1 -m 'openbts-python v0.0.1'
$ git push origin master --tags
$ python setup.py sdist upload -r pypi
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbts-0.0.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page