Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis errors in openconfig_acl_v1.xml #47

Closed
jcleung5549 opened this issue Aug 9, 2019 · 2 comments
Closed

Travis errors in openconfig_acl_v1.xml #47

jcleung5549 opened this issue Aug 9, 2019 · 2 comments
Assignees

Comments

@jcleung5549
Copy link
Contributor

3 Error messages

  • Unable to locate type
  • Unable to locate annotation term
  • Pascal case violation
13) CSDL Tests
      metadata/openconfig_acl_v1.xml
        Complex Types Should Not Have Permissions:
    Error: Unable to locate type "oc_pkt_match_types.ethertype_type"
     at checkComplexTypePermissionsInSchema (node_modules\redfishrepotest\csdl-syntax-test.js:420:15)
     at complexTypesPermissions (node_modules\redfishrepotest\csdl-syntax-test.js:402:5)
     at Context.it (node_modules\redfishrepotest\csdl-syntax-test.js:93:64)

 14) CSDL Tests
      metadata/openconfig_acl_v1.xml
        All Annotation Terms are valid:
    Error: Unable to locate annotation term "oc_pkt_match_types.YangType"
     at checkAnnotationTerms (node_modules\redfishrepotest\csdl-syntax-test.js:516:13)
     at Context.it (node_modules\redfishrepotest\csdl-syntax-test.js:98:51)

 15) CSDL Tests
      metadata/openconfig_acl_v1.xml
        Properties are Pascal-cased:
    Error: Property Name "interface" 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)
@jcleung5549
Copy link
Contributor Author

With the yang-2019 branch, the error messages are down to 2:

 1) CSDL Tests
       metadata/openconfig_acl_v1.xml
         Complex Types Should Not Have Permissions:
     Error: Unable to locate type "oc_pkt_match_types.ethertype_type"
      at checkComplexTypePermissionsInSchema (node_modules\redfishrepotest\csdl-syntax-test.js:452:15)
      at complexTypesPermissions (node_modules\redfishrepotest\csdl-syntax-test.js:434:5)
      at Context.it (node_modules\redfishrepotest\csdl-syntax-test.js:106:64)

  2) CSDL Tests
       metadata/openconfig_acl_v1.xml
         All Annotation Terms are valid:
     Error: Unable to locate annotation term "oc_pkt_match_types.YangType"
      at checkAnnotationTerms (node_modules\redfishrepotest\csdl-syntax-test.js:566:13)
      at Context.it (node_modules\redfishrepotest\csdl-syntax-test.js:112:51)

@jcleung5549
Copy link
Contributor Author

Issue resolved in latest update to the emulator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants