[CONTROLLER-655] Config-sub sys code generator not handling container with uses statement Created: 29/Jul/14 Updated: 30/Jul/14 Due: 31/Jul/14 Resolved: 30/Jul/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | config |
| Affects Version/s: | Helium |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Wojciech Dec | Assignee: | Maros Marsalek |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| External issue ID: | 1451 |
| Description |
|
The config code generator reports an error when using the a config with a container containing a "uses" statement. The generator accepts the uses statement without the container. [ERROR] yang-to-sources: Unable to generate sources with org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator generator module aaa-authz-service-impl { yang-version 1; import config { prefix config; revision-date 2013-04-05; }import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }import authorization-schema { prefix authzs; revision-date 2014-07-22; }revision "2014-07-01" { description "Initial revision."; } // This is the definition of the service implementation as a module identity. // Augments the 'configuration' choice node under modules/module. container data-broker { } container authz-data { uses authzs:authorization-grp; } } |
| Comments |
| Comment by Maros Marsalek [ 30/Jul/14 ] |
|
Hi Wojciech, I fixed very similar bug (probably the same) yesterday. It was 1410. Could you please re-check with latest code for ODL ? The fix is already merged into master. Changing status to works for me, please recheck and reopen if necessary. |