Class ConfigureBgpCli
- java.lang.Object
-
- org.apache.karaf.shell.console.AbstractAction
-
- org.apache.karaf.shell.console.OsgiCommandSupport
-
- org.opendaylight.netvirt.bgpmanager.ConfigureBgpCli
-
- All Implemented Interfaces:
org.apache.felix.gogo.commands.Action
,org.apache.karaf.shell.commands.Action
,org.apache.karaf.shell.console.BundleContextAware
public class ConfigureBgpCli extends org.apache.karaf.shell.console.OsgiCommandSupport
-
-
Constructor Summary
Constructors Constructor Description ConfigureBgpCli(BgpManager bgpManager, BgpConfigurationManager bgpConfigurationManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addNeighbor()
protected void
addRoute()
protected void
deleteRoute()
protected java.lang.Object
doExecute()
long
getAsNumber(java.lang.String nbrIp)
boolean
validateStalepathTime()
-
-
-
Constructor Detail
-
ConfigureBgpCli
public ConfigureBgpCli(BgpManager bgpManager, BgpConfigurationManager bgpConfigurationManager)
-
-
Method Detail
-
doExecute
protected java.lang.Object doExecute() throws java.lang.Exception
- Specified by:
doExecute
in classorg.apache.karaf.shell.console.AbstractAction
- Throws:
java.lang.Exception
-
validateStalepathTime
public boolean validateStalepathTime()
-
getAsNumber
public long getAsNumber(java.lang.String nbrIp)
-
addNeighbor
protected void addNeighbor()
-
addRoute
protected void addRoute()
-
deleteRoute
protected void deleteRoute()
-
-