VOL-1493 VOL-1454:

Process omci messages. Properly set device state
using new core_proxy api

Implement and process inter adapter messages.
Handle omci_indications. Also keep track of stacked
up onu discovery indications so we dont repeatedly
add onu.  Future data_model changes could
likely encompass this.

Can now successfully mib upload and mib_sync
is success with onu adapter

Change-Id: Ib0f0c2f29f6410736ef8db3bde143206d603a140
4 files changed
tree: 92a83b5bdab3cb14f47a18ea061d45ef3b93a5e7
  1. .gitignore
  2. Makefile
  3. README.md
  4. VERSION
  5. adaptercore/
  6. compose/
  7. config/
  8. docker/
  9. main.go
  10. openolt.proto
  11. python/
README.md

How to Build and Run a GOlang based OpenOLT Adapter

Assuming the VOLTHA2.0 environment is made using the quickstart.md in voltha-go.

cd ~/source/voltha-openolt-adapter

Get the latest code changes

git pull

To build the docker image

make build

This will create the voltha-openolt-adapter-go docker image

$ docker images | grep openolt
voltha-openolt-adapter-go        latest              38688e697472        2 hours ago         37.3MB

In case the python voltha openolt adapter is started, stop the python voltha openolt docker container

To start the GOlang based OpenOLT adapter

DOCKER_HOST_IP= docker-compose -f compose/adapters-openolt-go.yml up -d

The functionality of OLT activation can be verified through BBSIM Follow the below steps to start BBSIM and provision it through VOLTHA-CLI https://github.com/opencord/voltha-bbsim/blob/master/README.md