added kit.release attr

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15681 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
mellor 2013-03-28 02:34:42 +00:00
parent 15ad3d4144
commit f5eb7b6713

View File

@ -1337,7 +1337,7 @@ osdistroupdate => {
},
},
kit => {
cols => [qw(kitname basename description version ostype isinternal kitdeployparams kitdir comments disable)],
cols => [qw(kitname basename description version release ostype isinternal kitdeployparams kitdir comments disable)],
keys => [qw(kitname)],
table_desc => 'This table stores all kits added to the xCAT cluster.',
descriptions => {
@ -1345,6 +1345,8 @@ kit => {
basename => 'The kit base name',
description => 'The Kit description.',
version => 'The kit version',
release => 'The kit release',
ostype => 'The kit OS type. Linux or AIX.',
isinternal => 'A flag to indicated if the Kit is internally used. When set to 1, the Kit is internal. If 0 or undefined, the kit is not internal.',
kitdeployparams => 'The file containing the default deployment parameters for this Kit. These parameters are added to the OS Image definition.s list of deployment parameters when one or more Kit Components from this Kit are added to the OS Image.',
@ -3150,6 +3152,10 @@ push(@{$defspec{group}->{'attrs'}}, @nodeattrs);
tabentry => 'kit.version',
access_tabentry => 'kit.kitname=attr:kitname',
},
{attr_name => 'release',
tabentry => 'kit.release',
access_tabentry => 'kit.kitname=attr:kitname',
},
{attr_name => 'ostype',
tabentry => 'kit.ostype',
access_tabentry => 'kit.kitname=attr:kitname',