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

Travis errors on openconfig_if_aggregate_v1.xml #48

Closed jcleung5549 closed 5 years ago

jcleung5549 commented 5 years ago

2 Errors

  19) CSDL Tests
       metadata/openconfig_if_aggregate_v1.xml
         Enum Members are valid names:
     Error: Enum member "aggregation_type" of EnumType YangTypes is invalid!
      at checkEnumMembers (node_modules\redfishrepotest\csdl-syntax-test.js:527:15)
      at Context.it (node_modules\redfishrepotest\csdl-syntax-test.js:99:49)

  20) CSDL Tests
       metadata/openconfig_if_aggregate_v1.xml
         Properties are Pascal-cased:
     Error: Property Name "lag_type" is not Pascal-cased
      at checkPropertiesPascalCased (node_modules\redfishrepotest\csdl-syntax-test.js:537:13)
      at Context.it (node_modules\redfishrepotest\csdl-syntax-test.js:102:50)
mraineri commented 5 years ago

These are more things we'll need to whitelist in Travis. Can't enforce the enum and property naming rules for these types of files.

jcleung5549 commented 5 years ago

Can you give me a pointer to the the whitelist? I will modify locally so Travis will complete without errors.

jcleung5549 commented 5 years ago

Using branch yang-2019, there are no errors on openconfig_if_aggregate_v1.xml.