Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode

Revision history [back]

click to hide/show revision 1
initial version

Yang tool could not generate correct method when leaf name is "interface" in a list

Yang: module exa-base { namespace ""; prefix exa;

revision "2015-05-12" {
    description "test java word";

container class {
    list interfaceList{
            key interface;
            leaf interface {
                type uint32{
                    range "0..4294967295";


We find The Class InterfaceList generated from Yang define, has method “java.lang.Long getInterface();”; But in the InterfaceListBuilder’s constructor, calle method “base.get_interface()”, and base’s type is InterfaceList