Ask Your Question
0

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
0

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

Follow
1 follower

Stats

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

Seen: 57 times

Last updated: Apr 08 '16