mirror of https://github.com/apache/cloudstack.git
Namespaces are important
This commit is contained in:
parent
e9e5b84747
commit
50054fe060
|
|
@ -17,18 +17,12 @@
|
||||||
specific language governing permissions and limitations
|
specific language governing permissions and limitations
|
||||||
under the License.
|
under the License.
|
||||||
-->
|
-->
|
||||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ovf="http://www.vmware.com/schema/ovf/1/envelope" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vbox="http://www.virtualbox.org/ovf/machine">
|
<xsl:stylesheet version="1.0" xmlns="http://schemas.dmtf.org/ovf/envelope/1" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:vbox="http://www.virtualbox.org/ovf/machine">
|
||||||
|
|
||||||
<xsl:template match="node()|@*">
|
<xsl:template match="vssd:VirtualSystemType/text()">vmx-07</xsl:template>
|
||||||
<xsl:copy>
|
|
||||||
<xsl:apply-templates select="node()|@*"/>
|
|
||||||
</xsl:copy>
|
|
||||||
</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="vssd:VirtualSystemType/text()">vmx-06</xsl:template>
|
|
||||||
|
|
||||||
<xsl:template match="ovf:Item[./rasd:ResourceType/text()=20]">
|
<xsl:template match="ovf:Item[./rasd:ResourceType/text()=20]">
|
||||||
<ovf:Item>
|
<Item>
|
||||||
<xsl:copy-of select="rasd:Address"/>
|
<xsl:copy-of select="rasd:Address"/>
|
||||||
<xsl:copy-of select="rasd:BusNumber"/>
|
<xsl:copy-of select="rasd:BusNumber"/>
|
||||||
<rasd:Caption>scsiController0</rasd:Caption>
|
<rasd:Caption>scsiController0</rasd:Caption>
|
||||||
|
|
@ -36,7 +30,13 @@
|
||||||
<xsl:copy-of select="rasd:InstanceId"/>
|
<xsl:copy-of select="rasd:InstanceId"/>
|
||||||
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
|
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
|
||||||
<rasd:ResourceType>6</rasd:ResourceType>
|
<rasd:ResourceType>6</rasd:ResourceType>
|
||||||
</ovf:Item>
|
</Item>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
<xsl:template match="node()|@*">
|
||||||
|
<xsl:copy>
|
||||||
|
<xsl:apply-templates select="node()|@*"/>
|
||||||
|
</xsl:copy>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
</xsl:stylesheet>
|
</xsl:stylesheet>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue