����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.14.249.46 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/common/ |
Upload File : |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:import href="Utils.xsl"/> <!-- The adtbl.xsl is used to display a table of array and hard disks with their associated properties. --> <!-- This should be used by all webpages which are required to display a table of arrayand hard disks. --> <!-- Having this code in a common file allows for a central location to make updates and add new --> <!-- new fields for array disks which will then be displayed by all web pages as well as the CLI. --> <!-- This file is broken down into two main xsl templates. The TABLE HEADER and the TABLE ROWS. --> <!-- Array DISK TABLE HEADER --> <xsl:variable name="DisplayIsEncryptionCapablePDColumn"> <xsl:call-template name="IsCoulmnApplicable"> <xsl:with-param name="BitPosition">18</xsl:with-param> <xsl:with-param name="ObjectRef" select="//DCStorageObject"/> </xsl:call-template> </xsl:variable> <xsl:variable name="DisplayISSecuredPDColumn"> <xsl:call-template name="IsCoulmnApplicable"> <xsl:with-param name="BitPosition">17</xsl:with-param> <xsl:with-param name="ObjectRef" select="//DCStorageObject"/> </xsl:call-template> </xsl:variable> <xsl:variable name="DisplayISCertifiedPDColumn"> <xsl:call-template name="IsCoulmnApplicable"> <xsl:with-param name="BitPosition">19</xsl:with-param> <xsl:with-param name="ObjectRef" select="//DCStorageObject"/> </xsl:call-template> </xsl:variable> <!--xsl:variable name="VAR_TAPE_LIBRARIES"> <xsl:choose> <xsl:when test="//MediaType= '4'">true</xsl:when> <xsl:otherwise>false</xsl:otherwise> </xsl:choose> </xsl:variable--> <xsl:variable name="GLOBAL_VAR_LOCALE"><xsl:value-of select="/OMA/Locale"/></xsl:variable> <xsl:variable name="GLOBAL_VAR_CACHEPOOL"><xsl:value-of select="//CachePoolPage"/></xsl:variable> <xsl:variable name="DisplayPredFailure"> <xsl:call-template name="IsCoulmnApplicable"> <xsl:with-param name="BitPosition">21</xsl:with-param> <xsl:with-param name="ObjectRef" select="//DCStorageObject"/> </xsl:call-template> </xsl:variable> <xsl:variable name="GLOBAL_VAR_BACKTO"><xsl:value-of select="/OMA/BackTo"/></xsl:variable> <xsl:template name="ArrayDiskTableHeader"> <xsl:param name="tasks"/> <!-- tasks should be either 'true' or 'false' to indicate whether to display the drop-down menu of tasks--> <xsl:param name="expanded"/> <xsl:param name="IsDHS"/> <xsl:param name="changestatus"/> <xsl:param name="GLOBAL_VAR_CACHEPOOL_CLI"/> <xsl:param name="foreignConfig">false</xsl:param> <xsl:param name="VDMember">false</xsl:param> <xsl:param name="VAR_TAPE_LIBRARIES">false</xsl:param> <xsl:call-template name="scripts"/> <xsl:variable name="dynamicView"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true' ">false</xsl:when> <xsl:otherwise>true</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="nonRaid"> <xsl:call-template name="IsObjectNonRaid"> <xsl:with-param name="Mask"> <xsl:value-of select="AttributesMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <!-- Changed the call to SmartAlertDetected template as it was not taking all disks object into consideration --> <Data name="Id" columnspacing="true" editable="false" type="ustring" ignoreonweb="true"> <xsl:attribute name="display"><xsl:value-of select="$strID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strID"/></xsl:attribute> </Data> <xsl:if test="(/OMA/@cli = 'true' or //ObjStatus) and $VAR_TAPE_LIBRARIES = 'false'"> <Data name="Status" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strStatus"/></xsl:attribute> </Data> </xsl:if> <Data name="Name" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strName"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strName"/></xsl:attribute> </Data> <xsl:choose> <xsl:when test="$foreignConfig='true'"> <Data name="State" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strStateBeforeImport"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strStateBeforeImport"/></xsl:attribute> </Data> <Data name="State" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strStateAfterImport"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strStateAfterImport"/></xsl:attribute> </Data> </xsl:when> <xsl:when test="(/OMA/@cli = 'true' or //ObjState) and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="State" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strState"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strState"/></xsl:attribute> </Data> </xsl:when> </xsl:choose> <xsl:if test="(//PDPowerState or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"><!-- JIT 149160 Physical disk power status property is not showing up when we check for PD's in VD's page, regular PD page showing the power status fine. To fix this VDMember check was removed. --> <Data name="PowerStatus" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPowerStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPowerStatus"/></xsl:attribute> </Data> </xsl:if> <!--DeviceName field will be displayed only for PCIe-SSD devices--> <xsl:if test="//DeviceName and //BusProtocol='9'"> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="BusProtocol" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDeviceName"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDeviceName"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="$tasks='true'"> <Data name="taskslist" columnspacing="true" editable="false" type="ustring" ignoreoncli="true"> <!--xsl:if test="$changestatus = 1"--> <xsl:attribute name="noborderright">true</xsl:attribute> <!--/xsl:if--> <xsl:attribute name="display"><xsl:value-of select="$strTasks"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strTasks"/></xsl:attribute> </Data> <!--xsl:if test="$changestatus != 1"--> <Data name="exbut" columnspacing="true" editable="false" type="ustring" ignoreoncli="true"> <xsl:attribute name="display"><!--XLATESTART-->Execute<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><!--XLATESTART--><!--XLATESTOP--></xsl:attribute> </Data> <!--/xsl:if--> </xsl:if> <xsl:if test="//BusProtocol or /OMA/@cli = 'true'"> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="BusProtocol" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strType"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strType"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//NVMeSpecVerSupported or (//NVMeSpecVerSupported and /OMA/@cli = 'true')"> <!-- See ifany disk has NVMeSpecVerSupported populated. If so, show the header for the table --> <Data name="NVMeSpecVerSupported" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDeviceProtocol"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDeviceProtocol"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="($GLOBAL_VAR_CACHEPOOL != '1' and //MediaType) or /OMA/@cli = 'true'"> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="MediaType" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strMediaType"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strMediaType"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="((//BusProtocol='9' and //PartOfCachePool) or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES = 'false'"><!-- Bus protocl value for PCIe SSD is 9--> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="PartOfCachePool" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPartOfCachePool"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPartOfCachePool"/></xsl:attribute> </Data> </xsl:if> <!--xsl:if test="(//DeviceLifeTimeRemaining or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> < See ifany disk has BusProtocol populated. If so, show the header for the table > <Data name="DeviceLifeTimeRemaining" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDeviceLifeTimeRemaining"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDeviceLifeTimeRemaining"/></xsl:attribute> </Data> </xsl:if!--> <xsl:if test="(//RemainingRatedWriteEndurance or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="RemainingRatedWriteEndurance " editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strRemainingRatedWriteEndurance"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strRemainingRatedWriteEndurance"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(/OMA/@cli = 'true' or contains($DisplayPredFailure,'1')) and $VAR_TAPE_LIBRARIES= 'false' "> <Data name="PredFailure" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strPredFailure"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPredFailure"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(/OMA/@cli = 'true' or //Revision) and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="//BusProtocol and //BusProtocol='9'"> <Data name="Rev" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strFWRevision"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strFWRevision"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="Rev" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strRevision"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strRevision"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//CurrentDriverVersion or /OMA/@cli = 'true'"> <Data name="CurrentDriverVersion" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDvr"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDvr"/></xsl:attribute> </Data> </xsl:if> <!--xsl:if test="(//PCIeSSDDeviceWriteStatus or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="PCIeSSDDeviceStatus" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPCIeSSDDevicesStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPCIeSSDDevicesStatus"/></xsl:attribute> </Data> </xsl:if--> <xsl:if test="(//ModelNumber or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="ModelNumber" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strModelNumber"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strModelNumber"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//PdPICapable or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- See ifany disk has BusProtocol populated. If so, show the header for the table --> <Data name="PdPICapable" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPdPICapable"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPdPICapable"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(contains($DisplayISCertifiedPDColumn,'1') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="IsCertified" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strIsCertified"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strIsCertified"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="$dynamicView = 'true'"> <HiddenTable> <Data> <xsl:attribute name="name">BackTo</xsl:attribute> <xsl:attribute name="returnvalue"></xsl:attribute> </Data> </HiddenTable> </xsl:if> <!-- isEmpty var used for hiding tasks menu option --> <xsl:variable name="isEmpty"> <xsl:call-template name="IsCurrentMethodMaskEmpty"> <xsl:with-param name="Mask"> <xsl:value-of select="CurrentMethodMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <!--xsl:if test="(not(//IsVirtualDiskSecured= 'Yes') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"--> <xsl:if test="(contains($DisplayIsEncryptionCapablePDColumn,'1') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="EncryptionCapable" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strEncryptionCapable"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strEncryptionCapable"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//EncryptionProtocol or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:if test="contains($DisplayIsEncryptionCapablePDColumn,'1') or /OMA/@cli = 'true'"> <Data name="EncryptionProtocol" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strEncryptionProtocol"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strEncryptionProtocol"/></xsl:attribute> </Data> </xsl:if> </xsl:if> <xsl:if test="(contains($DisplayISSecuredPDColumn,'1') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="Secured" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strSecured"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSecured"/></xsl:attribute> </Data> </xsl:if> <!--/xsl:if--> <xsl:if test="(//Progress or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- See if any VDisk has a progress. If so, show the header for the table --> <Data name="Progress" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strProgress"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strProgress"/></xsl:attribute> </Data> </xsl:if> <!-- Mirror Set ID--> <xsl:if test="((//MirrorSetID and $VDMember = 'true') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="MirrorSetID" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strMirrorSetID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strMirrorSetID"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//Length or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <!--xsl:if test="$expanded='true'"--> <Data name="Capacity" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strCapacity"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strCapacity"/></xsl:attribute> </Data> <!--/xsl:if--> </xsl:if> <!--xsl:if test="$nonRaid = '0'"--> <!-- Removed for DFCT129383 --> <xsl:if test="(//UsedSpace or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="UsedSpace" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strUsedSpace"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strUsedSpace"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//FreeSpace or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="FreeSpace" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strFreeSpace"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strFreeSpace"/></xsl:attribute> </Data> </xsl:if> <!--/xsl:if--> <!-- Loop through each array disk --> <xsl:variable name="showHotspareTitle"> <xsl:choose> <xsl:when test="($IsDHS='true' and $foreignConfig='true')or //MediaType = '4' "></xsl:when> <xsl:otherwise> <xsl:for-each select="//DCStorageObject"> <!-- Just a sanity check to make sure the MainMethodMask xml is there for this object before checking its value --> <xsl:if test="AttributesMask"> <xsl:if test="substring(AttributesMask,23,1 )= '0' or $dynamicView = 'false' ">true</xsl:if> <!--xsl:if test="substring(MainMethodMask, 27, 1) = '1' or substring(MainMethodMask, 28, 1) = '1' or $dynamicView = 'false' ">true</xsl:if--> </xsl:if> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- Using the MainMethodMask to determine if ANY disk is capable of being a hotspare. --> <!-- Check to see if either the set hotspare or unset hotspare bits are set (one should be set --> <!-- at all times if the disk is capable of being a hotspare). --> <xsl:if test="($showHotspareTitle != '' or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="Spare" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strSpare"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSpare"/></xsl:attribute> </Data> </xsl:if> <!--xsl:if test="$expanded='true'"--> <xsl:if test="//Vendor or $dynamicView = 'false'"> <Data name="Vendor" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strVendorID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strVendorID"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//ProductID or $dynamicView = 'false'"> <Data name="ProductID" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strProductID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strProductID"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//DeviceSerialNumber or $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="Serial" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strSerial"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSerial"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//PartNo or $dynamicView = 'false'"> <Data name="PartNo" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strPartNo"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPartNo"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//NegotiatedSpeed or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <xsl:choose> <xsl:when test="//BusProtocol and //BusProtocol='9'"> <Data name="NegotiatedSpeed " columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPCIeNegotiatedLinkSpeed"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPCIeNegotiatedLinkSpeed"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="NegotiatedSpeed " columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strNegotiatedSpeed"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strNegotiatedSpeed"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//CapableSpeed or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <xsl:choose> <xsl:when test="//BusProtocol and //BusProtocol='9'"> <Data name="CapableSpeed " columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPCIeMaxLinkSpeed"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPCIeMaxLinkSpeed"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="CapableSpeed " columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strCapableSpeed"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strCapableSpeed"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//NegotiatedLinkWidth or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="NegotiatedLinkWidth" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strPCIeNegotiatedLinkWidth"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPCIeNegotiatedLinkWidth"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//MaxLinkWidth or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="MaxLinkWidth" columnspacing="true" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strPCIeMaxLinkWidth"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPCIeMaxLinkWidth"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//PdSectorSize or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="PdSectorSize" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strSectorSize"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSectorSize"/></xsl:attribute> </Data> </xsl:if> <!--Uncomment for PI feature--><!--xsl:if test="(//PdPICapable or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="PdPICapable" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strT10Protection"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strT10Protection"/></xsl:attribute> </Data> </xsl:if--> <xsl:if test="(//DriveWriteCacheEnabled or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="WriteCache " columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDiskWriteCache"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDiskWriteCache"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//ManufactureDay or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="ManufactureDay" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strManufactureDay"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strManufactureDay"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//ManufactureWeek or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="ManufactureWeek" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strManufactureWeek"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strManufactureWeek"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//ManufactureYear or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="ManufactureYear" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strManufactureYear"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strManufactureYear"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//SASAddress or $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="SASAddress" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strSASAddress"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSASAddress"/></xsl:attribute> </Data> </xsl:if> <!-- Added in OM 9.5 --> <xsl:if test="//WWN or $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="WWN" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strWWN"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strWWN"/></xsl:attribute> </Data> </xsl:if> <!-- Disk Cache Policy Changes at PD Enumeration Page for OM 8.3 dt: 09/21/2015--> <xsl:if test="//ArraydiskCache or $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="ArraydiskCache" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strNonRaidDiskCachePolicy"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strNonRaidDiskCachePolicy"/></xsl:attribute> </Data> </xsl:if> <!-- Disk Cache Policy Changes at PD Enumeration Page for OM 8.3 dt: 10/13/2015--> <xsl:if test="//diskwritecachepolicy or $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="diskwritecachepolicy" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDiskCachePolicy"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDiskCachePolicy"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//DriveReadCache and $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="DriveReadCache" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDriveReadCache"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDriveReadCache"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//DriveWriteCache and $dynamicView = 'false'"> <!-- Only display this column if any of the objects return the XML --> <Data name="DriveWriteCache" columnspacing="true" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDriveWriteCache"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDriveWriteCache"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//SataBridgeVendor"> <Data name="AltaVendor" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strAltaVendor"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strAltaVendor"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//SataBridgeProductID"> <Data name="AltaProductID" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strAltaProductID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strAltaProductID"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//SataBridgeRevision"> <Data name="AltaRevision" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strAltaRevision"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strAltaRevision"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//DriverRevision"> <Data name="DriverRevision" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strDriverRevision"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strDriverRevision"/></xsl:attribute> </Data> </xsl:if> <!-- Fix for JIT-73428 || Enabling FormFactor attribute display to PCIe SSD Subsystem --> <xsl:if test="/OMA/ArrayDisks/@ControllerName = 'PCIe SSD Subsystem'"> <xsl:if test="//FormFactor or $dynamicView = 'false'"> <Data name="FormFactor" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strFormfactor"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strFormfactor"/></xsl:attribute> </Data> </xsl:if> </xsl:if> <xsl:if test="//SubVendor or $dynamicView = 'false'"> <Data name="SubVendor" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strSubVendor"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSubVendor"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//AvailableSpareThresholdPCIe or $dynamicView = 'false') and (//IsDeviceNVME and //IsDeviceNVME = '1')"> <Data name="AvailableSpareThresholdPCIe" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strAvailableSpare"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strAvailableSpare"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//ISECapable or $dynamicView = 'false') or (//IsDeviceNVME and //IsDeviceNVME = '1')"> <Data name="ISECapable" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strISECapable"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strISECapable"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//ErrorDescription"> <Data name="ErrorRecoverable" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strErrRecoverable"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strErrRecoverable"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//ErrorDescription"> <Data name="ErrorDescription" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strErrDescription"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strErrDescription"/></xsl:attribute> </Data> </xsl:if> </xsl:template> <!-- ARRAY DISK TABLE ROWS --> <xsl:template name="ArrayDiskTableRows"> <xsl:param name="tasks"/> <xsl:param name="expanded"/> <xsl:param name="changestatus"/> <xsl:param name="GLOBAL_VAR_CACHEPOOL_CLI"/> <xsl:param name="VDMember">false</xsl:param> <xsl:param name="VAR_TAPE_LIBRARIES">false</xsl:param> <xsl:param name="foreignConfig">false</xsl:param> <xsl:param name="ObjID"> <xsl:call-template name="ModNexus"> <xsl:with-param name="nexus"> <xsl:value-of select="Nexus"/> </xsl:with-param> </xsl:call-template> </xsl:param> <xsl:param name="IsDHS"/> <xsl:variable name="showHotspareTitle"> <xsl:choose> <xsl:when test="($IsDHS='true' and $foreignConfig='true')or //MediaType = '4' "></xsl:when> <xsl:otherwise> <xsl:for-each select="//DCStorageObject"> <xsl:if test="AttributesMask"><xsl:if test="substring(AttributesMask,23,1 )= '0'">true</xsl:if></xsl:if> </xsl:for-each> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- Check if we need to give a warning to assign GHS --> <xsl:variable name="isGHSWarning"> <xsl:choose> <xsl:when test="substring(/OMA/ArrayDisks/@ControllerAttributeMask,13,1)='1'">1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:call-template name="scripts"/> <!-- The current implementation is to have the UI be dynamic in the data it shows. Only the columns applicable to the objects will be displayed. The CLI will display all columns of data however to ease script parsing. --> <xsl:variable name="dynamicView"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true' ">false</xsl:when> <xsl:otherwise>true</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="nonRaid"> <xsl:call-template name="IsObjectNonRaid"> <xsl:with-param name="Mask"> <xsl:value-of select="AttributesMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="IsSASorSATA"> <xsl:call-template name="IsSASorSATA"> <xsl:with-param name="BusProtocol"> <xsl:value-of select="BusProtocol"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="IsDiskInEnclosure"> <xsl:call-template name="IsDiskInEnclosure"> <xsl:with-param name="AttributesMask"> <xsl:value-of select="AttributesMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="PredFailureValue"> <xsl:call-template name="SmartAlertDetected"> <xsl:with-param name="AttributesMask"> <xsl:value-of select="AttributesMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="IsCertified"> <xsl:call-template name="IsNonDellDriveDetected"> <xsl:with-param name="AttributesMask"> <xsl:value-of select="AttributesMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="ADID"> <xsl:choose> <xsl:when test="BusProtocol='9' and ServerGen ='48'"> <!-- 14G PCIe Slim line connector: removing the channel ID--> <xsl:value-of select="EnclosureID"/>:<xsl:value-of select="TargetID"/> </xsl:when> <xsl:when test="$IsSASorSATA='1' and $IsDiskInEnclosure='1'"> <xsl:value-of select="Channel"/>:<xsl:value-of select="EnclosureID"/>:<xsl:value-of select="TargetID"/> </xsl:when> <!-- For BOSS Controller, having one nexus so only ID will be displayed --> <!--xsl:when test="/OMA/ArrayDisks/@ControllerName = 'BOSS-S1'"--> <xsl:when test="/OMA/ArrayDisks/DCStorageObject/IsWithoutChannel = '1'"> <xsl:value-of select="TargetID"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="Channel"/>:<xsl:value-of select="TargetID"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <Row height="30px"> <Data type="ustring" columnspacing="true" align="center" ignoreonweb="true"> <xsl:attribute name="value"><xsl:value-of select="$ADID"/></xsl:attribute> </Data> <xsl:if test="(/OMA/@cli = 'true' or ObjStatus) and $VAR_TAPE_LIBRARIES = 'false' "> <Data type="status" columnspacing="true" align="center"> <xsl:choose> <xsl:when test="$GLOBAL_VAR_CACHEPOOL = '1' or $GLOBAL_VAR_CACHEPOOL_CLI = '1'"> <xsl:attribute name="value"><xsl:value-of select="CacheStoreStatus"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="ObjStatus"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <Data name="Name" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:choose> <!-- check for ad vs hd --> <xsl:when test="MediaType='4'"> <xsl:attribute name="value"><xsl:value-of select="$strTapeLibrary"/><xsl:value-of select="$ADID"/></xsl:attribute> </xsl:when> <xsl:when test="$nonRaid = '1' "> <xsl:attribute name="value"><xsl:value-of select="$strDevice"/><xsl:value-of select="$ADID"/></xsl:attribute> </xsl:when> <xsl:when test="substring(AttributesMask,9,1 )= '1'"> <xsl:attribute name="value"><xsl:value-of select="$strNonRAID"/><xsl:value-of select="$strSpace"/><xsl:value-of select="$strADName"/><xsl:value-of select="$ADID"/></xsl:attribute> </xsl:when> <xsl:when test="FormFactor = '17' "> <xsl:attribute name="value"><xsl:value-of select="$strHHHL"/><xsl:value-of select="TargetID"/><xsl:value-of select="$strStartParen"/><xsl:value-of select="$ADID"/><xsl:value-of select="$strEndParen"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="$strADName"/><xsl:value-of select="$ADID"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> <xsl:choose> <xsl:when test="$foreignConfig = 'true'"> <Data name="State" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:call-template name="GetState"><xsl:with-param name="state"><xsl:value-of select="ObjState"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> <Data name="State" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:call-template name="GetState"><xsl:with-param name="state"><xsl:value-of select="PDAfterImportState"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:when test="(ObjState or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="State" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:call-template name="GetState"><xsl:with-param name="state"><xsl:value-of select="ObjState"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> </xsl:choose> <xsl:if test="(//PDPowerState or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"><!-- JIT 149160 Physical disk power status property is not showing up when we check for PD's in VD's page, regular PD page showing the power status fine. To fix this VDMember check was removed. --> <xsl:choose> <xsl:when test="ObjState != '1024'"> <Data type="ustring" name="PowerStatus" columnspacing="true" align="center"> <!--xsl:attribute name="value"><xsl:call-template name="GetPowerStatusIcon"><xsl:with-param name="powerstatus"><xsl:value-of select="PDPowerState"/></xsl:with-param></xsl:call-template></xsl:attribute--> <xsl:attribute name="value"><xsl:call-template name="GetPowerStatus"><xsl:with-param name="psicon"><xsl:value-of select="PDPowerState"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//DeviceName and //BusProtocol='9'"> <xsl:choose> <xsl:when test="DeviceName"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="DeviceName"/></xsl:attribute> </Data> </xsl:when> <!--Otherwise is not required but left it as it was there in legacy --> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!-- isEmpty var used for hiding tasks menu option 2nd redefinition. The first definition above seems to not be picked up. --> <xsl:variable name="isEmpty"> <xsl:call-template name="IsCurrentMethodMaskEmpty"> <xsl:with-param name="Mask"> <xsl:value-of select="CurrentMethodMask"/> </xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:variable name="isMask1Empty"> <!-- added condition to check the presence of CurrentMethodMask1 before calling, else the template return value represents the existence of tasks. --> <xsl:choose> <xsl:when test="CurrentMethodMask1"> <xsl:call-template name="IsCurrentMethodMaskEmpty"> <xsl:with-param name="Mask"> <xsl:value-of select="CurrentMethodMask1"/> </xsl:with-param> </xsl:call-template> </xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="IsPDEncryptionCapable"><xsl:call-template name="IsDiskSecured"><xsl:with-param name="Mask"><xsl:value-of select="AttributesMask"/></xsl:with-param></xsl:call-template></xsl:variable> <xsl:if test="$tasks='true'"> <!--check to see if methods even exist --> <xsl:choose> <xsl:when test="$isEmpty='0' or $isMask1Empty='0'"> <!-- both currentmethod mask and currentmethodmask1 aren't empty --> <Data value="tasks" columnspacing="true" display="Array Disks Tasks" type="select" ignoreoncli="true"> <xsl:attribute name="display"><xsl:value-of select="$strADTasks"/></xsl:attribute> <xsl:attribute name="name">ADtasks<xsl:value-of select="$ObjID"/></xsl:attribute> <!--xsl:if test="$changestatus = 1"--> <xsl:attribute name="noborderright">true</xsl:attribute> <!--/xsl:if--> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de')) or (starts-with($GLOBAL_VAR_LOCALE, 'ja'))"> <xsl:attribute name="width">width:300px</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="width">width:180px</xsl:attribute> </xsl:otherwise> </xsl:choose> <Choice returnvalue="-" default="true"> <xsl:attribute name="value"><xsl:value-of select="$strSelectTask"/></xsl:attribute> </Choice> <xsl:call-template name="for-loop-list-box"> <xsl:with-param name="Mask" select="CurrentMethodMask"/> <xsl:with-param name="templateName" select="10"/> <xsl:with-param name="BusProtocol" select="BusProtocol"/> </xsl:call-template> <!-- The below select item is for supporting SWRAID Disk Cache Policy.--> <xsl:if test="//CurrentMethodMask1 and substring(CurrentMethodMask1,27,1 )= '1'"> <Choice returnvalue="137438953472" default="false"> <xsl:attribute name="value"><xsl:value-of select="$strSetDiskCachePolicy"/></xsl:attribute> </Choice> </xsl:if> </Data> <!--xsl:if test="$changestatus = 1"--> <Data type="button"> <xsl:attribute name="display"><xsl:value-of select="$strExecute"/></xsl:attribute> <xsl:attribute name="id"><xsl:value-of select="$strExecute"/></xsl:attribute> <xsl:attribute name="href">javascript:onExecute(\"Physical Disk <xsl:value-of select="$ADID"/>\",\"<xsl:value-of select="$ObjID"/>\",\"<xsl:value-of select="PDPowerState"/>\",\"<xsl:value-of select="$IsPDEncryptionCapable"/>\");</xsl:attribute> <xsl:attribute name="tablebutton">true</xsl:attribute> <!-- The above property should be set for the table button to get rid of whitespaces on the edges --> </Data> <!--/xsl:if--> </xsl:when> <xsl:otherwise> <!-- currentmethod mask is empty --> <Data value="tasks" columnspacing="true" type="select" ignoreoncli="true" noborderright="true"> <xsl:attribute name="display"><xsl:value-of select="$strADTasks"/></xsl:attribute> <xsl:attribute name="name">ADtasks<xsl:value-of select="$ObjID"/></xsl:attribute> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_LOCALE, 'de')) or (starts-with($GLOBAL_VAR_LOCALE, 'ja'))"> <xsl:attribute name="width">width:300px</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="width">width:180px</xsl:attribute> </xsl:otherwise> </xsl:choose> <Choice returnvalue="" default="true"> <xsl:attribute name="value"><xsl:value-of select="$strNoTask"/></xsl:attribute> </Choice> </Data> <!--xsl:if test="$changestatus = 1"--> <!-- BITS040174: Introducing a new type 'skipSubtable'; for this type, sub table data will not be displayed. Note: sub table data appears on expanding Physical disks info by clicking on '+' --> <Data type="skipSubtable" columnspacing="true" name="execute" link="false"> <xsl:attribute name="value"></xsl:attribute> </Data> <!--/xsl:if--> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//BusProtocol or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="BusProtocol"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetBusProtocol"><xsl:with-param name="Bus"><xsl:value-of select="BusProtocol"/></xsl:with-param><xsl:with-param name="AttributesMask"><xsl:value-of select="AttributesMask"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//NVMeSpecVerSupported or (//NVMeSpecVerSupported and /OMA/@cli = 'true')"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="NVMeSpecVerSupported"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="($GLOBAL_VAR_CACHEPOOL != '1' and //MediaType) or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="MediaType"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetMediaType"><xsl:with-param name="MediaType"><xsl:value-of select="MediaType"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="((//BusProtocol='9' and //PartOfCachePool) or /OMA/@cli = 'true')and $VAR_TAPE_LIBRARIES= 'false'"> <!-- RNA --> <Data editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="name"><xsl:value-of select="$strFluidCacheEnabled"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:choose><xsl:when test="PartOfCachePool"><xsl:call-template name="GetFluidCacheDeviceState"><xsl:with-param name="state"><xsl:value-of select="PartOfCachePool"/></xsl:with-param></xsl:call-template></xsl:when><xsl:otherwise><xsl:value-of select="$strNotApplicable"/></xsl:otherwise></xsl:choose></xsl:attribute> </Data> </xsl:if> <!--xsl:if test="(//DeviceLifeTimeRemaining or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="DeviceLifeTimeRemaining"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="DeviceLifeTimeRemaining"/>%</xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if--> <xsl:if test="(//RemainingRatedWriteEndurance or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="RemainingRatedWriteEndurance"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="RemainingRatedWriteEndurance"/>%</xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(/OMA/@cli = 'true' or contains($DisplayPredFailure,'1')) and $VAR_TAPE_LIBRARIES= 'false'"> <Data name="PredFailure" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:choose> <!-- check for ad vs hd --> <xsl:when test="$PredFailureValue= '1' "> <xsl:attribute name="value"><xsl:value-of select="$strYes"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="$strNo"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:if test="(/OMA/@cli = 'true' or //Revision)and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="Revision"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:value-of select="Revision"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//CurrentDriverVersion or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="CurrentDriverVersion"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="CurrentDriverVersion"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!--xsl:if test="(//PCIeSSDDeviceWriteStatus or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="PCIeSSDDeviceWriteStatus"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="PCIeSSDDevicesStatusDesc"><xsl:with-param name="PCIeSSDDeviceWriteStatus"><xsl:value-of select="PCIeSSDDeviceWriteStatus"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if--> <xsl:if test="(//ModelNumber or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="ModelNumber"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="ModelNumber"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//PdPICapable or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="PdPICapable = '1' "> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strYes"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNo"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(contains($DisplayISCertifiedPDColumn,'1') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="substring(AttributesMask,19,1)='1'"> <Data name="IsCertified" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:choose> <xsl:when test="$IsCertified = '1' "> <xsl:attribute name="value"><xsl:value-of select="$strYes"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:value-of select="$strNo"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!--xsl:if test="(not(//IsVirtualDiskSecured= 'Yes') or VDMember='False' or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"--><!-- Commented to fix JIT - 159418 --> <xsl:if test="(contains($DisplayIsEncryptionCapablePDColumn,'1') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data type="ustring" align="center"> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="contains($DisplayIsEncryptionCapablePDColumn,'1')"> <xsl:call-template name="IsDiskEncryptionCapable"><xsl:with-param name="Mask"><xsl:value-of select="AttributesMask"/></xsl:with-param></xsl:call-template> </xsl:when> <xsl:otherwise> <xsl:value-of select="$strNo"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!--xsl:if test="contains($DisplayIsEncryptionCapablePDColumn,'1') or /OMA/@cli = 'true'"--> <xsl:if test="(//EncryptionProtocol or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data type="ustring" align="center"> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="EncryptionProtocol = '2'"><xsl:value-of select="$strTCGOpalSSC"/></xsl:when> <xsl:when test="EncryptionProtocol = '1'"><xsl:value-of select="$strTCGEnterpriseSSC"/></xsl:when> <xsl:otherwise> <xsl:value-of select="$strNotApplicable"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:if> <!--/xsl:if--> <xsl:if test="(contains($DisplayISSecuredPDColumn,'1') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="IsDiskSecured"><xsl:with-param name="Mask"><xsl:value-of select="AttributesMask"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:if> <!--/xsl:if--> <xsl:if test="(//Progress or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="Progress"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="Progress"/><xsl:value-of select="$strPercComp"/></xsl:attribute> </Data> </xsl:when> <xsl:when test="/OMA/@cli = 'true'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!--Mirror Set ID--> <xsl:if test="((//MirrorSetID and $VDMember = 'true') or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="MirrorSetID"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="MirrorSetID"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!-- ************************************* --> <!-- CAPACITY (LENGTH) COLUMN --> <xsl:if test="(//Length or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false' "> <!-- Check to see if ANY of the objects have the XML tag. If so, then the header will be displayed, so populate the value here --> <xsl:choose> <!-- The column will be displayed so check to see if THIS object has the XML tag. --> <xsl:when test="Length"> <!-- The tag exists, so display the value --> <!--xsl:if test="$expanded='true'"--> <xsl:choose> <xsl:when test="/OMA/@cli='true'"> <!-- CLI Versions of the length data (displays bytes as well as GiB) --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="Length"/></xsl:with-param></xsl:call-template> GiB (<xsl:value-of select="Length"/> bytes)</xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <!-- Web Versions of the length data (ONLY displays GiB) --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="Length"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strGB"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strUnavaliable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!-- ***************************** --> <!-- USED SPACE COLUMN --> <xsl:if test="(//UsedSpace or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false' "> <xsl:choose> <xsl:when test="/OMA/@cli='true'"> <!-- CLI Versions of the length data (displays bytes as well as GiB) --> <xsl:choose> <xsl:when test="UsedSpace"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="UsedSpace"/></xsl:with-param></xsl:call-template> GiB (<xsl:value-of select="UsedSpace"/> bytes)</xsl:attribute> </Data> </xsl:when> <xsl:when test="$nonRaid != '0'"> <!-- Changed for DFCT129383 --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strUnavaliable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <!-- Web Versions of the length data (ONLY displays GiB) --> <xsl:choose> <xsl:when test="UsedSpace"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="UsedSpace"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strGB"/></xsl:attribute> </Data> </xsl:when> <xsl:when test="$nonRaid != '0'"> <!-- Changed for DFCT129383 --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strUnavaliable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:if> <!--/xsl:if--> <!-- ***************************** --> <!-- FREE SPACE COLUMN --> <xsl:if test="(//FreeSpace or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="/OMA/@cli='true'"> <!-- CLI Versions of the length data (displays bytes as well as GiB) --> <xsl:choose> <xsl:when test="FreeSpace"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="FreeSpace"/></xsl:with-param></xsl:call-template> GiB (<xsl:value-of select="FreeSpace"/> bytes)</xsl:attribute> </Data> </xsl:when> <xsl:when test="$nonRaid != '0'"> <!-- Changed for DFCT129383 --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strUnavaliable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <!-- Web Versions of the length data (ONLY displays GiB) --> <xsl:choose> <xsl:when test="FreeSpace"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="FreeSpace"/></xsl:with-param></xsl:call-template><xsl:value-of select="$strGB"/></xsl:attribute> </Data> </xsl:when> <xsl:when test="$nonRaid != '0'"> <!-- Changed for DFCT129383 --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strUnavaliable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="($showHotspareTitle != '' or $dynamicView = 'false') and $VAR_TAPE_LIBRARIES= 'false'"> <!-- Using the attributes mask to determine if THIS disk is capable of being a hotspare. --> <xsl:choose> <xsl:when test=" $nonRaid = '1' "> <!-- This takes care of the case when the disk is not capable of being a hotspare at any time. i.e. Non-RAID --> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetSpareInfoForArrayDisk"><xsl:with-param name="AttribsMask"><xsl:value-of select="AttributesMask"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//Vendor or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="Vendor"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:value-of select="Vendor"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//ProductID or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="ProductID"> <Data name="Test" columnspacing="true" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:value-of select="ProductID"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//DeviceSerialNumber or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="DeviceSerialNumber"> <Data type="ustring" align="left"> <xsl:attribute name="value"><xsl:value-of select="DeviceSerialNumber"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//PartNo or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="PartNo"> <Data type="ustring" align="left"> <xsl:attribute name="value"><xsl:value-of select="PartNo"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//NegotiatedSpeed or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="NegotiatedSpeed and NegotiatedSpeed>0"> <xsl:choose> <xsl:when test="//BusProtocol and //BusProtocol='9' and //IsDeviceNVME and //IsDeviceNVME = '1'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="format-number((NegotiatedSpeed div (10)),'#,##0.0')"/> <xsl:text> </xsl:text><xsl:value-of select="$strGTPerSec"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="format-number((NegotiatedSpeed div (1024)),'#,##0.00')"/> <xsl:text> </xsl:text><xsl:value-of select="$strGbps"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="NegotiatedSpeed and NegotiatedSpeed = '0'"> <Data type="ustring" align="center"> <xsl:attribute name="value">0</xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//CapableSpeed or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="CapableSpeed and CapableSpeed>0"> <xsl:choose> <xsl:when test="//BusProtocol and //BusProtocol='9' and //IsDeviceNVME and //IsDeviceNVME = '1'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="format-number((CapableSpeed div (10)),'#,##0.0')"/> <xsl:text> </xsl:text><xsl:value-of select="$strGTPerSec"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="format-number((CapableSpeed div (1024)),'#,##0.00')"/> <xsl:text> </xsl:text><xsl:value-of select="$strGbps"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:when test="CapableSpeed and CapableSpeed = '0'"> <Data type="ustring" align="center"> <xsl:attribute name="value">0</xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//NegotiatedLinkWidth or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="NegotiatedLinkWidth"> <Data type="ustring" align="left"> <xsl:attribute name="value"><xsl:value-of select="$strX"/><xsl:value-of select="NegotiatedLinkWidth"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//MaxLinkWidth or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="MaxLinkWidth"> <Data type="ustring" align="left"> <xsl:attribute name="value"><xsl:value-of select="$strX"/><xsl:value-of select="MaxLinkWidth"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//PdSectorSize or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="PdSectorSize"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetSectorSize"><xsl:with-param name="SectorSize"><xsl:value-of select="PdSectorSize"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!--Uncomment for PI feature--><!--xsl:if test="(//PdPICapable or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="PdPICapable"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetPIData"><xsl:with-param name="PICapable"><xsl:value-of select="PdPICapable"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if--> <xsl:if test="(//DriveWriteCacheEnabled or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="DriveWriteCacheEnabled"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetDiskWriteCache"><xsl:with-param name="DiskWriteCache"><xsl:value-of select="DriveWriteCacheEnabled"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//ManufactureDay or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="ManufactureDay"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="ManufactureDay"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//ManufactureWeek or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="ManufactureWeek"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="ManufactureWeek"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//ManufactureYear or /OMA/@cli = 'true') and $VAR_TAPE_LIBRARIES= 'false'"> <xsl:choose> <xsl:when test="ManufactureYear"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="ManufactureYear"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//SASAddress or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="SASAddress and SASAddress != ''"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="SASAddress"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!-- Added in OM 9.5 --> <xsl:if test="//WWN or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="WWN and WWN != ''"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="WWN"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!-- Disk Cache Policy Changes at PD Enumeration Page for OM 8.3 dt: 09/21/2015--> <xsl:if test="//ArraydiskCache or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="ArraydiskCache"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetArrayDiskCachePolicy"><xsl:with-param name="mode"><xsl:value-of select="ArraydiskCache"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//diskwritecachepolicy or /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="diskwritecachepolicy"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetDiskCachePolicy"><xsl:with-param name="DiskCachePolicy"><xsl:value-of select="diskwritecachepolicy"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//DriveReadCache and /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="DriveReadCache"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetDiskCachePolicy"><xsl:with-param name="DiskCachePolicy"><xsl:value-of select="DriveReadCache"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//DriveWriteCache and /OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="DriveWriteCache"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetDiskCachePolicy"><xsl:with-param name="DiskCachePolicy"><xsl:value-of select="DriveWriteCache"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//SataBridgeVendor"> <xsl:choose> <xsl:when test="SataBridgeVendor"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="SataBridgeVendor"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//SataBridgeProductID"> <xsl:choose> <xsl:when test="SataBridgeProductID"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="SataBridgeProductID"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//SataBridgeRevision"> <xsl:choose> <xsl:when test="SataBridgeRevision"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="SataBridgeRevision"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//DriverRevision"> <xsl:choose> <xsl:when test="DriverRevision"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="DriverRevision"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <!-- Fix for JIT-73428 || Enabling FormFactor attribute display to PCIe SSD Subsystem --> <xsl:if test="/OMA/ArrayDisks/@ControllerName = 'PCIe SSD Subsystem'"> <xsl:if test="//FormFactor or $dynamicView = 'false'"> <xsl:choose> <xsl:when test="FormFactor"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetFormFactor"><xsl:with-param name="FormFactor"><xsl:value-of select="FormFactor"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> </xsl:if> <xsl:if test="//SubVendor or $dynamicView = 'false'"> <xsl:choose> <xsl:when test="SubVendor"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="SubVendor"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//AvailableSpareThresholdPCIe or $dynamicView = 'false') and (//IsDeviceNVME and //IsDeviceNVME = '1')"> <xsl:choose> <xsl:when test="AvailableSpareThresholdPCIe"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="AvailableSpareThresholdPCIe"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//ISECapable or $dynamicView = 'false') or (//IsDeviceNVME and //IsDeviceNVME = '1')"> <xsl:choose> <xsl:when test="ISECapable = '1' "> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strYes"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <xsl:choose> <xsl:when test="((//IsDeviceNVME and //IsDeviceNVME = '1') and (//CurrentMethodMask and substring(CurrentMethodMask,11,1 )= '1')) or (//AttributesMask and substring(AttributesMask,18,1 )= '1')"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strYes"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNo"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//ErrorDescription"> <xsl:choose> <xsl:when test="ErrorDescription"> <xsl:choose> <xsl:when test="//AttributesMask and substring(AttributesMask,13,1 )= '1'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strYes"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNo"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//ErrorDescription"> <xsl:choose> <xsl:when test="ErrorDescription"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="ErrorDescription"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> </Row> <script language="javascript"> function onExecute(name, oid, pwrstate, IsPDEncryptionCapable) { var help_Topic=""; <xsl:if test="//BusProtocol = '9'"> helpTopic=""; </xsl:if> var ADtasks = "ADtasks" + oid; var action = document.getElementById(ADtasks).value; var fromVDpage = '<xsl:value-of select="$VDMember"/>'; var ADExecuteUrl = "./SubmitForm?plugin=com.dell.sm.webplugins.ADExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action + "&help=adprin"; var ADConfirmUrl = "./DataArea?plugin=com.dell.sm.webplugins.ConfirmADActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action; var ADExecuteLogUrl = "./DataArea?plugin=com.dell.sm.webplugins.CtrlExportLogWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action; var ADExecuteTelemetryLogUrl = "./DataArea?plugin=com.dell.sm.webplugins.ADExportTelemetryLogWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action; // Actions // 1 - blink // 2 - unblink // 4 - diagnostics // 8 - cancel diags // 16 - assign global hotspare // 32 - unassign global hotspare // 64 - online // 128 - offline // 256 - prepare to remove // 512 - encrypt - previously format // 1024 - rebuild // 2048 - cancel rebuild // 4096 - initialize // 8192 - verify // 16384 - cancel verify // 32768 - recover // 524288 - cancel copyback // 2097152 - Erase a Secure Disk // 33554432 - Disable Disk Write Cache // 16777216 - Enable Disk Write Cache // 67108864 - Export Disk Reliability Log // 134217728 RNA Task 1 - Add to Cache Pool // 268435456 RNA Task 2 - Remove from Cache Pool // 536870912 RNA Tasks 3 - Reactivate // 137438953472 SWRAID Disk Cache Policy // 2147483648 Export NVMe Telemetry Log var CurrentUrl=GetLocalUrl(); if (fromVDpage == 'true') { // handling separately for SWRAID Disk Cache Policy as the flow contains a new page if(action != "137438953472") { ADExecuteUrl = ADExecuteUrl + "&VirtualDiskOID=<xsl:value-of select="/OMA/VirtualDiskOID"/>&VirtualDiskName=<xsl:value-of select="/OMA/VirtualDiskName"/>&RaidLayout=<xsl:value-of select="/OMA/RaidLayout"/>&VDMemberPage=true"; ADConfirmUrl = ADConfirmUrl + "&VirtualDiskOID=<xsl:value-of select="/OMA/VirtualDiskOID"/>&VirtualDiskName=<xsl:value-of select="/OMA/VirtualDiskName"/>&RaidLayout=<xsl:value-of select="/OMA/RaidLayout"/>&VDMemberPage=true"; } } else { ADExecuteUrl = ADExecuteUrl + "&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>"; ADConfirmUrl = ADConfirmUrl + "&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>"; ADExecuteLogUrl = ADExecuteLogUrl + "&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>"; ADExecuteTelemetryLogUrl = ADExecuteTelemetryLogUrl + "&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>"; } if (action == "-") { alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } else if ((action =="1") || (action =="2") || (action =="4") || (action =="8") || (action =="32") || (action =="512") || (action =="1024") || (action =="2048") || (action =="4096") || (action =="8192") || (action =="16384") || (action =="32768") || (action =="524288") || (action =="4194304") || (action =="8388608") || (action =="16777216") || (action =="33554432") || (action == "134217728") || (action == "268435456") || (action == "536870912")) { var Temp_ADExecuteUrl = "./SubmitForm?plugin=com.dell.sm.webplugins.ADExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action; if( (action == "134217728") && (confirm("<xsl:value-of select="$strConfirmAddToCachePool"/>") == false)) { return; } if( action == "268435456" ) // remove from cache pool { <xsl:choose> <xsl:when test="(count(//DCStorageObject[PartOfCachePool = '1'])= 2)"> message = "<xsl:value-of select="$strHighAvailablityWarning"/>"; </xsl:when> <xsl:otherwise> message = "<xsl:value-of select="$strConfirmRemoveFromCachePool"/>"; </xsl:otherwise> </xsl:choose> if(confirm(message)== false) { return; } } var Temp_ADExecuteUrl = "./SubmitForm?plugin=com.dell.sm.webplugins.ADExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action; if(document.getElementById("BackTo")!=null) { document.getElementById("BackTo").value='<xsl:value-of select="/OMA/BackTo"/>'; } if(((action =="4194304") || (action =="8388608")) && pwrstate == '1') { alert("<xsl:value-of select="$strDataWarningLevel4"/>"); } helpTopic="adprin"; <xsl:if test="//BusProtocol = '9'"> if((action =="1") || (action =="2")) { helpTopic="adpcitkbu"; } </xsl:if> document.dataarea.action = top.gnv.appendVID(Temp_ADExecuteUrl+"&help="+helpTopic+"&CurrentUrl="+CurrentUrl); document.dataarea.submit(); } else if(action =="67108864") { if(document.getElementById("BackTo")!=null) { document.getElementById("BackTo").value='<xsl:value-of select="/OMA/BackTo"/>'; } helpTopic="adprin"; <xsl:if test="//BusProtocol = '9'"> helpTopic="adpcitkel"; </xsl:if> // NVME - 101 // PCIeSSD - 102 var DeviceType=0; <xsl:choose> <xsl:when test="(//IsDeviceNVME and //IsDeviceNVME = '1')"> DeviceType=101; </xsl:when> <xsl:otherwise> DeviceType=102; </xsl:otherwise> </xsl:choose> document.dataarea.action = top.gnv.appendVID(ADExecuteLogUrl+"&help="+helpTopic+"&DeviceType="+DeviceType+"&CurrentUrl="+CurrentUrl); document.dataarea.submit(); } else if (action =="16") { //assign global hotspare if (fromVDpage == 'true') { if (document.getElementById("BackTo")!=null) { document.getElementById("BackTo").value='<xsl:value-of select="/OMA/BackTo"/>'; } document.dataarea.action = top.gnv.appendVID(ADExecuteUrl + "&Force=true&FromVD=true&CurrentUrl="+CurrentUrl); document.dataarea.submit(); } else { //do a check for controllers that needs extra confirm page var giveghswarning = <xsl:value-of select="$isGHSWarning"/>; if(giveghswarning == 0) { if(document.getElementById("BackTo")!=null) { document.getElementById("BackTo").value=CurrentUrl; } if((pwrstate == '1')) { alert("<xsl:value-of select="$strDataWarningLevel4"/>"); document.dataarea.action = top.gnv.appendVID(ADExecuteUrl + "&Force=false&CurrentUrl="+CurrentUrl); document.dataarea.submit(); } else { document.dataarea.action = top.gnv.appendVID(ADExecuteUrl + "&Force=false&FormFactor=<xsl:value-of select="/OMA/FormFactor"/>&CurrentUrl="+CurrentUrl); document.dataarea.submit(); } } else { document.location.href = top.gnv.appendVID(ADConfirmUrl + "&help=adtkghs"+"&BackTo="+CurrentUrl+"&CurrentUrl="+CurrentUrl); } } } else if ((action =="64") || (action =="128")) { // online or offline var CurrentUrl=GetLocalUrl(); if(document.getElementById("BackTo")!=null) { document.getElementById("BackTo").value=CurrentUrl; } document.dataarea.action = top.gnv.appendVID(ADConfirmUrl + "&help=adtkonl&BackTo="+CurrentUrl); document.dataarea.submit(); } else if (action =="256") { // prepare to remove var CurrentUrl=GetLocalUrl(); helpTopic="adprin"; <xsl:if test="//BusProtocol = '9'"> helpTopic="adpcitkptr"; </xsl:if> document.location.href = top.gnv.appendVID(ADConfirmUrl + "&help="+helpTopic+"&BackTo="+CurrentUrl); } else if ( (action =="65536") || (action =="131072") || (action =="2097152") ) { // Erase a Secure Disk (bus protocol =9) or full initialization - 2097152 helpTopic="adtkclr"; if( action == "2097152") { if(IsPDEncryptionCapable != "Not Applicable") { helpTopic="adtkiee"; } <xsl:if test="//BusProtocol = '9'"> <xsl:choose> <xsl:when test="(//IsDeviceNVME and //IsDeviceNVME = '1')"> helpTopic="cryptersnvm"; </xsl:when> <xsl:otherwise> helpTopic="adpcitkfi"; </xsl:otherwise> </xsl:choose> </xsl:if> } var CurrentUrl=GetLocalUrl(); //clear or cancelclear or Secure Erase a Disk document.location.href = top.gnv.appendVID(ADConfirmUrl + "&help="+helpTopic+"&BackTo="+CurrentUrl); } else if(action == "137438953472") { var diskwritecache = ""; var diskcachepolicymask = ""; var enclosureOID=""; <xsl:for-each select="//DCStorageObject"> <xsl:if test="//DiskCachePolicyMask"> var nxs = '<xsl:call-template name="ModNexus"><xsl:with-param name="nexus"><xsl:value-of select="Nexus"/></xsl:with-param></xsl:call-template>'; if(oid == nxs) { diskwritecache = '<xsl:value-of select="diskwritecachepolicy"/>'; diskcachepolicymask = '<xsl:value-of select="DiskCachePolicyMask"/>'; enclosureOID='<xsl:value-of select="//EnclosureOID"/>'; } </xsl:if> </xsl:for-each> var Temp_ADExecuteUrl = "./DataArea?plugin=com.dell.sm.webplugins.SetPhysicalDiskCachePolicyPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&ADiskOID=" + oid + "&ADiskName=" + name + "&Action="+ action+"&diskcachepolicymask="+diskcachepolicymask+"&diskwritecache="+diskwritecache+"&enclosureOID="+enclosureOID+"&help=setdiskcache&BackToURL=<xsl:value-of select="$GLOBAL_VAR_BACKTO"/>"; if (fromVDpage == 'true') { Temp_ADExecuteUrl = Temp_ADExecuteUrl + "&VirtualDiskOID=<xsl:value-of select="/OMA/VirtualDiskOID"/>&VirtualDiskName=<xsl:value-of select="/OMA/VirtualDiskName"/>&RaidLayout=<xsl:value-of select="/OMA/RaidLayout"/>&VDMemberPage=true&BackToURL=<xsl:value-of select="$GLOBAL_VAR_BACKTO"/>"; } document.dataarea.action = top.gnv.appendVID(Temp_ADExecuteUrl); document.dataarea.submit(); } else if(action =="2147483648") // Export Telemetry Log Action { if(document.getElementById("BackTo")!=null) { document.getElementById("BackTo").value='<xsl:value-of select="/OMA/BackTo"/>'; } helpTopic="adpcitketl"; // NVME - 101 // PCIeSSD - 102 example - HHHL var DeviceType=0; <xsl:choose> <xsl:when test="(//IsDeviceNVME and //IsDeviceNVME = '1')"> DeviceType=101; </xsl:when> <xsl:otherwise> DeviceType=102; </xsl:otherwise> </xsl:choose> document.dataarea.action = top.gnv.appendVID(ADExecuteTelemetryLogUrl+"&help="+helpTopic+"&DeviceType="+DeviceType+"&CurrentUrl="+CurrentUrl); document.dataarea.submit(); } else { alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } } </script> </xsl:template> </xsl:stylesheet>