Merge "Fix bug wherein console commands would not work with Karaf ssh session"
[genius.git] / itm / itm-impl / src / main / java / org / opendaylight / genius / itm / cli / TepStateShow.java
1 /*
2  * Copyright (c) 2016 Ericsson India Global Services Pvt Ltd. and others.  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.genius.itm.cli;
9
10 import org.apache.karaf.shell.commands.Command;
11 import org.apache.karaf.shell.console.OsgiCommandSupport;
12
13 @Command(scope = "tep", name = "state-show", description="Monitors tunnel state")
14
15     public class TepStateShow extends OsgiCommandSupport {
16
17        @Override
18
19        protected Object doExecute() throws Exception {
20
21               session.getConsole().println("Executing show TEP states command");
22
23        return null;
24
25        }
26     }