From 25dba7ea336ef0bed33a50833d63f80ef217d102 Mon Sep 17 00:00:00 2001 From: Abhishek Chanda Date: Mon, 1 Dec 2014 23:34:34 +0530 Subject: [PATCH] Complete implementation of bay operations Change-Id: I93e42ec86b9d0609d92d1ececb2389200ae368ec --- magnumclient/api/shell.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/magnumclient/api/shell.py b/magnumclient/api/shell.py index 1a1b563b..c0484156 100644 --- a/magnumclient/api/shell.py +++ b/magnumclient/api/shell.py @@ -64,8 +64,12 @@ def do_bay_delete(cs, args): cs.bays.delete(args.id) +@utils.arg('--id', + metavar='', + help='ID of the bay to show.') def do_bay_show(cs, args): - pass + bay = cs.bays.get(args.id) + _show_bay(bay) def do_pod_list(cs, args):