Commit 2a234077 authored by Jean Rebiffe's avatar Jean Rebiffe
Browse files

Update scripts/inventory/INV_FW_01/system_transform.xsl,...

Update scripts/inventory/INV_FW_01/system_transform.xsl, scripts/inventory/INV_FW_01/system-state_transform.xsl
parent 42df7bf3
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -3,11 +3,13 @@
    <xsl:template match="/nc:data/sys:system-state/sys:platform"
                xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
                xmlns:sys="urn:ietf:params:xml:ns:yang:ietf-system">
        <system-states>
            <system-state>
                <xsl:copy-of select="sys:os-name" />
                <xsl:copy-of select="sys:os-release" />
                <xsl:copy-of select="sys:os-version" />
                <xsl:copy-of select="sys:machine" />
            </system-state>
        </system-states>
    </xsl:template>
</xsl:stylesheet>
+7 −5
Original line number Diff line number Diff line
@@ -3,10 +3,12 @@
    <xsl:template match="/nc:data/sys:system"
                xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
                xmlns:sys="urn:ietf:params:xml:ns:yang:ietf-system">
        <systems>
            <system>
                <xsl:copy-of select="sys:contact" />
                <xsl:copy-of select="sys:hostname" />
                <xsl:copy-of select="sys:location" />
            </system>
        </systems>
    </xsl:template>
</xsl:stylesheet>