VOL-2511 - copy the read buffer for processing

Change-Id: I47e0618e1e3e7d4c25ff196c523f3c85c6ba590a
1 file changed
tree: aa7accbea4f2ca11304b8f068ac37f41d25c7464
  1. .gitignore
  2. LICENSE
  3. Makefile
  4. README.md
  5. VERSION
  6. cmd/
  7. docker/
  8. go.mod
  9. go.sum
  10. internal/
  11. run.sh
  12. vendor/
README.md

Ofagent-go

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.

Building

  1. Outside $GOPATH

    1. Read-only git clone https://github.com/opencord/ofagent-go.git
    2. To Contribute git clone https://gerrit.opencord.org/ofagent-go
  2. Compile go build -mod=vendor -o ./build/ofagent-go

Running

  • Normal Logging
    • ./build/ofagent-go -ofaddress=localhost openflowPort=6653 -volthaAddress=localhost -volthaPort=50057
  • Debug Logging
    • ./build/ofagent-go -debug -ofaddress=localhost openflowPort=6653 -volthaAddress=localhost -volthaPort=50057