����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.142.124.139 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"/> <!-- VIRTUAL DISK TABLE HEADER --> <xsl:variable name="DisplayIsSecureVDColumn"> <xsl:call-template name="IsCoulmnApplicable"> <xsl:with-param name="BitPosition">32</xsl:with-param> <xsl:with-param name="ObjectRef" select="//VirtualDisks/DCStorageObject"/> </xsl:call-template> </xsl:variable> <xsl:variable name="GLOBAL_VAR_VD_LOCALE"><xsl:value-of select="/OMA/Locale"/></xsl:variable> <xsl:template name="VirtualDiskTableHeader"> <xsl:param name="tasks"/> <xsl:param name="ManageIsSSC"/> <xsl:param name="ControllerPageSSC"/> <xsl:variable name="ManageSSC"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true'"> <xsl:value-of select="$ManageIsSSC"/> </xsl:when> <xsl:when test="$ControllerPageSSC = '1'"> <xsl:value-of select="$ControllerPageSSC"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="//ManageSSC"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <!-- ignore on web is set to true since it's only needed for scripts using the cli --> <Data name="Id" 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> <Data name="Status" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strStatus"/></xsl:attribute> </Data> <Data name="Name" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strName"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strName"/></xsl:attribute> </Data> <Data name="State" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strState"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strState"/></xsl:attribute> </Data> <xsl:if test="//Partitions > 0 and $ManageSSC != '1' "> <Data name="Partitions" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPartition"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPartition"/></xsl:attribute> </Data> </xsl:if> <!--Data name="PowerState" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strPowerState"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPowerState"/></xsl:attribute> </Data--> <xsl:if test="(//VirtualDisks/DCStorageObject/ProtectionPolicyViolated and $ManageSSC != '1')"> <!-- See if any VDisk has violated hotspare policy. If so, show the header for the table --> <Data name="protectionpolicy" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strHSPPolicyViolated"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strHSPPolicyViolated"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//VirtualDisks/DCStorageObject/VDBadBlocksDetected and $ManageSSC != '1')"> <!-- See if any VDisk has detected bad blocks. If so, show the header for the table --> <Data name="protectionpolicy" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strVDBadBlocks"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strVDBadBlocks"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="$tasks='true'"> <Data name="Delete" editable="false" type="ustring" noborderright="true"> <xsl:attribute name="display"><xsl:value-of select="$strTasks"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strTasks"/></xsl:attribute> </Data> <!-- The Rows have one extra row for the execute button. Including a blank <Data> tag here keeps the line that underlines the headers continuous --> <Data name="exbut" editable="false" type="ustring" ignoreoncli="true"> <xsl:attribute name="display">Execute</xsl:attribute> <xsl:attribute name="value"> </xsl:attribute> </Data> </xsl:if> <xsl:if test="$ManageSSC != '1'"> <xsl:if test="contains($DisplayIsSecureVDColumn,'1') or /OMA/@cli = 'true'"> <Data name="IsVDSecured" editable="false" type="ustring"> <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="(//VirtualDisks/DCStorageObject/Progress and $ManageSSC != '1' )"> <!-- See if any VDisk has a progress. If so, show the header for the table --> <Data name="Progress" editable="false" type="ustring"> <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> <xsl:if test="$ManageSSC !='1'"> <Data name="Layout" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strLayout"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strLayout"/></xsl:attribute> </Data> </xsl:if> <Data name="Size" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strSize"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strSize"/></xsl:attribute> </Data> <xsl:if test="//VdPIEnabled or /OMA/@cli = 'true'"> <Data name="VdPIEnabled" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strT10ProtectionStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strT10ProtectionStatus"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//PartOfCachePool or /OMA/@cli = 'true'"> <Data name="FluidCacheEnabled" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strFluidCacheEnabled"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strFluidCacheEnabled"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="$ManageSSC !='1'"> <Data name="DeviceName" editable="false" type="ustring"> <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> <Data name="Type" editable="false" type="ustring"> <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 test="$ManageSSC !='1'"> <Data name="Type" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strMediaType"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strMediaType"/></xsl:attribute> </Data> <Data name="Read Cache" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strReadCache"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strReadCache"/></xsl:attribute> </Data> <Data name="Write Cache" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strWriteCache"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strWriteCache"/></xsl:attribute> </Data> <xsl:if test="//CachePolicy or /OMA/@cli = 'true'"> <Data name="Cache Policy" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strCachePolicy"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strCachePolicy"/></xsl:attribute> </Data> </xsl:if> <Data name="StripeSize" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strStripeSize"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strStripeSize"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//DiskCachePolicy or /OMA/@cli = 'true'"> <Data name="DiskCachePolicy" editable="false" type="ustring"> <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="(//IsVDOCEPossible and $ManageSSC != '1')"> <Data name="ResizePossible" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strVDResizePossible"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strVDResizePossible"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//IsVDOCEPossible = '1' and $ManageSSC != '1')"> <Data name="ResizeLength" editable="false" type="ustring"> <xsl:attribute name="display"><xsl:value-of select="$strResizeLength"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strResizeLength"/></xsl:attribute> </Data> </xsl:if> </xsl:template> <!-- VIRTUAL DISK TABLE ROWS --> <xsl:template name="VirtualDiskTableRows"> <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="tasks"/> <xsl:param name="ManageIsSSC"/> <xsl:param name="ControllerPageSSC"/> <xsl:param name="caller"/> <xsl:param name="VDLink">true</xsl:param> <xsl:call-template name="scripts"/> <xsl:variable name="vdiskname"> <xsl:value-of select="Name"/> </xsl:variable> <xsl:variable name="vdiskid"> <xsl:value-of select="$ObjID"/> </xsl:variable> <xsl:variable name="blink"> <xsl:if test="substring(CurrentMethodMask,24,1)!='0'">true</xsl:if> </xsl:variable> <xsl:variable name="isCluster"> <xsl:choose> <xsl:when test="substring(/OMA/VirtualDisks/@AttributesMask,32,1)!='0'">1</xsl:when> <xsl:otherwise>0</xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="vdevname"> <xsl:value-of select="DeviceName"/> </xsl:variable> <xsl:variable name="numbootpart"> <xsl:choose> <xsl:when test="NumBootPart"> <xsl:value-of select="NumBootPart"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="0"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <xsl:variable name="ManageSSC"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true'"> <xsl:value-of select="$ManageIsSSC"/> </xsl:when> <xsl:when test="$ControllerPageSSC = '1'"> <xsl:value-of select="$ControllerPageSSC"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="//ManageSSC"/> </xsl:otherwise> </xsl:choose> </xsl:variable> <script language="javascript"> //********************************************************************************************************* //* Javascript function to redirect the local DataArea page to the //* appropriate web plugin which handles the action selected from the drop-down menu. //*********************************************************************************************************// function onExecute(name, oid, blink,devname,numbootpart) { var VDtasks = "VDtasks" + oid; var cluster = <xsl:value-of select="$isCluster"/>; var action = document.getElementById(VDtasks).value; var confirmreponse = 0; if (action == "-") { alert("<xsl:value-of select="$strError"/>" + "<xsl:value-of select="$strSelectValidTask"/>"); } else if(action =='268435456') { // for resize cachecade document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ReconfigureVDWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VirtualDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=cachecresize&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); } else if(action == '1') { // reconfigure document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ReconfigureVDWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VirtualDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtkrcn1&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); } else if (action == '2') { // format vd document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ConfirmFormatVDWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&Blink=" + blink + "&VDeviceName=" + devname + "&help=vdtkfmt"); } else if (action == '16') { //delete vd if(cluster == 1) { var msg = "<xsl:value-of select="$strClusterDelete"/>"; confirmresponse = confirm(msg); } if((cluster == 1 && confirmresponse) || cluster == 0) { if('1' == "<xsl:value-of select="//ManageSSC"/>") { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ConfirmDeleteVDWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=" + devname + "&NumBootPart=" + numbootpart + "&Blink=" + blink + "&help=cachecadedel&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); } else { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ConfirmDeleteVDWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=" + devname + "&NumBootPart=" + numbootpart + "&Blink=" + blink + "&help=vdtkdel&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); } } } else if (action == '64' || action =='4194304' || action == '8388608') { // initialize, slow initialize, fast initialize if(cluster == 1) { var msg = "<xsl:value-of select="$strClusterGeneric"/>"; confirmresponse = confirm(msg); } if((cluster == 1 && confirmresponse) || cluster == 0) { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ConfirmInitVDWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=" + devname + "&NumBootPart=" + numbootpart + "&Action="+action+"&Blink=" + blink + "&help=vdtkfmt"); } } else if (action == '128') { // dedicated hotspare if(cluster == 1) { var msg = "<xsl:value-of select="$strClusterGeneric"/>"; confirmresponse = confirm(msg); } if((cluster == 1 && confirmresponse) || cluster == 0) { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.DedHotspareWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtkdhs"); } } else if (action == '1024') { // rename if('1' == "<xsl:value-of select="//ManageSSC"/>") { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDRenameWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=cachecrename&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); } else { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDRenameWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtknam&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); } } else if (action == '8192') { // split mirror document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDSplitMirrorWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtksplt"); } else if (action == '16384') { // unmirror document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDUnMirrorWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtkunmr"); } else if(action == '524288') {// change policy if(cluster == 1) { var msg = "<xsl:value-of select="$strClusterGeneric"/>"; confirmresponse = confirm(msg); } if((cluster == 1 && confirmresponse) || cluster == 0) { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDChangePolicyWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtkchng"); } } else if(action == '16777216') { // replace member document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.ReplaceMemberSelectWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&VDeviceName=<xsl:value-of select="DeviceName"/>&help=vdtkrepl"); } else if(action == '134217728') { if(confirm("<xsl:value-of select="$strAreYouSureSecureVD"/>")) { document.dataarea.action = top.gnv.appendVID("./SubmitForm?plugin=com.dell.sm.webplugins.VDExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&Action="+action+"&help=vdmgmt"); document.dataarea.submit(); } else{ return; } } else if(action == '536870912') { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.VDPartitionTasksWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VirtualDiskOID=" + oid + "&VirtualDiskName=" + name + "&Action="+action+"&DeviceName="+devname+"&help=fecvdpt"); } else if(action == '1073741824') { if(confirm("<xsl:value-of select="$strAreYouSureDisableCacheonVD"/>")) { document.dataarea.action = top.gnv.appendVID("./SubmitForm?plugin=com.dell.sm.webplugins.VDExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&Action="+action+"&DeviceName=" + devname+"&help=vdmgmt"); document.dataarea.submit(); } } else { if((action == '67108864') && confirm ("<xsl:value-of select="$strClearVDBadBlockMessage"/>") == false) return; document.dataarea.action = top.gnv.appendVID("./SubmitForm?plugin=com.dell.sm.webplugins.VDExecuteActionWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VDiskOID=" + oid + "&VDiskName=" + name + "&DeviceName=" + devname+"&Action="+action+"&help=vdmgmt&ManageSSC=<xsl:value-of select="//ManageSSC"/>"); document.dataarea.submit(); } } </script> <xsl:variable name="IsVirtualDiskSecured"> <xsl:call-template name="IsVirtualDiskSecured"> <xsl:with-param name="Mask"><xsl:value-of select="AttributesMask"/></xsl:with-param> </xsl:call-template> </xsl:variable> <xsl:if test="count(ParentVDID)= 0"> <!-- Only display main virtual disks, not child VDisks --> <Row height="30px"> <!-- ignore on web is set to true since it's only needed for scripts using the cli --> <Data name="Test" editable="false" type="ustring" display="{LogicalDriveNum}" ignoreonweb="true"> <xsl:attribute name="value"><xsl:value-of select="LogicalDriveNum"/></xsl:attribute> </Data> <Data type="status" align="center"> <xsl:attribute name="value"><xsl:value-of select="ObjStatus"/></xsl:attribute> </Data> <Data editable="false" type="ustring" display="{Name}"> <xsl:attribute name="name"><xsl:value-of select="$strName"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="Name"/></xsl:attribute> <xsl:if test="$VDLink = 'true'"> <xsl:attribute name="link">true</xsl:attribute> <xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.ArrayWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VirtualDiskOID=<xsl:value-of select="$ObjID"/>&VirtualDiskName=<xsl:value-of select="Name"/>&RaidLayout=<xsl:value-of select="Layout"/>&BackTo=<xsl:value-of select="$caller"/>&help=adprin&IsVirtualDiskSecured=<xsl:value-of select="$IsVirtualDiskSecured"/>&VDBadBlocksDetected=<xsl:value-of select="VDBadBlocksDetected"/>&ManageSSC=<xsl:value-of select="//ManageSSC"/></xsl:attribute> </xsl:if> </Data> <Data name="State" editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strState"/><xsl:value-of select="position()"/></xsl:attribute> <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:if test="//Partitions > 0 and $ManageSSC != '1' "> <Data editable="false" type="ustring"> <xsl:choose> <xsl:when test="Partitions > 0"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true'"> <xsl:attribute name="name"><xsl:value-of select="$strPartition"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strAvailable"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="name"><xsl:value-of select="$strPartition"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPartition"/></xsl:attribute> <xsl:attribute name="link">true</xsl:attribute> <xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.VirtualDiskPartitionsPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&VirtualDiskOID=<xsl:value-of select="$ObjID"/>&VirtualDiskName=<xsl:value-of select="Name"/>&RaidLayout=<xsl:value-of select="Layout"/>&BackTo=<xsl:value-of select="$caller"/>&IsVirtualDiskSecured=<xsl:value-of select="$IsVirtualDiskSecured"/>&VDBadBlocksDetected=<xsl:value-of select="VDBadBlocksDetected"/>&ManageSSC=<xsl:value-of select="//ManageSSC"/>&help=vdspart</xsl:attribute> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <xsl:attribute name="name"><xsl:value-of select="$strPartition"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:if test="(//VirtualDisks/DCStorageObject/ProtectionPolicyViolated and $ManageSSC != '1')"> <xsl:choose> <xsl:when test="ProtectionPolicyViolated"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="GetHSPolicyViolationStatus"><xsl:with-param name="ViolationCode"><xsl:value-of select="ProtectionPolicyViolated"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:when test="Layout = '2'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:when> <xsl:when test="/OMA/@cli = 'true'"> <xsl:choose> <xsl:when test="VendorID != '4'"> <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="$strNotAssigned"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:when> <xsl:otherwise> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAssigned"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="(//VirtualDisks/DCStorageObject/VDBadBlocksDetected and $ManageSSC != '1')"> <xsl:choose> <xsl:when test="VDBadBlocksDetected"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:call-template name="IsVDBadBlocksDetected"><xsl:with-param name="badBlock"><xsl:value-of select="VDBadBlocksDetected"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:when> <xsl:when test="/OMA/@cli = 'true' or substring(MainMethodMask, 6, 1)= '1'"> <xsl:choose> <xsl:when test="substring(MainMethodMask, 6, 1)= '1'"> <Data type="ustring" align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNo"/></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:when> </xsl:choose> </xsl:if> <!-- isEmpty var used for 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="$tasks='true'"> <xsl:choose> <!--check to see if methods even exist --> <xsl:when test="$isEmpty='0'"> <!-- currentmethod mask isn't empty --> <Data value="tasks" type="select" noborderright="true"> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_VD_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_VD_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_VD_LOCALE, 'de'))"> <xsl:attribute name="width">width:400px</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="width">width:280px</xsl:attribute> </xsl:otherwise> </xsl:choose> <xsl:attribute name="display"><xsl:value-of select="$strVDTasks"/></xsl:attribute> <xsl:attribute name="name">VDtasks<xsl:value-of select="$vdiskid"/></xsl:attribute> <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="9"/> </xsl:call-template> </Data> <!-- add execute link --> <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(\"<xsl:value-of select="$vdiskname"/>\",\"<xsl:value-of select="$vdiskid"/>\",\"<xsl:value-of select="$blink"/>\",\"<xsl:value-of select="$vdevname"/>\",\"<xsl:value-of select="$numbootpart"/>\");</xsl:attribute> <xsl:attribute name="tablebutton">true</xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <!-- current methodmask is empty --> <Data value="tasks" type="select"> <xsl:attribute name="display"><xsl:value-of select="$strVDTasks"/></xsl:attribute> <xsl:attribute name="name">VDtasks<xsl:value-of select="$vdiskid"/></xsl:attribute> <xsl:choose> <xsl:when test="(starts-with($GLOBAL_VAR_VD_LOCALE, 'fr')) or (starts-with($GLOBAL_VAR_VD_LOCALE, 'es')) or (starts-with($GLOBAL_VAR_VD_LOCALE, 'de'))"> <xsl:attribute name="width">width:400px</xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="width">width:280px</xsl:attribute> </xsl:otherwise> </xsl:choose> <Choice returnvalue="" default="true"> <xsl:attribute name="value"><xsl:value-of select="$strNoTask"/></xsl:attribute> </Choice> </Data> <Data type="ustring" columnspacing="true" name="execute" link="false"> <xsl:attribute name="value"></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$ManageSSC != '1'"> <xsl:if test="contains($DisplayIsSecureVDColumn,'1') or /OMA/@cli='true'"> <Data type="ustring" align="center"> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="(substring(//VirtualDisks/@AttributesMask,9,1)='1' or substring(//Controllers/DCStorageObject/AttributesMask,9,1)='1')"> <xsl:call-template name="IsVirtualDiskSecured"><xsl:with-param name="Mask"><xsl:value-of select="AttributesMask"/></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> <xsl:if test="(//VirtualDisks/DCStorageObject/Progress and $ManageSSC != '1' )"> <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"/> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="$ManageSSC != '1'"> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strLayout"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:choose> <xsl:when test="IsSSC = '1'"> <xsl:attribute name="value"><xsl:value-of select="$strEnhCach"/></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><xsl:call-template name="GetRaidLayout"><xsl:with-param name="RaidType"><xsl:value-of select="Layout"/></xsl:with-param></xsl:call-template></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:choose> <xsl:when test="/OMA/@cli='true'"> <!--CLI version of the capacty data (displays bytes as well as GiB)--> <Data name="Test" editable="false" type="ustring" display="Test" ignoreonweb="true"> <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 Version of the length data (ONLY displays GiB) --> <Data editable="false" type="ustring" display="Test" ignoreoncli="true"> <xsl:attribute name="name"><xsl:value-of select="$strSize"/><xsl:value-of select="position()"/></xsl:attribute> <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:if test="//VdPIEnabled or /OMA/@cli = 'true'"> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strT10ProtectionStatus"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:choose><xsl:when test="VdPIEnabled = '1'"><xsl:value-of select="$strYes"/></xsl:when><xsl:otherwise><xsl:value-of select="$strNo"/></xsl:otherwise></xsl:choose></xsl:attribute> </Data> </xsl:if> <xsl:if test="//PartOfCachePool or /OMA/@cli = 'true'"> <!-- RNA --> <Data editable="false" type="ustring" 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="$ManageSSC != '1'"> <xsl:choose> <xsl:when test="not(IsSSC) or IsSSC != '1'"> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strDeviceName"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"> <xsl:choose> <xsl:when test="//DeviceName and //DeviceName != ''"> <xsl:value-of select="DeviceName"/> </xsl:when> <xsl:otherwise> <xsl:value-of select="$strNotAvailable"/> </xsl:otherwise> </xsl:choose> </xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="value"><xsl:value-of select="$strNotApplicable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strType"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetBusProtocol"><xsl:with-param name="Bus"><xsl:value-of select="BusProtocol"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> <xsl:if test="$ManageSSC != '1'"> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strMediaType"/><xsl:value-of select="position()"/></xsl:attribute> <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> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strReadCache"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetReadPolicy"><xsl:with-param name="readpolicy"><xsl:value-of select="ReadPolicy"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strWriteCache"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetWritePolicy"><xsl:with-param name="writepolicy"><xsl:value-of select="WritePolicy"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> <xsl:if test="//CachePolicy or /OMA/@cli = 'true'"> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strCachePolicy"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetCachePolicy"><xsl:with-param name="cachepolicy"><xsl:value-of select="CachePolicy"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:if> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strStripeSize"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetStripeSize"><xsl:with-param name="stripesize"><xsl:value-of select="StripeSize"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:if> <xsl:if test="//DiskCachePolicy or /OMA/@cli = 'true'"> <Data editable="false" type="ustring" display="Test"> <xsl:attribute name="name"><xsl:value-of select="$strDiskCachePolicy"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="GetDiskCachePolicy"><xsl:with-param name="DiskCachePolicy"><xsl:value-of select="DiskCachePolicy"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//IsVDOCEPossible and $ManageSSC != '1')"> <Data name="ResizePossible" editable="false" type="ustring"> <xsl:attribute name="name"><xsl:value-of select="$strVDResizePossible"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="IsVDResizePossible"><xsl:with-param name="resizepossible"><xsl:value-of select="//IsVDOCEPossible"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> </xsl:if> <xsl:if test="(//IsVDOCEPossible = '1' and $ManageSSC != '1')"> <Data name="ResizeLength" editable="false" type="ustring"> <xsl:attribute name="name"><xsl:value-of select="$strResizeLength"/><xsl:value-of select="position()"/></xsl:attribute> <xsl:attribute name="value"><xsl:call-template name="DecimalSep"><xsl:with-param name="Size"><xsl:value-of select="//GetCapsResp/DCStorageObject/Length"/></xsl:with-param></xsl:call-template> GiB (<xsl:value-of select="//GetCapsResp/DCStorageObject/Length"/> bytes)</xsl:attribute> </Data> </xsl:if> </Row> </xsl:if> <!-- End if (VDLevel = 0) --> </xsl:template> </xsl:stylesheet>