DMTF / YANG-to-Redfish-Converter

This tool converts a YANG model file to the corresponding Redfish schema, specified in OData CSDL, in accordance with the YANG-to-CSDL Mapping Specification.
Other
4 stars 5 forks source link

Broken type references #43

Closed mraineri closed 4 years ago

mraineri commented 5 years ago

There are cases where some Navigation Properties are pointing to invalid definitions. For example, in openconfig_acl_v1.xml, there is the following definition:

<NavigationProperty Name="aclContainer" Type="acl.acl" ContainsTarget="true">
  <Annotation Term="OData.Permissions" EnumMember="OData.Permissions/Read"/>
  <Annotation Term="OData.Description" String="Navigation property that points to a resource of acl."/>
  <Annotation Term="OData.LongDescription" String="Automatically generated."/>
  <Annotation Term="OData.AutoExpandReferences"/>
</NavigationProperty>

acl.acl is not a valid type. There is no namespace named acl.

jcleung5549 commented 4 years ago

Issue resolved in latest update to the emulator.