rapi: export more static node information
authorIustin Pop <iustin@google.com>
Tue, 25 Aug 2009 10:36:05 +0000 (12:36 +0200)
committerIustin Pop <iustin@google.com>
Tue, 25 Aug 2009 13:20:30 +0000 (15:20 +0200)
Currently not all static node information is exported over rapi, and
this makes it less complete than gnt-node list. This patch attempts to
reduce the difference.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>

lib/rapi/rlib2.py

index 8be65b6..96671ec 100644 (file)
@@ -46,6 +46,8 @@ N_FIELDS = ["name", "offline", "master_candidate", "drained",
             "mtotal", "mnode", "mfree",
             "pinst_cnt", "sinst_cnt", "tags",
             "ctotal", "cnodes", "csockets",
+            "pip", "sip", "serial_no", "role",
+            "pinst_list", "sinst_list",
             ]