VOL-1477 Migrate OpenOltAlarmMgr

Added alarm related functions to the core_proxy to send and create alarm
Some of the onu alarm classes modified to include serial_number in the alarm context
AdapterAlarms has modified to include the device's serial_number

Change-Id: Idda9ba90071029f57bb0b7e394fdd5bb6385ee3f
13 files changed
tree: 8f3047f87a933c305d669b4315e1bb674f6adfaf
  1. .coveragerc
  2. .gitignore
  3. .gitreview
  4. CHANGES.txt
  5. LICENSE.txt
  6. MANIFEST.in
  7. Makefile
  8. README.md
  9. VERSION
  10. docker/
  11. env.sh
  12. pyvoltha/
  13. requirements.txt
  14. setup.py
  15. test-requirements.txt
  16. test/
  17. tox.ini
README.md

PyVOLTHA

PyVOLTHA is a collection of shared Python libraries that are use to create Python-based VOLTHA Device Adapters and other Python utilities (CLI, ...) that need to work with the VOLTHA v2.0 and later Golang core.

Initially PyVOLTHA will target only Python 2.7, but contributors are encouraged to write or refactor any library methods to eventually support Python 3.6.x or later.

Installation instruction

pip install pyvoltha

Release History

VersionDateNotes
v0.1.02019-02-01Initial pypy release available. This is primarily for testing out pip install support and is not expected to be useful outside of that.

Detailed Release History

v0.1.0 (2019-02-01)

  • Experimental release of pyvoltha to test pip install capabilities. This version has manually created protobuf definitions and will probably not be very usable by any device adapters.
  • This version is not under source control management at this time. Initial VCS support is anticipated in the very near future when portions of this project can be consumed by a device adapter developer.
  • Protobuf files in the 'proto' directory were hand copied over from the voltha-go repository. These will eventually be in a separate repo that developers will need to include.
  • Most all import paths fixed but that does not mean everything works
  • A fair number of original unit tests are working after import changes. Others need work.