You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the Proposal in the issue openBackhaul/core#26 , need to include a comment to the attribute is-hot-swappable
Solution :
In the UML2YANG tool in the experimental branch , require to include the following code in the /models/tools/pruning-and-refactoring/core-model/src/main/resources/xslt/prune-and-refactor-core-model.xslt
<!-- To include the comment for the attribute is-hot-swappable -->
<xsl:template match="ownedAttribute[@name='isHotSwappable']">
<xsl:copy>
<xsl:apply-templates select="@*"/>
<ownedComment xmi:type="uml:Comment" xmi:id="_yb3zEEQgEeasL6dcjI1vCC" annotatedElement="_yb3zEEQgEeasL6dcjI1vEA">
<body>This attribute shall be set on true, if the described equipment could be inserted or removed from the running system, + (without the need of powering the system down or restarting it) + (without being damaged or causing damage to any other element in the system where the equipment is inserted/removed) + (without causing traffic interruption or an alteration on the performance of other components or parts of the system not directly supported by this equipment.) The aforementioned characteristic shall not require any manual change on other components of the system. Potential traffic interruption on the interfaces supported by the component, which is being replaced, shall not matter to the value of the is-hot-swappable attribute.</body>
</ownedComment>
<xsl:apply-templates select="node() | text()"/>
</xsl:copy>
</xsl:template>
Note : Include this in the end of the file before the tag </xsl:stylesheet>
The text was updated successfully, but these errors were encountered:
For the Proposal in the issue openBackhaul/core#26 , need to include a comment to the attribute is-hot-swappable
Solution :
In the UML2YANG tool in the experimental branch , require to include the following code in the /models/tools/pruning-and-refactoring/core-model/src/main/resources/xslt/prune-and-refactor-core-model.xslt
The text was updated successfully, but these errors were encountered: