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.mappingservice; 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 IMappingServiceShell { 18 /** 19 * Print the full mapping database. 20 * 21 * @return the text to be printed on the Karaf console. 22 */ 23 String printMappings(); 24 25 /** 26 * Add the default key "password" for the IPv4 prefix 0.0.0.0/0. 27 */ 28 void addDefaultKeyIPv4(); 29 }