-
Improvement
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
yang-binding artifact currently has all the interfaces thrown into one package, org.opendaylight.yangtools.yang.binding.
We need to split them into three packages based on their purpose:
- base user-visible concepts: DataObject, InstanceIdentifier, RpcService,...
- structural enforcement interfaces: ChildOf, Augmentation, Augmentable, etc.
- run-time support interfaces: DataObjectSerializer, etc.
These all need to exist in one bundle and the packages need to be referenced from each generated package due to OSGi classloading rules.
Finally we need a yang-binding-util, which will provide things for tools dealing with the binding spec itself – BindingMapping and similar.