Comments (5)
Could you specify a particular file converted that this occurs on, which resulting properties it is the issue? If not able to be uploaded in a zip, point to its source online.
from yang-to-redfish-converter.
https://github.com/openconfig/public/blob/master/release/models/interfaces/openconfig-interfaces.yang . I only noticed the issue when taking the resultant csdl and trying to use the csdl to json schema converter. It complains about having no type defined for the properties and so it skips them.
For example, mtu in the yang:
leaf mtu {
type uint16;
description
"Set the max transmission unit size in octets
for the physical interface. If this is not set, the mtu is
set to the operational default -- e.g., 1514 bytes on an
Ethernet interface.";
}
And the outputted csdl:
<Property Name="mtu">
<Annotation Term="RedfishYang.NodeType" EnumMember="RedfishYang.NodeTypes/leaf"/>
<Annotation Term="OData.Permissions" EnumMember="OData.Permission/Read"/>
</Property>
from yang-to-redfish-converter.
I think one of the greater issues here is that the plugin currently doesn't have any programming catering the "grouping" tag, so the behavior may not be ideal. Otherwise, this issue will be addressed.
from yang-to-redfish-converter.
Grouping and missing type information has been improved, will doublecheck these files.
from yang-to-redfish-converter.
Resolution with Network TF Meeting 8/24: Closing as this appears to be fixed.
from yang-to-redfish-converter.
Related Issues (20)
- Unresolved reference error while converting OpenConfig Yang file CSDL to JSON HOT 4
- Would like to get the plugin branch to master HOT 1
- One CSDL file per module HOT 2
- The conversion from OpenConfig YANG generates more CSDL files HOT 1
- Travis - Unknown element name Collection HOT 4
- Unclear how to reference generated CSDL file HOT 3
- Collection element not recognized by Travis HOT 15
- Travis complains for <Annotation> elements HOT 8
- Broken type references HOT 1
- Unrecognized keyword - openconfig-extensions HOT 3
- Travis error - unexpected close tag HOT 5
- CSDLs are missing an Action HOT 4
- Travis errors in openconfig_acl_v1.xml HOT 2
- Travis errors on openconfig_if_aggregate_v1.xml HOT 3
- Travis error - Unknown attribute name Alias (3 times) HOT 3
- Travis warning - Complex Types Should Not have Permissions (5 times) HOT 1
- Travis error - Unable to locate type (6 times) HOT 1
- Travis error - Unable to locate annotation (5 times) HOT 1
- Travis error - RedfishYangExtensions.v1_0_0 needs OwningEntity and Release terms HOT 2
- RedfishYangExtension missing OwningEntity and Release annotations HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yang-to-redfish-converter.