Closed josemariasaldana closed 8 years ago
We are currently working on this, in the statistics
branches:
https://github.com/Wi5/odin-wi5-agent/tree/statistics
https://github.com/Wi5/odin-wi5-controller/tree/statistics We need to modify these files of the controller:
src/main/java/net/floodlightcontroller/odin/master/OdinMaster.java
src/main/java/net/floodlightcontroller/odin/master/OdinAgent.java
src/main/java/net/floodlightcontroller/odin/master/IOdinApplicationInterface.java
src/main/java/net/floodlightcontroller/odin/master/StubOdinAgent.java
src/main/java/net/floodlightcontroller/odin/master/IOdinAgent.java
src/main/java/net/floodlightcontroller/odin/master/OdinApplication.java
src/main/java/net/floodlightcontroller/odin/master/IOdinMasterToApplicationInterface.java
It works. We have merged the changes to the Development branch:
Agent: https://github.com/Wi5/odin-wi5-agent/commit/5f4208f3c1b8861628101463874b6762360a59f1
Controller: https://github.com/Wi5/odin-wi5-controller/commit/8151a61d227b2782f93210460d456fb176c2cf93
The possibility of sending parameters from the AP to the controller can be done in two ways:
getRxStatsFromAgent
, defined inodin-master/src/main/java/net/floodlightcontroller/odin/master/OdinMaster.java
, and in the Agent inhttps://github.com/Wi5/odin-wi5-agent/blob/master/src/odinagent.cc
A subscription should be first defined in the Controller, specifying the kind of statistics required, the periodicity, etc.