Re: [i2rs] Review of draft-ietf-i2rs-ephemeral-state-11

"Eric Voit (evoit)" <evoit@cisco.com> Thu, 30 June 2016 19:55 UTC

Return-Path: <evoit@cisco.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C992612D610 for <i2rs@ietfa.amsl.com>; Thu, 30 Jun 2016 12:55:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.936
X-Spam-Level:
X-Spam-Status: No, score=-15.936 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 tl40saKlHrCn for <i2rs@ietfa.amsl.com>; Thu, 30 Jun 2016 12:55:11 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2C32D12D5FD for <i2rs@ietf.org>; Thu, 30 Jun 2016 12:55:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=31232; q=dns/txt; s=iport; t=1467316511; x=1468526111; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=iYWQs/irOLdF4Yc0+YIY501Z05b2aQdc51BGU8ljHKA=; b=J9UNxbhFDKhIT/3jA77gbK1+Uss4/CahOnt7WEl+OhhnWesEEsY75l5C 6FLjihZ9NJm6Kwa0uuSHSQB2fH2EwzIopQDmpz6TpHvJ/0+YB+Vj4N1Yl HXxkXduw44fiFrsbNcEDXp5SWX4qx9LAB4konUSV9LPhzvlrSTdr2eGqN k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AMAgDSd3VX/5ldJa1bgnBOVn0GuUeBfIYXAhyBIDgUAQEBAQEBAWUnhEwBAQEEIwpBBgUQAgEGAg4DBAEBDhMHAwICAjAUCQgCBA4FCIgollydHZAVAQEBAQEBAQEBAQEBAQEBAQEBAQEBHIYohE2EdoJLgloFk1WFNgGOOYFxjUCGVYkvAR42gggcgUxuiEJ/AQEB
X-IronPort-AV: E=Sophos;i="5.26,553,1459814400"; d="scan'208,217";a="120874918"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Jun 2016 19:55:10 +0000
Received: from XCH-RTP-012.cisco.com (xch-rtp-012.cisco.com [64.101.220.152]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u5UJt9QH020674 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 30 Jun 2016 19:55:10 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-012.cisco.com (64.101.220.152) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 30 Jun 2016 15:55:08 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1210.000; Thu, 30 Jun 2016 15:55:08 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: Susan Hares <shares@ndzh.com>
Thread-Topic: [i2rs] Review of draft-ietf-i2rs-ephemeral-state-11
Thread-Index: AQLFTksMOMokz5ko+uSOkEHfh/xdsgG0QEYAApbOvHWd+OppIIAAAQ+ggABpPgD//73JsIAAS8aA//+/NIA=
Date: Thu, 30 Jun 2016 19:55:08 +0000
Message-ID: <cbf009f25e624ced9755a2dfaedb8c8a@XCH-RTP-013.cisco.com>
References: <4f70e94d-f73b-73a7-c41b-9ab5ffeeda6f@cisco.com> <4a5201d1d2ea$9eef05e0$dccd11a0$@ndzh.com> <33da1b11-f55a-b1ac-2b44-d376ccf4dd9f@cisco.com> <4acf01d1d2f0$09221e70$1b665b50$@ndzh.com> <da139b3fdb4a4b54950459e810fcbb7b@XCH-RTP-013.cisco.com> <4b7901d1d303$5bacf800$1306e800$@ndzh.com> <cb124be31a094f10b50fbdd219323ae2@XCH-RTP-013.cisco.com> <4be601d1d308$23b923b0$6b2b6b10$@ndzh.com>
In-Reply-To: <4be601d1d308$23b923b0$6b2b6b10$@ndzh.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.231]
Content-Type: multipart/alternative; boundary="_000_cbf009f25e624ced9755a2dfaedb8c8aXCHRTP013ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/OQJiN30y_iKiT2ldxiRoy5wnLFU>
Cc: "i2rs@ietf.org" <i2rs@ietf.org>
Subject: Re: [i2rs] Review of draft-ietf-i2rs-ephemeral-state-11
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jun 2016 19:55:14 -0000

Works for  me

Eric:

For version -13, the following  changes will be made:

   Pub-Sub-REQ-01: The Subscription Service MUST support
   subscriptions against ephemeral state in operational data stores, configuration data stores or both.

   Pub-Sub-REQ-02: The Subscription Service MUST support filtering
   so that subscribed updates under a target node might publish only
   ephemeral state in operational data or configuration data, or publish both
   ephemeral and operational data.


Ephemeral-REQ-12:
Will have the following text after it

   Note:RESTCONF and NETCONF posts can come in concurrently from alternative sources
   (see  ETag in <xref target="draft-ietf-netconf-restconf"></xref> section 3.4.1.2 usage).
   Therefore the collision detection and comparison of priority needs to occur both
   for both type of updates (POST or edit-config) at the point of comparison.

Does this resolve your comments?

Sue

From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Eric Voit (evoit)
Sent: Thursday, June 30, 2016 3:38 PM
To: Susan Hares
Cc: i2rs@ietf.org<mailto:i2rs@ietf.org>
Subject: Re: [i2rs] Review of draft-ietf-i2rs-ephemeral-state-11

From: Susan Hares, June 30, 2016 3:13 PM
Eric:

Thank you for your comments:  See comments below.

Sue

From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Eric Voit (evoit)
Sent: Thursday, June 30, 2016 2:52 PM
To: Susan Hares
Cc: i2rs@ietf.org<mailto:i2rs@ietf.org>
Subject: Re: [i2rs] Review of draft-ietf-i2rs-ephemeral-state-11


>Comment #2
>Isn’t all data in Operational data stores ephemeral?  I see the mailing list discussions on this terminology topic for the requirements earlier in the document.  This is where you said: “Ephemeral state is defined as "ephemeral configuration state" and operational state.”  But the >terminology fix doesn’t seem to have made it down here.
Sue: We thought this was more specific.  I can change it to “Ephemeral state”.
Eric: consistency with higher requirements makes sense.


Pub-Sub-REQ-02:
Comment #3:
>Building off Comment #2, is there such a thing as Ephemeral data in Operational data?  Or are you talking filtering so that only changes in Operational data are sent.   I believe you are intending the second.   In that case there might need to be special types of filters >needed.  Filters such as a count of the number of objects under a tree (e.g., number of routes), or range based filters for an operational value.

Sue: We have ephemeral data models with operational state.  Technically, the data is both ephemeral (under an ephemeral model) and operational state.   The difficulty is that this conflicts with some data models.
Eric: I understand now.   As an aside comment, the types of filtering needed will be varied and complex.  They will need to be specified later, and should directly correspond with the filters which we need to support via in draft-ietf-netconf-yang-push.

Section 2, Bullets 5 & 9 and Section 7:
>Priority Collision.  Could you explicitly say when the priority of one write will prevent a lower priority write from occurring?  Is it the completion of and response to some POST?  I don’t know what time-of-use means.
>
In RESTCONF,  the updating process will check the priority of the existing write.  This check will occur at least the completion of the POST for an over-write of an existing post.  Since the RESTCONF posts are not simultaneous (but rather 1 at a time), the check will occur a single write.
In NETCONF, this will be at edit-config stage. Both of these stages were defined as “time of use” – because it was when the update was to occur.

Eric: I think it is possible that RESTCONF and NETCONF posts can come in concurrently from alternative sources.  I think detecting this is one of the purposes of ETag in draft-ietf-netconf-restconf-13 section 3.4.1.2.   It might be worth have the requirement state that priority must be considered for both completed ephemeral posts, as well as posts in progress.

/Eric

Do you have an alternate suggestion?

Eric