Re: [i2rs] I-D Action: draft-ietf-i2rs-pub-sub-requirements-03.txt

"Eric Voit (evoit)" <evoit@cisco.com> Mon, 05 October 2015 21:22 UTC

Return-Path: <evoit@cisco.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65B7C1B504C for <i2rs@ietfa.amsl.com>; Mon, 5 Oct 2015 14:22:22 -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 lu7Du85iTOBx for <i2rs@ietfa.amsl.com>; Mon, 5 Oct 2015 14:22:20 -0700 (PDT)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67FCD1B504E for <i2rs@ietf.org>; Mon, 5 Oct 2015 14:22:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=5751; q=dns/txt; s=iport; t=1444080140; x=1445289740; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=bWlor6GsE8bPhEeHMidHBAN3x+FlIJpvHLhOKlyar6M=; b=SuZOzk70KfwU3vmCd64spABNH9CPed7fjNNZZgD4OLMapwkxGSxrOSiA rmB8oHHXcROOvTy4iZQZAStI3KQ6QUZt1VyisAHIt26b9GRbnkklLJ3C8 +h9723cdpsr9A757fsQyCxWHMyaBXlelO7wNAKeDQbME019UP3VnaLD8q Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0ACAgAQ6RJW/4oNJK1XB4MnVF8PBr4OAQ2BWhcKhXkCgTg4FAEBAQEBAQGBCoQkAQEBBAEBATc0BAcMBAIBCBUDDAEICRAnCyUCBA4FCIgmDb4VAQEBAQEBAQEBAQEBAQEBAQEBAQEBF4ZzhH6ERR0rBwqEIgWVfAGFFod5gV1Hg3GDI5IxAR8BAUKCER2BVHGGdgccAR+BBgEBAQ
X-IronPort-AV: E=Sophos;i="5.17,640,1437436800"; d="scan'208";a="37842813"
Received: from alln-core-5.cisco.com ([173.36.13.138]) by rcdn-iport-2.cisco.com with ESMTP; 05 Oct 2015 21:22:19 +0000
Received: from XCH-ALN-012.cisco.com (xch-aln-012.cisco.com [173.36.7.22]) by alln-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t95LMJxf027546 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <i2rs@ietf.org>; Mon, 5 Oct 2015 21:22:19 GMT
Received: from xch-aln-013.cisco.com (173.36.7.23) by XCH-ALN-012.cisco.com (173.36.7.22) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 5 Oct 2015 16:22:18 -0500
Received: from xch-aln-013.cisco.com ([173.36.7.23]) by XCH-ALN-013.cisco.com ([173.36.7.23]) with mapi id 15.00.1104.000; Mon, 5 Oct 2015 16:22:18 -0500
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: "Joe Clarke (jclarke)" <jclarke@cisco.com>
Thread-Topic: [i2rs] I-D Action: draft-ietf-i2rs-pub-sub-requirements-03.txt
Thread-Index: AQHQ/48ycRaP9v1R9kGT1i8lPJG2IJ5dW4kw
Date: Mon, 05 Oct 2015 21:22:18 +0000
Message-ID: <f8a6b4a291e54fa2a681d0db1af83a9d@XCH-ALN-013.cisco.com>
References: <20151002190856.30194.1040.idtracker@ietfa.amsl.com> <5612AC63.4020000@cisco.com>
In-Reply-To: <5612AC63.4020000@cisco.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.228]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/i2rs/KSflNJj74vflvmdRhOTWNPr62aI>
Cc: "i2rs@ietf.org" <i2rs@ietf.org>
Subject: Re: [i2rs] I-D Action: draft-ietf-i2rs-pub-sub-requirements-03.txt
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.15
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: Mon, 05 Oct 2015 21:22:22 -0000

Hi Joe,

-----Original Message-----
From: i2rs, October 05, 2015 12:59 PM

I'm reading through the latest draft, and I have a few questions/comments.

In section 3, could the Subscription Service be an external broker? 
Said another way, it reads like the Subscription Service is/could be an external entity.  Is that the case, or will this always be a component of the Publisher?
<Eric> I don't know of any reason why the Subscription Service must be a component of the Publisher.

In section 4.2.2 regarding negotiation, it states that when negotiating QoS, if the Subscription Service is unable to meet the request, it must, "include in its decline a set of criteria that would have been acceptable when the Subscription Request was made."

This got me thinking about future state.  That is, let's say that as of now I negotiate that I can do reaction time of T.  But in an hour, due to other things (maybe higher-priority work) I can only do T plus some factor, X.  The requirements in section 4.2.1 state that a Subscription Service can terminate a Subscription at any time.

And as I read on, Section 4.2.3 describes what happens in the case of a "breach of contract."  Perhaps that paragraph needs to folded in to the Negotiation section:

"When a Subscription Service is not able to send updates per its
    subscription contract, the Subscription must notify subscribers and
    put the subscription into a state of indicating the Subscription was
    suspended by the service.  When able to resume service, subscribers
    need to be notified as well.  If unable to resume service, the
    Subscription Service may terminate the subscription and notify
    Subscribers accordingly."
<Eric> Yes, this is paragraph 3 of Section 4.2.3.   I think you are suggesting we make more robust error/informational codes for a Suspended subscription, including giving parameters which might work to un-suspend.   The Subscriber could then attempt a "Modify Subscription" which would then have a chance to bring things back to "Active".   The hard part is knowing when to send these parameters when a suspension is very temporary due to short during overload conditions.  This will be especially difficult as many subscriptions could be suspended (and modifications synchronized) at the same time due to an transient overload event.

In section 4.2.5, is it needed to say that the mutual authn that exists between Subscriber and Subscription Service take into account the Publisher?  That is, as a Subscriber I would want to ensure that a given Subscription Service is actually providing data from a known, trusted Publisher.  I don't see any mention of Publishers in this section, and I would think there should be some in the case where the Subscription Service could be a broker.
<Eric>  This could be as simple as " Publisher and Subscription Service must maintain a secure relationship".   I have no problem adding that.

I like the fact that you have section 4.2.8.  It goes to the idea of built-in serviceability.  When you say, "fetch" is it envisioned that this data is exposed through another Subscription Service, or will there be other mechanisms to get at this?
<Eric> Why would this need to be a different Subscription Service?  I envisioned the same one.

Eric

Joe

On 10/2/15 15:08, internet-drafts@ietf.org wrote:
>
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>   This draft is a work item of the Interface to the Routing System Working Group of the IETF.
>
>          Title           : Requirements for Subscription to YANG Datastores
>          Authors         : Eric Voit
>                            Alexander Clemm
>                            Alberto Gonzalez Prieto
> 	Filename        : draft-ietf-i2rs-pub-sub-requirements-03.txt
> 	Pages           : 17
> 	Date            : 2015-09-28
>
> Abstract:
>     This document provides requirements for a service that allows client
>     applications to subscribe to updates of a YANG datastore.  Based on
>     criteria negotiated as part of a subscription, updates will be pushed
>     to targeted recipients.  Such a capability eliminates the need for
>     periodic polling of YANG datastores by applications and fills a
>     functional gap in existing YANG transports (i.e.  Netconf and
>     Restconf).  Such a service can be summarized as a "pub/sub" service
>     for YANG datastore updates.  Beyond a set of basic requirements for
>     the service, various refinements are addressed.  These refinements
>     include: periodicity of object updates, filtering out of objects
>     underneath a requested a subtree, and delivery QoS guarantees.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-i2rs-pub-sub-requirements/
>
> There's also a htmlized version available at:
> https://tools.ietf.org/html/draft-ietf-i2rs-pub-sub-requirements-03
>
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=draft-ietf-i2rs-pub-sub-requirements
> -03
>
>
> Please note that it may take a couple of minutes from the time of 
> submission until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> i2rs mailing list
> i2rs@ietf.org
> https://www.ietf.org/mailman/listinfo/i2rs
>

_______________________________________________
i2rs mailing list
i2rs@ietf.org
https://www.ietf.org/mailman/listinfo/i2rs