From 28afd60d74372d17a2393bd727b750a3beea2773 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 10 Jan 2011 08:25:43 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Schema.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 4e8f3ce2e..a6cdfb9bd 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -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