-Move the kvm_nodedata table to Schema.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7070 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-08-12 15:55:31 +00:00
parent d190f1feb8
commit 74f3d9e3cf
2 changed files with 21 additions and 28 deletions

View File

@ -69,6 +69,27 @@ domain => {
disable => "Set to 'yes' or '1' to comment out this row.",
},
},
###############################################################################
# This is a table for kvm plugin to use to maintain persistent config data
# not feasibly determined from contextual data
###############################################################################
kvm_nodedata => {
cols => [qw(node xml comments disable)],
keys => [qw(node)],
required => [qw(node xml)],
table_desc => 'Persistant store for KVM plugin, not intended for manual modification.',
types => {
xml => 'VARCHAR(16000)', #I like text...
},
descriptions => {
node => 'The node corresponding to the virtual machine',
xml => 'The XML description generated by xCAT, fleshed out by libvirt, and stored for reuse',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
},
#domains => {
# cols => [qw(domain nameserver authserver realm comments disable)],
# keys => ['domain'],

View File

@ -1,28 +0,0 @@
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT_schema::kvm_nodedata;
###############################################################################
# This is a table for kvm plugin to use to maintain persistent config data
# not feasibly determined from contextual data
###############################################################################
%tabspec = (
kvm_nodedata => {
cols => [qw(node xml comments disable)],
keys => [qw(node)],
required => [qw(node xml)],
table_desc => 'Persistant store for KVM plugin, not intended for human modification.',
descriptions => {
node => 'The node corresponding to the virtual machine',
xml => 'The XML description generated by xCAT, fleshed out by libvirt, and stored for reuse',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
},
},
); # end of tabspec definition
#Since this is only used by a plugin and not intended for human consumption,
#the defspecs are skipped
1;