More unified internal API for analytics. In particular, the subnet 46/2846/1
authorKatrina LaCurts <katrina.lacurts@plexxi.com>
Mon, 18 Nov 2013 20:13:18 +0000 (15:13 -0500)
committerKatrina LaCurts <katrina.lacurts@plexxi.com>
Mon, 18 Nov 2013 20:13:18 +0000 (15:13 -0500)
commitd29fe34cbfea58d8046b7123ce3cf9f02368f3e1
treea1c384fa9f950702820d89be0fe3e67579f66815
parent45b0788034e15969b1c4ef18da2fea65010b4fb9
More unified internal API for analytics.  In particular, the subnet
statistics are now across subnets, not just into a particular subnet
(you can set the source subnet to be null to mimic the previous
behavior).  Also added some additional methods for exposing the
per-protocol stats.

The existing northbound APIs and scripts have been updated to reflect
these changes, but not every internal method has a corresponding
northbound method yet.

Signed-off-by: Katrina LaCurts <katrina.lacurts@plexxi.com>
analytics/api/src/main/java/org/opendaylight/affinity/analytics/IAnalyticsManager.java
analytics/implementation/src/main/java/org/opendaylight/affinity/analytics/internal/AnalyticsManager.java
analytics/implementation/src/main/java/org/opendaylight/affinity/analytics/internal/HostStats.java
analytics/northbound/src/main/java/org/opendaylight/affinity/analytics/northbound/AllHosts.java
analytics/northbound/src/main/java/org/opendaylight/affinity/analytics/northbound/AnalyticsNorthbound.java
analytics/northbound/src/main/java/org/opendaylight/affinity/analytics/northbound/SubnetStatistics.java [moved from analytics/northbound/src/main/java/org/opendaylight/affinity/analytics/northbound/PrefixStatistics.java with 89% similarity]
scripts/demo.py
scripts/stats.py