From d2881c71918c7ee80de9fd157059c20a0bb8ba76 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com>
Date: Mon, 13 Dec 2010 15:13:53 +0100
Subject: [PATCH] Adding --node-powered command line flag
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: RenΓ© Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 lib/cli.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/cli.py b/lib/cli.py
index e5e31a3da..117e642d4 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -1122,6 +1122,11 @@ ALLOC_POLICY_OPT = cli_option("--alloc-policy", dest="alloc_policy",
                               action="store", metavar="POLICY", default=None,
                               help="Allocation policy for the node group")
 
+NODE_POWERED_OPT = cli_option("--node-powered", default=None,
+                              type="bool", metavar=_YORNO,
+                              dest="node_powered",
+                              help="Specify if the SoR for node is powered")
+
 
 #: Options provided by all commands
 COMMON_OPTS = [DEBUG_OPT]
-- 
GitLab