Re: [netmod] IP addresses with zone indices

Andy Bierman <andy@yumaworks.com> Mon, 10 December 2012 16:34 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBC0A21F853D for <netmod@ietfa.amsl.com>; Mon, 10 Dec 2012 08:34:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.532
X-Spam-Level:
X-Spam-Status: No, score=-2.532 tagged_above=-999 required=5 tests=[AWL=-0.156, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aeh78XSrPnzg for <netmod@ietfa.amsl.com>; Mon, 10 Dec 2012 08:34:58 -0800 (PST)
Received: from mail-vb0-f44.google.com (mail-vb0-f44.google.com [209.85.212.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0B54F21F84FC for <netmod@ietf.org>; Mon, 10 Dec 2012 08:34:57 -0800 (PST)
Received: by mail-vb0-f44.google.com with SMTP id fc26so2928138vbb.31 for <netmod@ietf.org>; Mon, 10 Dec 2012 08:34:57 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Y32CZ7OmQYNBLOW3V6zX74tw4D9Vp5LdqkS3DihcN4E=; b=fGum9Sf+G+Gl1TPdTb9IaJ1ofDI4jdu01QZXIfuTHiRGtdEkx3fQAwsn8pluVO7anr AuiziBn7zeUZNDFsh0YG9G+ALv2znQJ4FASBQPG8VBpJHqJ3EJO7cUVCdAwNGrn0CJ+x EHOanN9PTo20xdaaMC1s6Qu8DkOKfZXNs4wXC6kjNS2OONcQObxouGMqImK/D2dZiy6v yAcGd6ExRa+pPZBJxXer4yCmDy1/61xZv7/G7coP729tKl9zSww+j1v9Z8dFtX9rGbFg vs7wXfr7P4s5tIEsi6m/0c4jAz9wAK773xfBw89jw3K+7slHL8YMS8D8WBZEnY1f0rRR 3iRw==
MIME-Version: 1.0
Received: by 10.52.66.34 with SMTP id c2mr7992902vdt.62.1355157297327; Mon, 10 Dec 2012 08:34:57 -0800 (PST)
Received: by 10.58.117.234 with HTTP; Mon, 10 Dec 2012 08:34:57 -0800 (PST)
In-Reply-To: <m2lid6ue27.fsf@nic.cz>
References: <2105C80D-48CA-494B-A62A-8A1BA5919D42@nic.cz> <20121204.211903.458434883.mbj@tail-f.com> <m27gowsv1t.fsf@ladislav.lhotka.nb1.wifi0.office.nic.cz> <20121210.155754.589804255154826193.mbj@tail-f.com> <m2lid6ue27.fsf@nic.cz>
Date: Mon, 10 Dec 2012 08:34:57 -0800
Message-ID: <CABCOCHT7xfAaP99RVyE6LCKt1KZJRqjZ8hX-UxWcnoCx1Q1pTg@mail.gmail.com>
From: Andy Bierman <andy@yumaworks.com>
To: netmod@ietf.org
Content-Type: multipart/alternative; boundary="20cf307f35c2526f5f04d0822559"
X-Gm-Message-State: ALoCoQl5Gs/ejMDtgL+LGH/GMtOuqndLYuqelpG7nijZNaxYodUzVkFVkRm4ctKwGf+9tFVVYm89
Subject: Re: [netmod] IP addresses with zone indices
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Dec 2012 16:34:59 -0000

On Mon, Dec 10, 2012 at 7:22 AM, Ladislav Lhotka <lhotka@nic.cz> wrote:

> Martin Bjorklund <mbj@tail-f.com> writes:
>
> >> > Anyway, I don't understand why such a type would belong to either
> >> > ietf-ip or ietf-inet-types.
> >>
> >> Because then we can avoid having the same pattern in multiple
> >> places. What's wrong on such a type? I think it is quite
> >> comparable to types like "uint32" which also have no special
> >> semantics.
> >
> > My point was that it is not clear why it would be defined in ietf-ip
> > or ietf-inet.  There is no ip or inet specific semantics associated
> > with this type.  ietf-yang would be a better place for it...  But see
> > below.
>
> I agree, such a type probably belongs to ietf-inet-types, but we can't
> afford a new downref to 6021bis now. The scenario could IMO look like this:
>
> 1. Define this type temporarily in ietf-ip and use where necessary;
> 2. Add it also to ietf-inet-types;
> 3. After 6021bis is published, change "ip:dotted-quad" to
> "inet:dotted-quad" in next revisions of ietf-ip, ietf-routing etc;
> 4. Obsolete "ip:dotted-quad".
>
>

A: deploying standards is very expensive.  Temporary fixes last 10 - 20
years around here.
There is no such thing.  Get it right the first time or pay the price for
many years to come.

B: There happens to be a 6021bis draft:
http://www.ietf.org/id/draft-schoenw-netmod-rfc6021-bis-00.txt
It adds 'hex-string' and 'uuid' to ietf-yang-types.yang.
(A 'Changes Since RFC 6021' section would make that more clear.)

There are many useful typedefs in the common-types.yang module in
the proposed ACL draft.
http://www.ietf.org/id/draft-huang-netmod-acl-01.txt

I don't know how practical it is to re-open 6021 every time the WG thinks of
a new typedef to add.  But it seems easier than chartering and publishing
new work,
and it is better for YANG developers to keep the standard types in a lot
of random modules.

I don't agree with any of the 4 options above. I prefer:

5) work on 6021bis for a short time (1 - 2 months) and
publish reusable data types only in 1 place (6021bis).


Andy

Could this work?
>
> >
> >
> >> > For now, I think the quickest way forward is to solve this separately
> >> > in each module.
> >>
> >> If you define the above type in ietf-ip, then I can reuse it -
> >> ietf-routing already imports ietf-ip. Would this be any slower?
> >
> > Ok, I'd like to make progress, so I am prepared to define this type in
> > ietf-ip, and use it for the netmask.
>
> Good, I'm going to use it for "router-id".
>
> Thanks, Lada
>
> >
> >
> > /martin
>
> --
> Ladislav Lhotka, CZ.NIC Labs
> PGP Key ID: E74E8C0C
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>