commit | e530104087f6c555e89c6801c8dcb7710345e72c | [log] [tgz] |
---|---|---|
author | William Kurkian <wkurkian@cisco.com> | Tue Apr 09 16:49:36 2019 -0400 |
committer | William Kurkian <wkurkian@cisco.com> | Tue Apr 09 16:49:36 2019 -0400 |
tree | 9b3d6d23a1321dadf93bb83134025773c3edf4e5 | |
parent | bf256be8c0cfd38759fb93c011dfffab7969ec73 [diff] |
VOL-1554 Updated build to use LOCAL_PROTO for using local protos, and using a single base dockerfile Change-Id: Ifa4ec6094c260a604918ccee75420bf328e647dd
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