fsp/bpa redundancy: add hidden attribute to the nodelist table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-01-10 08:25:43 +00:00
parent b505d11c00
commit 28afd60d74

View File

@ -478,7 +478,7 @@ nodehm => {
},
},
nodelist => {
cols => [qw(node groups status statustime appstatus appstatustime primarysn comments disable)],
cols => [qw(node groups status statustime appstatus appstatustime primarysn comments disable hidden)],
keys => [qw(node)],
table_desc => "The list of all the nodes in the cluster, including each node's current status and what groups it is in.",
descriptions => {
@ -491,6 +491,7 @@ nodelist => {
primarysn => 'Not used currently. The primary servicenode, used by this node.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
hidden => "Used to hide fsp and bpa definitions, 0 means not show them when running lsdef and nodels",
},
},
nodepos => {
@ -1775,6 +1776,10 @@ my @nodeattrs = (
tabentry => 'nodelist.comments',
access_tabentry => 'nodelist.node=attr:node',
},
{attr_name => 'hidden',
tabentry => 'nodelist.hidden',
access_tabentry => 'nodelist.node=attr:node',
},
);
# add on the node attrs from other tables