Clone this repo:
  1. 2bf1174 [VOL-4308] Deprecating repo due to stale state by Andrea Campanella · 2 years, 8 months ago master 2.2.8
  2. b53f580 [VOL-2781] by Zack Williams · 4 years, 1 month ago 2.2.7
  3. 664fbe8 [VOL-2697] Avoid key error for vlan_vid_mask during flow stats reply by Andrea Campanella · 4 years, 2 months ago 2.2.6
  4. 4461a58 [VOL-2517] Use VLAN_ANY to check for tagged traffic instead of valid 4095 by Andrea Campanella · 4 years, 2 months ago 2.2.5
  5. 261a2b3 VOL-2630 return to -dev version by Scott Baker · 4 years, 2 months ago

DEPRECATED

No Maintenance Intended

VOLTHA 2.4 was the last release that officially supported the ofagent written in python as the openflow agent for VOLTHA. From 2.4 onwards the ofagent is the ofaget-go. This codebase is going to be removed after the VOLTHA 2.8 release LTS support ends in December 2022.

ofagent-py

ofagent-py provides an OpenFlow management interface for Voltha. This is an earlier implementation in Python / twisted. This has been rewrite in Golang for performance/scalability reasons.

Building

git clone https://gerrit.opencord.org/ofagent-py.git cd ~/source/ofagent-py/ make docker-build

Building with a Local Copy of voltha-protos or pyvoltha

If you want to build/test using a local copy or voltha-protos or pyvoltha this can be accomplished by using the environment variables LOCAL_PROTOS and LOCAL_PYVOLTHA. These environment variables should be set to the filesystem path where the local source is located, e.g.

LOCAL_PROTOS=$HOME/src/voltha-protos
LOCAL_PYVOLTHA=$HOME/src/pyvoltha