Class ClearBgpCli
- java.lang.Object
-
- org.apache.karaf.shell.console.AbstractAction
-
- org.apache.karaf.shell.console.OsgiCommandSupport
-
- org.opendaylight.netvirt.bgpmanager.commands.ClearBgpCli
-
- All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
,org.apache.karaf.shell.commands.Action
,org.apache.karaf.shell.console.BundleContextAware
public class ClearBgpCli extends org.apache.karaf.shell.console.OsgiCommandSupport
-
-
Constructor Summary
Constructors Constructor Description ClearBgpCli()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearBgp(java.lang.String clearCommand)
protected java.lang.Object
doExecute()
static void
main(java.lang.String[] args)
static void
setHostAddr(java.lang.String hostAddr)
-
-
-
Method Detail
-
setHostAddr
public static void setHostAddr(java.lang.String hostAddr)
-
doExecute
protected java.lang.Object doExecute() throws java.lang.Exception
- Specified by:
doExecute
in classorg.apache.karaf.shell.console.AbstractAction
- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.io.IOException
- Throws:
java.io.IOException
-
clearBgp
public void clearBgp(java.lang.String clearCommand) throws java.io.IOException
- Throws:
java.io.IOException
-
-