Re: [netmod] 6991bis: address-with-prefix-length

Jeff Tantsura <jefftant.ietf@gmail.com> Mon, 01 April 2019 22:09 UTC

Return-Path: <jefftant.ietf@gmail.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 0D4801201C5 for <netmod@ietfa.amsl.com>; Mon, 1 Apr 2019 15:09:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d4f3WbY2tNuw for <netmod@ietfa.amsl.com>; Mon, 1 Apr 2019 15:09:32 -0700 (PDT)
Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 838CF120003 for <netmod@ietf.org>; Mon, 1 Apr 2019 15:09:32 -0700 (PDT)
Received: by mail-pl1-x62c.google.com with SMTP id m10so5156094plt.10 for <netmod@ietf.org>; Mon, 01 Apr 2019 15:09:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version; bh=mOL4FPj80HJS0fIpAEYqcLh0N+vDKH9WyxyEsp5ZXnw=; b=pnUkVKgEoGd+CU137TFEFHJ0+fUODrMP2RcDlwvFLccixz5htr8g+CZRG/n9tcY/+x ds+BXVngSXa2UXYO8nHr00DOoWfjqklR64qHEf3aNJ62dLg0tLWBHud2o7rJK3UZ5Z1Y PvKOQ9RgTOAyLfYDnKdRATQObS/YQEWmA7EbRAfddGs54cKCH9qDYje9WoTVmgBSHGzl d1tptGkUOPSlsKOh2E+aHayrR8U3qLYJNdO3S8n/32AI2aQk/E6crU2NvQCFZVvXAldE OpKtnIWuEn63zvdvjLAXAA7IQhQEapmwMESaqxz+UfyJmYApjshHwt1rxj8Qp7naDg9q 00rQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:in-reply-to:references :subject:mime-version; bh=mOL4FPj80HJS0fIpAEYqcLh0N+vDKH9WyxyEsp5ZXnw=; b=oHjTJbaaYVBd8S8y4YGuGZiLoP1+Oa6Qg/Y+GAaHnD6vFOly1T4jfrQ4Gd5UA3aR2M 6SXBY3/g04Bm5b5oYNI3eb9Af7CgrpNYQP4dWYdeQntLmqoPZ63d/Q6Uyn6QOwNrHFus pc1pP8qiO/1oP0wuRIPvdYd4qT3BzrzSRfTTS1YVXOGwHHufZqQP4XB2JTR9/5ynx9cQ m9EB5A3j09QvVcsJ3un1VeuTh9NY+t1s8ZCfDaHoSeGFxoO237TL8U8E9RuOt8YOfPqW oda0AZLJWk4ef1d5H4D037NG7H+rKIzmxrP2zmW8N2Z7vQXATWAMvHgBZ7o4hE1KQyZi cLiw==
X-Gm-Message-State: APjAAAXs4g8wHy2FGvDhcFRoH1MjQVlAPkOeW9/u9Tp6a6FFAPUUaYZA MghrwWZCYqlTc0T86moFvZz50j12WaM=
X-Google-Smtp-Source: APXvYqxmXD0f5oREbk+rvBGk/2ZvEvmh2pSmakF2AtH4QOqUqbHBysueBaQA+S8nuLbDe8JOzMeEfA==
X-Received: by 2002:a17:902:9341:: with SMTP id g1mr1279469plp.81.1554156571475; Mon, 01 Apr 2019 15:09:31 -0700 (PDT)
Received: from [10.5.5.194] ([50.235.77.202]) by smtp.gmail.com with ESMTPSA id l184sm18761207pfc.98.2019.04.01.15.09.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Apr 2019 15:09:30 -0700 (PDT)
Date: Mon, 1 Apr 2019 15:09:21 -0700
From: Jeff Tantsura <jefftant.ietf@gmail.com>
To: netmod@ietf.org, Kristian Larsson <kristian@spritelink.net>
Message-ID: <7d368608-7c73-4287-bfa3-69a8db8576a2@Spark>
In-Reply-To: <e659034c-8e1a-0bd8-3c92-b622240f8eb7@spritelink.net>
References: <20190401161321.seiodlfsmjjvjcp5@anna.jacobs.jacobs-university.de> <F1537180-6BF3-40C7-BCFA-3AAE0290AE9D@cisco.com> <A0F7987F-AA67-4A63-8FEE-3B74B5B47CF1@cisco.com> <20190401.192951.1060904547331848297.mbj@tail-f.com> <073226E5-F7D4-455D-AC88-B3D13FF103DD@gmail.com> <e659034c-8e1a-0bd8-3c92-b622240f8eb7@spritelink.net>
X-Readdle-Message-ID: 7d368608-7c73-4287-bfa3-69a8db8576a2@Spark
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5ca28c19_1716703b_159ec"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/i3Uwa6zGvPP6b6d9rYcl9_bouFc>
Subject: Re: [netmod] 6991bis: address-with-prefix-length
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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, 01 Apr 2019 22:09:39 -0000

What Kristian has proposed makes sense, in favor.

Cheers,
Jeff
On Apr 1, 2019, 1:09 PM -0700, Kristian Larsson <kristian@spritelink.net>;, wrote:
> Hello Mahesh,
>
> On 2019-04-01 21:40, Mahesh Jethanandani wrote:
> >
> > > On Apr 1, 2019, at 10:29 AM, Martin Bjorklund <mbj@tail-f.com>; wrote:
> > >
> > > I know that this type is convenient, esp. if you use it for manual
> > > input, but I wonder if it really is good practice to squeeze two
> > > values into one.
> >
> > Agree. The combination makes sense for CLI, but for modeling the address and prefix should be separate.
>
> Okay, then why do we have an ip-prefix data type at all? With the same
> line of argument you apply, it should be split up.
>
> So you're the third person bringing up CLI. I don't get this at all. I
> don't see how CLI are different from everything else. This is about data
> modeling and data modeling is about expressing the world in a data
> modeling language. It's like painting a picture but instead of a brush
> you have a schema language like YANG. What do you see? Express it. It
> doesn't matter if the purpose is a CLI, a web page or just exposing it
> via NETCONF for another system to consume.
>
> I think address-and-prefix-length is natural. JUNOS uses this format. XR
> uses this format (for IPv6 at least). Nokia SROS uses this format.
>
> We have written a bunch of models where the lack of this IMHO makes them
> less elegant. I'd like for there to be an IETF standard data type to
> make those models more elegant.
>
> Kind regards,
> Kristian.
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod