Sun-Fire-X4200-Server-hc-topology.xmlgen revision 940d71d237794874e18a0eb72f6564821a823517
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "%Z%%M% %I% %E% SMI"
# X4200-Server: platform specific begin
"num_bays" => "4",
"bay_label" => "HD"};
# X4200-Server: platform specific end
sub Usage()
{
"-i <input_xml_file> -o <output_xml_file>\n";
}
sub calc_nodes
{
# X4200-Server: platform specific begin
$controller = 0;
# X4200-Server: platform specific end
# X4200-Server: platform specific begin
# set hba path, target path, bay path, and attachment point
$controller + 1, $target);
# X4200-Server: platform specific end
" <propgroup name='protocol' version='1' " .
"name-stability='Private' data-stability='Private' >\n";
" <propval name='label' type='string' " .
"value='%s%d' />\n",
" </propgroup>\n";
" <propgroup name='io' version='1' " .
"name-stability='Private' data-stability='Private' >\n";
" <propval name='ap-path' type='string' " .
" </propgroup>\n";
# no LED support
" <propgroup name='binding' version='1' " .
"name-stability='Private' data-stability='Private' >\n";
" <propval name='occupant-path' type='string' " .
" </propgroup>\n";
}
}
exit (1);
}
exit (1);
}
my $in_chassis_range = 0;
$in_chassis_range = 1;
}
last;
}
}
}