[YANGTOOLS-195] MDSAL code generator ignores "uses" in RPC input args Created: 27/Jun/14 Updated: 10/Apr/22 Resolved: 27/Jun/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ashwin Pankaj | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 1251 |
| Description |
|
If you generate code for the following yang model using org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl grouping global-fields { } rpc myRPC { input { leaf id {type uint32;} uses global-fields; } the myRPCInput interface does not contain getter for "glob-id" field. |
| Comments |
| Comment by Martin Vitez [ 27/Jun/14 ] |
|
Ashwin, |
| Comment by Martin Vitez [ 27/Jun/14 ] |
|
Actually, with newly merged changes it turns out that on MAC there could be a problem with yangtools. If this is your case, please specify your OS version and JVM version. |
| Comment by Tony Tkacik [ 27/Jun/14 ] |
|
Probably similar problem in controller 1 Results : Failed tests: |
| Comment by Ashwin Pankaj [ 27/Jun/14 ] |
|
> Ashwin, |
| Comment by Martin Vitez [ 27/Jun/14 ] |
|
Resolved, not a bug. |