tag | 475567abf66bdcb49238d7e700c7d922549efb15 | |
---|---|---|
tagger | Jenkins <do-not-reply@opencord.org> | Tue May 21 16:00:17 2019 +0000 |
object | 53afa4f8998d7f1ccc80370440a2ce92e3342f4e |
Tagged by CORD Jenkins version-tag job: 1693, for Gerrit patchset: 13891
commit | 53afa4f8998d7f1ccc80370440a2ce92e3342f4e | [log] [tgz] |
---|---|---|
author | Matt Jeanneret <mj3580@att.com> | Fri May 10 13:17:24 2019 -0400 |
committer | Matt Jeanneret <mj3580@att.com> | Tue May 21 05:18:11 2019 -0400 |
tree | 4256df58bcd8178ae355127749c95601958109c8 | |
parent | 975c9e88e50e333e674211ba315d0c8e39a5980a [diff] |
Tag version 2.0.0 Also use new versions of pyvoltha and voltha-protos Change-Id: I4bbbfa7278b1f50ba16950d93229bf7787f89f58
Assuming the VOLTHA2.0 environment is made using the quickstart.md in voltha-go.
Dependencies are committed to the repos as per current standard practice. If you need to update them you can do so with dep. This includes the voltha-protos and voltha-go dependencies.
Ensure your GOPATH variable is set according to the quickstart Create a symbolic link in the $GOPATH/src tree to the voltha-openolt-adapter repository:
mkdir -p $GOPATH/src/github.com/opencord ln -s ~/repos/voltha-openolt-adapter $GOPATH/src/github.com/opencord/voltha-openolt-adapter
Install dep for fetching dependencies
mkdir -p $GOPATH/bin curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh Pull and build dependencies for the project. This may take a while. This may likely update versions of 3rd party packages in the vendor folder. This may introduce unexpected changes. If everything still works feel free to check in the vendor updates as needed. cd $GOPATH/src/github.com/opencord/voltha-go/ dep ensure If you are using a custom local copy of protos or voltha-go Just export LOCAL_PROTOS=true or LOCAL_VOLTHAGO=true to use that instead, assuming you have set them up on GOPATH. See the quickstart. 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