Merge commit 'refs/changes/43/1843/1' of https://git.opendaylight.org/gerrit/affinity
[affinity.git] / analytics / api / src / main / java / org / opendaylight / affinity / analytics / IAnalyticsManager.java
1 /*
2  * Copyright (c) 2013 Plexxi, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.affinity.analytics;
10
11 import org.opendaylight.affinity.affinity.AffinityLink;
12 import org.opendaylight.controller.sal.core.Host;
13
14 public interface IAnalyticsManager {
15
16     long getByteCountBetweenHosts(Host src, Host dst);
17
18     double getBitRateBetweenHosts(Host src, Host dst);
19
20     long getByteCountOnAffinityLink(AffinityLink al);
21
22     double getBitRateOnAffinityLink(AffinityLink al);
23
24     long getByteCountIntoPrefix(String ipAndMask);
25 }