summaryrefslogtreecommitdiffhomepage
path: root/cli
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-02-16 11:22:30 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-02-16 11:22:30 +0900
commitc0a361563e64876c5028523c2b7de42e75d288de (patch)
tree163952de39df0c03f9b9d09ce13c1cc8a09c1a8c /cli
parentd7253516a40801c7dcca553ffe244ccb0994116e (diff)
cli: add enable/disable
$ gobgpcli enable neighbor 10.0.255.1 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'cli')
-rwxr-xr-xcli/gobgpcli9
1 files changed, 8 insertions, 1 deletions
diff --git a/cli/gobgpcli b/cli/gobgpcli
index 5c2cec20..e345e337 100755
--- a/cli/gobgpcli
+++ b/cli/gobgpcli
@@ -332,7 +332,14 @@ def main():
(options, args) = parser.parse_args()
- commands = {"show": Show, "reset": Action, "shutdown": Action, "softreset": Action, "softresetin": Action, "softresetout": Action}
+ commands = {"show": Show,
+ "reset": Action,
+ "shutdown": Action,
+ "softreset": Action,
+ "softresetin": Action,
+ "softresetout": Action,
+ "enable": Action,
+ "disable": Action}
if len(args) == 0:
parser.print_help()