Re: [Teas] [yang-doctors] Feedback on options for issue #1 in TE tunnel YANG

Mahesh Jethanandani <mjethanandani@gmail.com> Fri, 22 July 2016 07:34 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: teas@ietfa.amsl.com
Delivered-To: teas@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D9A812D5EB; Fri, 22 Jul 2016 00:34:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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_LOW=-0.7, SPF_PASS=-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 PrKHpD_l1gRw; Fri, 22 Jul 2016 00:34:13 -0700 (PDT)
Received: from mail-pa0-x236.google.com (mail-pa0-x236.google.com [IPv6:2607:f8b0:400e:c03::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 B13F212DA99; Fri, 22 Jul 2016 00:34:13 -0700 (PDT)
Received: by mail-pa0-x236.google.com with SMTP id fi15so37228517pac.1; Fri, 22 Jul 2016 00:34:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=ER3yM4XHBQQAa4MWpKSqVYM8jBHb6RS2S4ufRC5qJE8=; b=rnZtXEtzHfe7DkoYwmgt99xIKZ/mrByFJ//raL8MoFKtRLfGLZfyw6YECyI1CeAaI+ GRaBCppsf64fPEsuqa8IlTcpEMkA5hvF4iW3BOC05KEfklvQ6DSIYHFJ4MuHlz0kbb0J AGCoqSFq75ej8/jVTc7LORkf49m5QoDxkH3t0Uth7iX4dp7Avt3uHBFqDK9r/YYZqjs3 2zKIJwWIbU3K7CG/toaeKV05QtfybrcUGldOGYpDRmxZIturc+gcmcKwUkUlizNkUGD5 4WpQrXgN9KtzJLO+i9VdmMnqN7XdtxYrUGYIKAXx1T1Goe7zUZl/5lXio5YH90L2Xag2 vvDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=ER3yM4XHBQQAa4MWpKSqVYM8jBHb6RS2S4ufRC5qJE8=; b=RwPIHDCAFnnHvO3w1xpdu82dBXi6pGxcpvAg0E9sadm40IlzAchyDEaA5EkyxH5Oo1 c4PyF4Lxm/E1lieUPyElMaOL+Q55HRC3kyWtUH9s755DkOL380+QovWhoDUuO2u22leR METr8xpIXx34tAXf4/gC6mFGMFVA5e5W+yT3UUpvpzAiPL6kn/rjDlTG/wvp4/2RAer0 5ecYpPMuLa98Z2HislYfUUslevXtZ+qmhSh36ZrdSifoE18KYQHlzn2JVdVAJPiawtCr 1eVOlJqT7IIiMKYRVxgdYO0ErDkcL32iSb93BSlnlhfppbNuVISc19Iv7pwZT/gwzeIJ xRbA==
X-Gm-Message-State: AEkoous+yn0htCqIyG+dvDNKinz5Fj+A9CykcGx6Whx7XL0lmLwKiOr3ZYsJ2/Z4dmYy2Q==
X-Received: by 10.66.15.138 with SMTP id x10mr3985801pac.92.1469172852870; Fri, 22 Jul 2016 00:34:12 -0700 (PDT)
Received: from [10.24.9.71] ([128.107.241.161]) by smtp.gmail.com with ESMTPSA id f84sm17308265pfd.87.2016.07.22.00.34.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 22 Jul 2016 00:34:12 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_11695F17-BF09-4776-9C27-6170EBF202B5"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Mahesh Jethanandani <mjethanandani@gmail.com>
In-Reply-To: <5717BEB6-46B6-47EB-BE9B-F8A5AE2E8EFB@cisco.com>
Date: Fri, 22 Jul 2016 09:34:09 +0200
Message-Id: <23BBAF4A-0468-42D9-9086-D5EEAEE16F95@gmail.com>
References: <5717BEB6-46B6-47EB-BE9B-F8A5AE2E8EFB@cisco.com>
To: "Tarek Saad (tsaad)" <tsaad@cisco.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/teas/Yu_HVu_83C3l_io_3u41jkNTqfA>
Cc: "yang-doctors@ietf.org" <yang-doctors@ietf.org>, "teas@ietf.org" <teas@ietf.org>
Subject: Re: [Teas] [yang-doctors] Feedback on options for issue #1 in TE tunnel YANG
X-BeenThere: teas@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Traffic Engineering Architecture and Signaling working group discussion list <teas.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teas>, <mailto:teas-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teas/>
List-Post: <mailto:teas@ietf.org>
List-Help: <mailto:teas-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teas>, <mailto:teas-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jul 2016 07:34:15 -0000

Tarek,

I am not sure I understand all the options you are describing, so maybe would need to understand that. I also do not understand the CON in the first option where you talk about leafrefs being error prone.

Assuming there is some minor clarification required, I would think Option 1 would work for you and is something that is used commonly across YANG models.

Anyway, I am around till noon if you want to help me understand the issue.

Thanks.

> On Jul 21, 2016, at 2:59 PM, Tarek Saad (tsaad) <tsaad@cisco.com> wrote:
> 
> Hi YANG doctors,
> 
> We have a requirement to reuse generic data across multiple technology model instantiations for model we’re driving in draft-ietf-teas-yang-te. For this, we've identified a number of proposals and tried to summarize them in slides 7-10 in the deck @http://www.ietf.org/proceedings/96/slides/slides-96-teas-3.pptx <http://www.ietf.org/proceedings/96/slides/slides-96-teas-3.pptx>
> 
> We are seeking your expert advice on the best way of the options to proceed with and whether there’s a precedence in other IETF models that have solved similar issues.
> 
> Regards,
> Tarek (and co-authors)
> _______________________________________________
> yang-doctors mailing list
> yang-doctors@ietf.org
> https://www.ietf.org/mailman/listinfo/yang-doctors

Mahesh Jethanandani
mjethanandani@gmail.com