Re: [Rtg-yang-coord] comment concerning draft-shaikh-rtgwg-policy-model-00

Anees Shaikh <aashaikh@google.com> Thu, 28 May 2015 20:55 UTC

Return-Path: <aashaikh@google.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A8BBF1A8946 for <rtg-yang-coord@ietfa.amsl.com>; Thu, 28 May 2015 13:55:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level:
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 Ap4xPE5ThtkZ for <rtg-yang-coord@ietfa.amsl.com>; Thu, 28 May 2015 13:55:23 -0700 (PDT)
Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (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 2BB081A893E for <Rtg-yang-coord@ietf.org>; Thu, 28 May 2015 13:55:22 -0700 (PDT)
Received: by oihd6 with SMTP id d6so42122862oih.2 for <Rtg-yang-coord@ietf.org>; Thu, 28 May 2015 13:55:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=MJzaSIUNUL7JUPTAA7hbmf/k69lnMlL1QjyGSSeKuh4=; b=UUbgbkxSh9itdO3NxMpntr6u1PFB8a6GhAazvGvGnJ0GhPd9QWjs3cWlHXwrwuycj/ /nblG3C1sWjHuR75x6KuSix7GmaQcbLq35S9WB5p4Czi7nfbgj4Lk6yrG6VRW/wNDcvR fBpeDbw/O7gI3caI6vc9mw3TL9wWFwv5+2KbRatD5t+mKhc0fn51vp2wiu7NP1iNQyq5 hGD+Y8uJO2EjsMqM6nxNqEwO504mAMsSdHJpBwCBJ/IonytPqUpPZ3LcRqcCnXAr24BE RTYVslz0Vd5z2YOFy7/bNvxBuZGAbGvdtLZdBrCwUfKuxB0JusWESaeCIw8nE1VJV2Xm drow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-type; bh=MJzaSIUNUL7JUPTAA7hbmf/k69lnMlL1QjyGSSeKuh4=; b=HSN/0mRVQLqcPqWCqW/pxhTs2FBrX2hoTHSO9tnOhSrEk8/fSBJY8bXwsmWVhio9SK du4DMC5X0m6Nw5atQGRvG8C+oNg7Dpri0eSfL/+GRMSpKnZmDH8NKyvSBcojAZhWiouT YV1XGjTRlQFnHoH8GJOllFApSiFJ17b7CqUT3WiDbWpvj3b35GuGg5I0YPAHObad2/mO ZHcNKhZ7FQpT09p7B3FfVr9tS8QacMQCbbRxMl4iwj/PTUIgW3J6fqVvKtzZqtM6Y8kG /2TiFQMNBLqMN5LUYhaRNsqrj/bUYWGtXRGkcimOw/K4HR/o6FjxnQIeS+1dp0+FiQNZ x9xQ==
X-Gm-Message-State: ALoCoQnm0ncTxVUom4RNMxg/3axIblv0GI5R8KTpDd4RFzkQ7xhYOWwyZHjuCKwi0ZbppyROKGOR
X-Received: by 10.202.202.80 with SMTP id a77mr3991053oig.118.1432846522028; Thu, 28 May 2015 13:55:22 -0700 (PDT)
MIME-Version: 1.0
References: <20150527122452.GC41087@elstar.local> <CAJK7ZqKHEYpD3nb8J5hjbex=NVhAAtURHWw5jGKxdrRWZe+sCw@mail.gmail.com> <D18B6A36.1F437%acee@cisco.com> <15B43214-AE84-49C0-A83B-9E4DB6184CC6@cisco.com> <CAJK7Zq+9bFvuW79Cv5eg9E+189PW8zZ0aSHFCvPWSy-Pf=ksDQ@mail.gmail.com> <60EFF4AA-18BA-4B5B-87F4-4F5204A72A79@gmail.com>
In-Reply-To: <60EFF4AA-18BA-4B5B-87F4-4F5204A72A79@gmail.com>
From: Anees Shaikh <aashaikh@google.com>
Date: Thu, 28 May 2015 20:55:11 +0000
Message-ID: <CAJK7Zq+49izWtR1Kh=uSG31PSjbbLDcFfHyugMzfdObcA9ykbA@mail.gmail.com>
To: Mahesh Jethanandani <mjethanandani@gmail.com>
Content-Type: multipart/alternative; boundary=001a11352cdef6c1f605172a9363
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/-i19thRO7mvnkmWUEFK0o80-IAQ>
Cc: "rtg-yang-coord@ietf.org" <Rtg-yang-coord@ietf.org>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, "Acee Lindem \(acee\)" <acee@cisco.com>
Subject: Re: [Rtg-yang-coord] comment concerning draft-shaikh-rtgwg-policy-model-00
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 28 May 2015 20:55:24 -0000

Right, those examples are relatively easy because they are defined by a
standard or widely used common settings. We try to do this in the
OpenConfig models but there are plenty of examples where every
implementation has chosen a different default, range, etc.

Thanks.
-- Anees
On Thu, May 28, 2015 at 1:18 PM Mahesh Jethanandani <mjethanandani@gmail.com>
wrote:

> Aneesh,
>
> When I look at a model to see where the ranges, defaults, min/max values
> can be defined, I rely on protocol definition and what the expectation is
> of the packet on the wire.
>
> Two examples come to mind. VLAN, as we know has a fixed range, and can be
> easily defined. Same for MPLS labels. The other example is of duplex on a
> Ethernet port. You can probably set the default to full duplex, and few
> folks will complain. If the protocol defines it and you can cite a section
> in the standard where the range/default is defined then you are covered.
>
> Where there is no clear standards defining ranges, defaults, min/max, I
> agree with you, it is best to keep it out of a standard model.
>
> Cheers.
>
> On May 27, 2015, at 10:53 PM, Anees Shaikh <aashaikh@google.com> wrote:
>
> That said, where it's easy to add validation, we have tried to include it,
> though ranges, defaults, min/max values, etc. get harder when trying to
> build something vendor-neutral.
>
>
> Mahesh Jethanandani
> mjethanandani@gmail.com
>
>
>
>