Yuta HIGUCHI | b25f4da | 2014-10-16 15:09:26 -0700 | [diff] [blame] | 1 | package org.onlab.onos.store.flow; |
2 | |||||
3 | import org.onlab.onos.net.DeviceId; | ||||
4 | |||||
5 | /** | ||||
6 | * Service to return where the Replica should be placed. | ||||
7 | */ | ||||
8 | public interface ReplicaInfoService { | ||||
9 | |||||
10 | // returns where it should be. | ||||
11 | /** | ||||
12 | * Returns the placement information for given Device. | ||||
13 | * | ||||
14 | * @param deviceId identifier of the device | ||||
15 | * @return placement information | ||||
16 | */ | ||||
17 | ReplicaInfo getReplicaInfoFor(DeviceId deviceId); | ||||
18 | } |