Binding generator v2 - uses statement - uses inner type
- for current implementation of yangtools does not copy "types" from groupings,
but the original definition of a type is reused, so we should find inner type
added by uses by original node.
this patch should be merged with:
- https://git.opendaylight.org/gerrit/60527
- https://git.opendaylight.org/gerrit/60529
- add yangs and test
Change-Id: I4336bbf04c25b6caf2a1bd3101760fc3fc40421e
Signed-off-by: Jie Han <han.jie@zte.com.cn>
(cherry picked from commit
b9086681167b83e5aa6887dabbb749807f4c6206)