Hello Satish,
you need to write that refine like this: refine "connector-configs/password" {...} Regards, Igor ________________________________ Od: controller-dev-boun...@lists.opendaylight.org <controller-dev-boun...@lists.opendaylight.org> v mene používateľa Satish Dutt <sd...@advaoptical.com> Odoslané: 14. marca 2017 9:30 Komu: yangtools-us...@lists.opendaylight.org; yang-push-...@lists.opendaylight.org; yangtools-...@lists.opendaylight.org; controller-dev@lists.opendaylight.org; controller-us...@lists.opendaylight.org Predmet: [controller-dev] How to refine an attribute present in a container ? 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