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


Extend yang type

asked 2015-11-11 04:58:40 -0700

g_trelos gravatar image

Hello, in the opendayligh-match-types.yang, there is the ipv6-prefix field(inet:ietf type).How can I "extend" that field?I mean, how can I make another typed which extends and alters(a bit) the functionality of that type?

Thank you in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-08 04:38:37 -0700

Robert Varga gravatar image

You cannot modify the behavior of a besa model. You can extend it by adding additional information via the augmentation statement -- but not into leaf instances.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-11-11 04:58:40 -0700

Seen: 110 times

Last updated: Apr 08 '16