commit | 3243ee51a26718493e674a09692cb59d2757db00 | [log] [tgz] |
---|---|---|
author | Kent Hagerman <khagerma@ciena.com> | Wed Feb 26 12:11:55 2020 -0500 |
committer | Kent Hagerman <khagerma@ciena.com> | Wed Feb 26 12:11:55 2020 -0500 |
tree | b28386fef1ca0739450a164fb5ac11d49c8d23ea | |
parent | 6379e09723fbe9dec42af989fad6fde47bf46ec9 [diff] |
Updated tools version to 2.0.0 Also merged lint-style (gofmt) into golangci-lint (enabled gofmt). Also removed redundant lint-sanity (govet) which is already checked by golangci-lint. Also made minor code changes to pass new golangci-lint tests. Also changed lint-mod slightly so it reverts any changes it makes go.mod, go.sum, and vendor/. VOL-2647 Change-Id: I2919e65ae29e01c81d1bf7ef113c3189e8227939
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.git
git clone https://gerrit.opencord.org/ofagent-go
Compile 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=50057