2 * Copyright (c) 2014 Contextream, Inc. and others. All rights reserved.
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
8 package org.opendaylight.lispflowmapping.interfaces.lisp;
10 import org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.MapNotify;
11 import org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.MapRegister;
12 import org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.MapReply;
13 import org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.MapRequest;
14 import org.opendaylight.yang.gen.v1.lispflowmapping.rev131031.lispaddress.LispAddressContainer;
19 public interface IFlowMapping extends IMapResolver, IMapServer {
23 public void setShouldUseSmr(boolean smr);
25 public boolean shouldUseSmr();
27 public MapNotify handleMapRegister(MapRegister mb);
29 public MapReply handleMapRequest(MapRequest mr);
30 public void removeMapping(LispAddressContainer address, int maskLen);