Commit 667aa59d authored by Kirk Webb's avatar Kirk Webb

Make blockstores known to xmlconvert and friends.

I won't pretend to understand all of the nuances in object representation
here as yet.  Just doing as the Romans do with the virtual blockstore tables.
parent aaaf335a
......@@ -174,7 +174,9 @@ $EXPT_RESOURCESHOSED = 0;
"virt_blobs",
"virt_client_service_ctl",
"virt_client_service_hooks",
"virt_client_service_opts");
"virt_client_service_opts",
"virt_blockstores",
"virt_blockstore_attributes");
%physicalTables = ("delays" => ["node_id", "vname", "vnode0", "vnode1"],
"v2pmap" => ["node_id", "vname"],
......
......@@ -98,6 +98,8 @@ my $debug = 0;
"virt_client_service_hooks"=> [ "vnode", "service_idx", "env", "whence",
"hook_vblob_id" ],
"virt_client_service_opts" => [ "vnode", "opt_name", "opt_value" ],
"virt_blockstores" => [ "vname" ],
"virt_blockstore_attributes" => [ "vname", "attrkey" ],
);
#
......@@ -1260,5 +1262,15 @@ use vars qw(@ISA);
@ISA = "VirtExperiment::VirtTableRow";
use VirtExperiment;
package VirtExperiment::VirtTableRow::virt_blockstores;
use vars qw(@ISA);
@ISA = "VirtExperiment::VirtTableRow";
use VirtExperiment;
package VirtExperiment::VirtTableRow::virt_blockstore_attributes;
use vars qw(@ISA);
@ISA = "VirtExperiment::VirtTableRow";
use VirtExperiment;
# _Always_ make sure that this 1 is at the end of the file...
1;
......@@ -163,6 +163,13 @@ my %virtual_tables =
"virt_client_service_opts" => { rows => undef,
tag => "virt_client_service_opts",
row => "virt_client_service_opt"},
"virt_blockstores" => { rows => undef,
tag => "blockstores",
row => "blockstore"},
"virt_blockstore_attributes" => { rows => undef,
tag => "virt_blockstore_attributes",
row => "virt_blockstore_attribute"},
# This is a fake table. See below. If we add more, lets generalize.
"external_sourcefiles" => { rows => undef,
tag => "nsfiles",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment