| commit | 157bdab6f42c5914591efc76d67f13d8d73d861a | [log] [tgz] |
|---|---|---|
| author | David K. Bainbridge <dbainbri@ciena.com> | Thu Jan 16 14:38:05 2020 -0800 |
| committer | David K. Bainbridge <dbainbri@ciena.com> | Fri Jan 17 09:45:46 2020 -0800 |
| tree | 6cc60b4b6cd2ab10b918bca027afae6532d64b3d | |
| parent | 6f6c866c984b4b23ceedfacd973a8507f5054505 [diff] |
WIP - Suggesting changes (take2)
This is not yet completed, still working on things. Eventually the plan
is to provide the following changes
- restructure repo to be more aligned with https://github.com/golang-standards/project-layout
- add k8s probes
- modifications (golang range loops, etc) to follow some golang
practices
Change-Id: I6922cbc00b5ef17ceab183aba00a7fc59ab46480
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=50057