Re: [Rtg-yang-coord] Operational State Modeling

"Acee Lindem (acee)" <acee@cisco.com> Fri, 15 May 2015 14:37 UTC

Return-Path: <acee@cisco.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 5F4C61A916C for <rtg-yang-coord@ietfa.amsl.com>; Fri, 15 May 2015 07:37:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 GMfpNy-nxs73 for <rtg-yang-coord@ietfa.amsl.com>; Fri, 15 May 2015 07:37:41 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A24A21A90C1 for <Rtg-yang-coord@ietf.org>; Fri, 15 May 2015 07:37:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2640; q=dns/txt; s=iport; t=1431700661; x=1432910261; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=iuBO899J7Z7DpJTaKcI7KQl8fBAXY3GAOvYU32Pj63s=; b=TLFszQxWNguBfP5j8jeC7GGBWX5viK4dv3ZLQrzWJYSchq+KcOOjmBs2 4As7PGtfrvHW7YKVWplkGHTG/AxmOpVHZzp4OA95YANaAm6uqhh2czutM LRqKrspYev+0CMdtlLV2BcGStxMdidv2dtd7X8jfmye9QFQ1Dr5/CW+Ro g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BXBAAFBFZV/5NdJa1cgw9UXgaDGMFHCYFPCoV2AhyBHTgUAQEBAQEBAYEKhCIBAQEDAQEBASAROgsQAgEIGAICJgICAiULFRACBAENBYgkCA2yPqRDAQEBAQEBAQEBAQEBAQEBAQEBAQEBEwSBIYkXgQKEUjMHgmiBRQWSYYZzhACWfyODeG+BRYEBAQEB
X-IronPort-AV: E=Sophos;i="5.13,434,1427760000"; d="scan'208";a="150455365"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-5.cisco.com with ESMTP; 15 May 2015 14:37:40 +0000
Received: from xhc-aln-x14.cisco.com (xhc-aln-x14.cisco.com [173.36.12.88]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id t4FEbeNE012419 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 15 May 2015 14:37:40 GMT
Received: from xmb-aln-x06.cisco.com ([169.254.1.23]) by xhc-aln-x14.cisco.com ([173.36.12.88]) with mapi id 14.03.0195.001; Fri, 15 May 2015 09:37:40 -0500
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Ladislav Lhotka <lhotka@nic.cz>, Christian Hopps <chopps@chopps.org>
Thread-Topic: [Rtg-yang-coord] Operational State Modeling
Thread-Index: AQHQjPpRkKpDh+jYTPGkN01wChYhCZ18v+m7gAChmQCAAAY7AP//yICA
Date: Fri, 15 May 2015 14:37:40 +0000
Message-ID: <D17B7AFC.1DC55%acee@cisco.com>
References: <D177E7E1.1AC4C%acee@cisco.com> <CAJK7ZqLp4_dOVMcSMXP3juZHHeQJ6iLGkryJ8t6gs2Mcn=Ez5Q@mail.gmail.com> <20150513103509.GA59689@elstar.local> <D481ED34-84C4-455D-8CE5-36D01A5264CC@lucidvision.com> <20150515085228.GA4024@elstar.local> <87h9revub1.fsf@chopps.org> <6E69983B-7B42-4F35-B46E-832E7576DBA9@nic.cz>
In-Reply-To: <6E69983B-7B42-4F35-B46E-832E7576DBA9@nic.cz>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.116.152.202]
Content-Type: text/plain; charset="utf-8"
Content-ID: <15A0894DDD70D64D894528D764B77196@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/BpubGwKS9K7Z_n24MG_NRQi5fQw>
Cc: "Rtg-yang-coord@ietf.org" <Rtg-yang-coord@ietf.org>, Thomas Nadeau <tnadeau@lucidvision.com>, Xufeng Liu <xufeng.liu@ericsson.com>, =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>, Anees Shaikh <aashaikh@google.com>
Subject: Re: [Rtg-yang-coord] Operational State Modeling
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: Fri, 15 May 2015 14:37:44 -0000


On 5/15/15, 9:56 AM, "Ladislav Lhotka" <lhotka@nic.cz> wrote:

>
>> On 15 May 2015, at 15:34, Christian Hopps <chopps@chopps.org> wrote:
>> 
>> 
>> Juergen Schoenwaelder writes:
>> 
>>> On Wed, May 13, 2015 at 09:13:37AM -0400, Thomas D. Nadeau wrote:
>>>> 
>>>> 	Speaking as an individual, while what Juergen says is true, that
>>>>does not mean that existing models can never be refactored.
>>>> 
>>> 
>>> Refactoring for the sake of 'it looks nicer' (for some definition of
>>> nice) likely does not meet the bar. We are talking about APIs here
>>> with multiple independent implementations and applications sitting on
>>> top of these APIs.
>> 
>> 
>> Isn't the idea to create a common standard way to access state and
>> config? If so I don't think that qualifies as "it looks nicer", rather
>> it allows for creating generic code one time that works on any model
>> including as yet unwritten ones vs. custom code for each model.
>
>Well, the existing modules do propose a way to access state and config.
>It’s not perfect and perhaps some changes in YANG are needed as well in
>order to better support the interaction of config and state.
>
>However, I agree with Juergen that the arguments presented so far in
>favour of leaf-level duplication aren’t very convincing.

If you look at the existing IGP draft models, the config state is also
present in the operational state so this proposal doesn’t represent
additional leaf nodes - just a change to the organization to place the
config and operational state adjacent to one another in the tree.




> 
>
>Lada
>
>> 
>> Thanks,
>> Chris.
>> 
>> 
>>> 
>>> /js
>> 
>> _______________________________________________
>> Rtg-yang-coord mailing list
>> Rtg-yang-coord@ietf.org
>> https://www.ietf.org/mailman/listinfo/rtg-yang-coord
>
>--
>Ladislav Lhotka, CZ.NIC Labs
>PGP Key ID: E74E8C0C
>
>
>
>