From c7721d058a47fd71d70ac5ae88756d6ad3c40017 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 12 Aug 2010 14:05:12 +0000 Subject: [PATCH] -Check in a schema plugin for kvm plugin use git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/schema/kvm_nodedata.pm | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 xCAT-server/lib/xcat/schema/kvm_nodedata.pm diff --git a/xCAT-server/lib/xcat/schema/kvm_nodedata.pm b/xCAT-server/lib/xcat/schema/kvm_nodedata.pm new file mode 100644 index 000000000..181f62486 --- /dev/null +++ b/xCAT-server/lib/xcat/schema/kvm_nodedata.pm @@ -0,0 +1,28 @@ +# 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; + +