On 2019-04-17 21:20, Juergen Schoenwaelder wrote:
Kristian,
I was instructed to upload draft-ietf-netmod-6991bis-00 without any
changes relative to draft-schoenw-netmod-6991bis-01 and this explains
why there is no address-with-prefix-length. The next version will have
definitions for ip-address-and-prefix, ipv4-address-and-prefix, and
ipv6-address-and-prefix - so not action needed from your side at this
point in time.
Ah, okay, I see! :)
Very well, then I'll leave Emacs alone ;)
I wonder though, isn't ipX-address-and-prefix-length the clearer name,
or if we do want to shorten then ipX-address-and-plen. I think Martin
stated the case for ipX-address-and-prefix but that is IMHO not the way
this is typically perceived by people.
1.2.3.4/24
^^^^^^^----- ipv4 address
^^^-- ipv4 prefix length
now, taking the prefix-length you know that 1.2.3 is the prefix but does
that mean the above is an IPv4 address and a prefix? Or is it just that
you can infer the prefix from the above? It's just different ways of
looking at it. My experience tells me ipX-address-and-prefix-length is
the clearer way of conveying what this is.
kll
/js
On Wed, Apr 17, 2019 at 09:07:48PM +0200, Kristian Larsson wrote:
Juergen,
not sure where we really landed with this. I see 6991bis-00 is available but
without any of these types. I still think these data types makes sense and
would like to see them included. There are some people against and there are
some people for. Would it help if I wrote a few lines of YANG for this and
sent to you?
Kind regards,
Kristian.
On 2019-04-01 18:13, Juergen Schoenwaelder wrote:
This is the right time for this and I would call these
ip-address-prefix, ipv4-address-prefix and ipv6-address
prefix.
/js
On Mon, Apr 01, 2019 at 04:38:34PM +0200, Kristian Larsson wrote:
Hello,
seeing that 6991 is up for a refresh I wonder if this would be the time to
suggest the addition of a type for address-and-prefix-length, for example
like 192.0.2.1/24?
I find that it's the most natural way express the address and prefix-length
to configure on an interface or for some other use. We currently have an
ip-prefix type which allows CIDR style prefixes but since all bits to the
right of the mask is to be 0 it is only possible to use for describing the
IP prefix / network address itself - not the address of a host in that
network.
I actually wish the interface-ip modules would have used a combined leaf for
these settings rather than the dual-leaf approach it currently has, but I
suppose that ship has sailed :/
Regardless, can we add such a type? Is this the document and time to do it?
:)
Kind regard,
Kristian.
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod