Hi,

I have three groups A, B and C. I am trying to refine the attribute "password" 
in  grouping C  as below :

grouping A {
        leaf password {
            type string;
            description "Password to connect the connector";
        }
}

grouping B {
                container connector-configs {
                                uses A;
                                leaf mgmt-ip {
                                                type inet-types:ipv4-address;
                                                description "IP address of the 
connector";
                                }
                }
}

grouping C {
                uses B {
                refine "password" {
                                default "password";
                }
}


But when I compile I am getting an exception  [ERROR] yang-to-sources: Unable 
to parse yang files from 
C:\workspace\controller\controller\odl\controllerconfiguration\api\src\main\yang
java.lang.IllegalArgumentException: Refine target node Relative{path=[(......]} 
not found

>From the error I am able to understand that the path to the attribute is wrong 
>when refine statement is used. But how do we refine an attribute which is 
>inside a container ?

Regards
-Satish
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev
  • [controller-dev]... Satish Dutt
    • Re: [contro... Igor Foltin -X (ifoltin - PANTHEON TECHNOLOGIES at Cisco)

Reply via email to