Loading scripts/inventory/INV_SRV_01/vlans_transform.xsl +7 −2 Original line number Original line Diff line number Diff line Loading @@ -7,8 +7,13 @@ xmlns:dot1q="urn:ieee:std:802.1Q:yang:ieee802-dot1q-bridge"> xmlns:dot1q="urn:ieee:std:802.1Q:yang:ieee802-dot1q-bridge"> <vlan> <vlan> <!--TODO: Includes additional fields as needed --> <!--TODO: Includes additional fields as needed --> <xsl:copy-of select="dot1q:name" /> <xsl:copy-of select="dot1q:vids" /> <xsl:copy-of select="dot1q:vids" /> <xsl:variable name="vlan_id" select="dot1q:vids" /> <xsl:for-each select="./../../dot1q:bridge-vlan/dot1q:vlan" > <xsl:if test="dot1q:vid=$vlan_id" > <xsl:copy-of select="dot1q:name" /> </xsl:if> </xsl:for-each> <xsl:copy-of select="dot1q:entry-type" /> <xsl:copy-of select="dot1q:entry-type" /> <port-left><xsl:value-of select="dot1q:port-map[1]/dot1q:port-ref" /></port-left> <port-left><xsl:value-of select="dot1q:port-map[1]/dot1q:port-ref" /></port-left> <port-left-vlan-transmitted><xsl:value-of select="dot1q:port-map[1]/dot1q:static-vlan-registration-entries/dot1q:vlan-transmitted" /></port-left-vlan-transmitted> <port-left-vlan-transmitted><xsl:value-of select="dot1q:port-map[1]/dot1q:static-vlan-registration-entries/dot1q:vlan-transmitted" /></port-left-vlan-transmitted> Loading Loading
scripts/inventory/INV_SRV_01/vlans_transform.xsl +7 −2 Original line number Original line Diff line number Diff line Loading @@ -7,8 +7,13 @@ xmlns:dot1q="urn:ieee:std:802.1Q:yang:ieee802-dot1q-bridge"> xmlns:dot1q="urn:ieee:std:802.1Q:yang:ieee802-dot1q-bridge"> <vlan> <vlan> <!--TODO: Includes additional fields as needed --> <!--TODO: Includes additional fields as needed --> <xsl:copy-of select="dot1q:name" /> <xsl:copy-of select="dot1q:vids" /> <xsl:copy-of select="dot1q:vids" /> <xsl:variable name="vlan_id" select="dot1q:vids" /> <xsl:for-each select="./../../dot1q:bridge-vlan/dot1q:vlan" > <xsl:if test="dot1q:vid=$vlan_id" > <xsl:copy-of select="dot1q:name" /> </xsl:if> </xsl:for-each> <xsl:copy-of select="dot1q:entry-type" /> <xsl:copy-of select="dot1q:entry-type" /> <port-left><xsl:value-of select="dot1q:port-map[1]/dot1q:port-ref" /></port-left> <port-left><xsl:value-of select="dot1q:port-map[1]/dot1q:port-ref" /></port-left> <port-left-vlan-transmitted><xsl:value-of select="dot1q:port-map[1]/dot1q:static-vlan-registration-entries/dot1q:vlan-transmitted" /></port-left-vlan-transmitted> <port-left-vlan-transmitted><xsl:value-of select="dot1q:port-map[1]/dot1q:static-vlan-registration-entries/dot1q:vlan-transmitted" /></port-left-vlan-transmitted> Loading