| commit | 43f5cc022d11afb4720bfcd766e71c8f0d5e2dda | [log] [tgz] |
|---|---|---|
| author | Joey Armstrong <joey@opennetworking.org> | Fri Jan 12 18:33:25 2024 -0500 |
| committer | Joey Armstrong <joey@opennetworking.org> | Mon Jan 15 21:29:49 2024 +0000 |
| tree | d7b873c7e5faaa37133d89d4b6cb5023f6648142 | |
| parent | 03b2087b5bace8eecd3c660ee664f3f644ecb09f [diff] |
[VOL-5254] - Baseline build prior to release tag/branch
Makefile
--------
o Copy in mod-update target logic from repo:onf-make.
o Support for FIX_LOCAL_PERMS=1 repairing docker inspired problems.
go.mod
go.sum
vendor/github.com/opencord/voltha-lib-go/v7/LICENSE
vendor/github.com/opencord/voltha-lib-go/v7/pkg/config/common.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/config/configmanager.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/config/logcontroller.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/config/logfeaturescontroller.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/backend.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/common.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore/client.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore/common.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore/etcdclient.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore/etcdpool.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore/kvutils.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore/redisclient.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/log/common.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/log/log.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/log/utils.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/probe/common.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/probe/probe.go
vendor/github.com/opencord/voltha-lib-go/v7/pkg/version/version.go
--------------------------------------------------------------------------
o Update voltha-protos to version 5.4.11
o Update voltha-lib-go to verison 7.5.2
o make mod-update LOCAL_FIX_PERMS=1 to update dependencies.
o Steps documented on docs.votlha.org, merge/deply still pending:
https://docs.voltha.org/howto/release/tasks/go_mod_update.html#release-task-golang-mod-update
Change-Id: If8bb8a4f8bcfaa9cd451f5cab960bb0488378198
Ofagent-go provides an OpenFlow management interface for Voltha. It is a rewrite in Golang of the original ofagent that was written in python / twisted. The main driver behind the work was to introduce true concurrency to the agent for performance/scalability reasons.
Outside $GOPATH
git clone https://github.com/opencord/ofagent-go.gitgit clone https://gerrit.opencord.org/ofagent-goCompile go build -mod=vendor -o ./build/ofagent-go
./build/ofagent-go -ofaddress=localhost openflowPort=6653 -volthaAddress=localhost -volthaPort=50057./build/ofagent-go -debug -ofaddress=localhost openflowPort=6653 -volthaAddress=localhost -volthaPort=50057voltha-protos or voltha-lib-goIf you want to build/test using a local copy or voltha-protos or voltha-lib-go this can be accomplished by using the environment variables LOCAL_PROTOS and LOCAL_LIB_GO. These environment variables should be set to the filesystem path where the local source is located, e.g.
LOCAL\_PROTOS=$HOME/src/voltha-protos LOCAL\_LIB\_GO=$HOME/src/voltha-lib-go
When these environment variables are set the vendored versions of these packages will be removed from the vendor directory and replaced by coping the files from the specified locations to the vendor directory. NOTE: this means that the files in the vendor directory are no longer what is in the git repository and it will take manual git intervention to put the original files back.