From 922921a739ccab158794503fa093f3c2e5adc2d3 Mon Sep 17 00:00:00 2001 From: phamt Date: Thu, 21 Mar 2013 20:32:28 +0000 Subject: [PATCH] Added new columns into the storage table to handle z/VM's SCSI-FCP devices. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index a0dc22c29..31292a347 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -263,17 +263,24 @@ virtsd => { }, storage => { - cols => [qw(node osvolume comments disable)], - keys => [qw(node)], - table_descr => "Node storage resources", - descriptions => { - 'node' => 'The node name', - osvolume => "Specification of what storage to place the node OS image onto. Examples include: - localdisk (Install to first non-FC attached disk) - usbdisk (Install to first USB mass storage deice seen) - wwn=0x50000393c813840c (Install to storage device with given WWN)", - } - }, + cols => [qw(node osvolume size state storagepool fcprange volumetag comments disable)], + keys => [qw(node)], + table_descr => 'Node storage resources', + descriptions => { + node => 'The node name', + osvolume => "Specification of what storage to place the node OS image onto. Examples include: + localdisk (Install to first non-FC attached disk) + usbdisk (Install to first USB mass storage device seen) + wwn=0x50000393c813840c (Install to storage device with given WWN)", + size => 'Size of the volume. Examples include: 10G, 1024M.', + state => 'State of the volume. The valid values are: free, used, and allocated', + storagepool => 'Name of storage pool where the volume is assigned.', + fcprange => 'A range of acceptable fibre channels that the volume can use. Examples include: 3B00-3C00;4B00-4C00.', + volumetag => 'A specific tag used to identify the volume in the autoyast or kickstart template.', + comments => 'Any user-written notes.', + disable => "Set to 'yes' or '1' to comment out this row.", + } +}, websrv => { cols => [qw(node port username password comments disable)], keys => [qw(node)],