dhcwg / yang

A workplace for IETF drafts related to DHC WG and YANG
1 stars 1 forks source link

IETF ipv6-prefix type includes the prefix length. #35

Open fxdupont opened 6 years ago

fxdupont commented 6 years ago

According to RFC 6991 it is pretty clear that the ipv6-prefix type includes the prefix length so in all occurrences of both prefix and prefix-len[ght] the second must be removed.

iffy50 commented 5 years ago

In the option definitions, we've followed the convention of trying to have a separate leaf for each of the corresponding fields in the option. Propose following this format throughout with a uint8 for the prefix length and an ipv6-address field for the value. I think it would be a good idea to add a description to explain why this approach was taken.