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 https://github.com/openBackhaul/core/issues/10 , need to prune the attribute LogicalTerminationPoint:physicalPortRefernce[*] from the CoreModel ,
Solution : In the UML2YANG tool in the experimental branch ,