Ask Your Question

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower


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

Seen: 57 times

Last updated: Apr 08 '16