1
2
3
4
5
6
7
8 package org.opendaylight.lispflowmapping.interfaces.lisp;
9
10 import java.util.List;
11
12 import org.apache.commons.lang3.tuple.Pair;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapNotify;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapRegister;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapReply;
16 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.MapRequest;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.proto.rev151105.transport.address.TransportAddress;
18
19
20
21
22 public interface IFlowMapping {
23
24
25
26
27
28
29
30 Pair<MapNotify, List<TransportAddress>> handleMapRegister(MapRegister mapRegister);
31
32
33
34
35
36
37
38
39 MapReply handleMapRequest(MapRequest mr);
40
41
42
43
44
45
46
47 void setShouldUseSmr(boolean smr);
48 }