Add support for Karaf shell lisp:* commands
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / lisp / IFlowMappingShell.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc.  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 package org.opendaylight.lispflowmapping.interfaces.lisp;
9
10 /**
11  * This interface defines the methods that need to be implemented in order to
12  * provide commands for the Karaf shell.
13  *
14  * @author Lorand Jakab
15  *
16  */
17 public interface IFlowMappingShell {
18     /**
19      * Print the full mapping database.
20      *
21      * @return the text to be printed on the Karaf console.
22      */
23     public String printMappings();
24 }