commit | 55376267761de4140eeea71bbdc27a38a652d0dd | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Wed Jan 22 23:28:27 2020 -0800 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Thu Jan 23 09:11:03 2020 -0800 |
tree | e229855664548fd6ac2ef10fd4270c5d53f36923 | |
parent | 9959fc75ad25374533397f06a3c2a1572e31248e [diff] |
VOL-2487 - correct meter state size calculation Also: - modified OF read loop to use bufio as opposed to custome buffered io - cleaned up the OF client state machine processing, including more logging Change-Id: If16f57f6f30a6fe6fecab85b5bf638402f2b7693
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