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#10 , need to prune the attribute LogicalTerminationPoint:physicalPortRefernce[*] from the CoreModel ,
Solution :
In the UML2YANG tool in the experimental branch ,
need to remove the following template from the /models/tools/pruning-and-refactoring/core-model/src/main/resources/xslt/prune-and-refactor-core-model.xslt
<!-- To change the datatype of physical-port-reference from string to leafref to point to a instance in the equipment list -->
<xsl:template match="ownedAttribute[@xmi:id = '_RLDi4BieEeSh8KVgZCMyDw' ]" >
<xsl:copy>
<xsl:apply-templates select="@*"/>
<xsl:attribute name="type">_8SXNej-HEeaRI-H69PghuA</xsl:attribute>
<xsl:attribute name="aggregation">shared</xsl:attribute>
<xsl:attribute name="association">_X1qQMD-QEeaRI-H69PghuA</xsl:attribute>
<xsl:apply-templates select="node() | text()"/>
</xsl:copy>
</xsl:template>
need to modify the field "Prune" to true for the attribute physical-port-reference in the /models/tools/pruning-and-refactoring/core-model/src/main/resources/xslt/pruning-control.xml.
For the proposal in the issue openBackhaul/core#10 , need to prune the attribute LogicalTerminationPoint:physicalPortRefernce[*] from the CoreModel ,
Solution :
In the UML2YANG tool in the experimental branch ,
The text was updated successfully, but these errors were encountered: