2 * Copyright (c) 2015 Cisco Systems, Inc. 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.mappingservice;
11 * This interface defines the methods that need to be implemented in order to
12 * provide commands for the Karaf shell.
14 * @author Lorand Jakab
17 public interface IMappingServiceShell {
19 * Print the full mapping database.
21 * @return the text to be printed on the Karaf console.
23 String printMappings();
26 * Print the full mapping database in human readable form.
28 * @return the text to be printed on the Karaf console.
30 String prettyPrintMappings();
33 * Print the full authentication key database.
35 * @return the text to be printed on the Karaf console.
40 * Add the default key "password" for the IPv4 prefix 0.0.0.0/0.
42 void addDefaultKeyIPv4();