Add attrs to osimage definition.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1675 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2008-06-17 17:28:31 +00:00
parent 9d268dc154
commit 428ecc8253

View File

@ -465,7 +465,7 @@ vpd => {
},
},
nimimage => {
cols => [qw(imagename nimtype lpp_source spot root dump paging resolv_conf tmp home shared_home res_group comments disable)],
cols => [qw(imagename nimtype lpp_source spot root dump paging resolv_conf tmp home shared_home res_group nimmethod script bosinst_data installp_bundle mksysb comments disable)],
keys => [qw(imagename)],
table_desc => 'All the info that specifies a particular AIX operating system image that can be used to deploy AIX nodes.',
descriptions => {
@ -481,6 +481,11 @@ nimimage => {
home => 'The name of the NIM home resource.',
shared_home => 'The name of the NIM shared_home resource.',
res_group => 'The name of a NIM resource group.',
nimmethod => 'The NIM install method to use, (ex. rte, mksysb).',
script => 'The name of a NIM script resource.',
bosinst_data => 'The name of a NIM bosinst_data resource.',
installp_bundle => 'The name of a NIM installp_bundle resource.',
mksysb => 'The name of a NIM mksysb resource.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
@ -1002,6 +1007,10 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs);
tabentry => 'nimimage.nimtype',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'nimmethod',
tabentry => 'nimimage.nimmethod',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'osname',
tabentry => 'osimage.osname',
access_tabentry => 'osimage.imagename=attr:imagename',
@ -1046,6 +1055,26 @@ push(@{$defspec{node}->{'attrs'}}, @nodeattrs);
tabentry => 'nimimage.res_group',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'script',
tabentry => 'nimimage.script',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'bosinst_data',
tabentry => 'nimimage.bosinst_data',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'installp_bundle',
tabentry => 'nimimage.installp_bundle',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
{attr_name => 'mksysb',
tabentry => 'nimimage.mksysb',
access_tabentry => 'nimimage.imagename=attr:imagename',
},
# {attr_name => 'res_group',
# tabentry => 'nimimage.res_group',
# access_tabentry => 'nimimage.imagename=attr:imagename',
# },
{attr_name => 'usercomment',
tabentry => 'nimimage.comments',
access_tabentry => 'nimimage.imagename=attr:imagename',