commit | 6379e09723fbe9dec42af989fad6fde47bf46ec9 | [log] [tgz] |
---|---|---|
author | Kent Hagerman <khagerma@ciena.com> | Tue Feb 18 18:05:57 2020 -0500 |
committer | Kent Hagerman <khagerma@ciena.com> | Thu Feb 20 13:36:45 2020 -0500 |
tree | 3ba2d621fbf48a4e274d313e95f79735b1de1a19 | |
parent | d053d8839b859b365bec3c45d8b682f93a624364 [diff] |
Modified Makefile to use containerized tools. Also added lint-dockerfile target. Also modified docker tagging scheme slightly to be the same as voltha-go. (Which should be backwards-compatible.) Also added .gitreview file. VOL-2428 Change-Id: Icfc1b0e277ebdda7305c1b1295ffd4f2696c542a
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