From 93962b806b71bf4d9a5d7fdcefd666544df5042c Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 25 Aug 2009 12:36:05 +0200
Subject: [PATCH] rapi: export more static node information

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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/rapi/rlib2.py b/lib/rapi/rlib2.py
index 8be65b6e0..96671ec90 100644
--- a/lib/rapi/rlib2.py
+++ b/lib/rapi/rlib2.py
@@ -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",
             ]
 
 
-- 
GitLab