Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
154
Description
Having a
import ietf-inet-types
{ prefix inet; revision-date 2010-09-24; }leaf listen-address {
type inet:ip-address;
default "0.0.0.0";
}
I am able to convert the type to org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.IpAddress .
What I also need is an API for constructing the default value. Note that this should work for all standard yang types as well as for types generated using yang generator.