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

Unrecognized keyword - openconfig-extensions #44

Closed jcleung5549 closed 3 years ago

jcleung5549 commented 5 years ago

A CSDL file was create, but got the following warning messages.

(yang-2019)$ pyang -p yangs --plugindir ./YANG-to-Redfish-Plugin --format redfish --target_dir output_dir --combine_all_nodes yangs/openconfig-acl.yang We don't recognize keyword ('openconfig-extensions', 'openconfig-version'), create as statement Success writing file to disk: output_dir/openconfig_acl_v1.xml

tomasg2012 commented 5 years ago

I think we made this issue once before, there's not much that can be done about this. I can remove the error, but it will have to default to a statement, as the spec claims.

Unless I'm not aware of how to adapt it...

jcleung5549 commented 5 years ago

If this an informative message, then leave it. I will just document in the README that the message is expected.

mraineri commented 3 years ago

Closing; explained in README now