Re: [Netconf] mbj's WGLC review of subscribed-notifications-16
Andy Bierman <andy@yumaworks.com> Wed, 12 September 2018 20:50 UTC
Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65DEF130DFA for <netconf@ietfa.amsl.com>; Wed, 12 Sep 2018 13:50:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 t8kTq-IVTR5O for <netconf@ietfa.amsl.com>; Wed, 12 Sep 2018 13:50:06 -0700 (PDT)
Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) (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 A45991292F1 for <netconf@ietf.org>; Wed, 12 Sep 2018 13:50:05 -0700 (PDT)
Received: by mail-lf1-x12e.google.com with SMTP id h64-v6so2892287lfi.10 for <netconf@ietf.org>; Wed, 12 Sep 2018 13:50:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qyQu6Q4E0yQ3vbZy55Vx8B6S6/72iGbmlk0Os1ORbWQ=; b=pE2W0ey8CETQT+3cuhpMebAYRhl0IOLEF6S7ifOqsHjLwSckkZkLqhlBFFdUIxToMi Mpg/jTy15unES3oPe0ouYbevmpkVslCsYSKe04q8/x2dkNESfTgcM0aOSu0ZgqK/0aUL LzDCLhQ5xowXAzTwLr06OHKDt1pK+4dav9eBzzB7mJOI4/KtlyTQiHIRDNKFlPEGh5hA Y7wdlxJOZqaQXwtrJgFhuXSsGXh95TqEsY7ZjXtVaPtRTaancBbLQtPir12P0CHyF9Vr SpH4b3WuDsYCFc83lGEaYIVbUV7H3WFC6HifXpCUnA5qbZ/rZ7rEwkcig4NSSQA671G8 Rrig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qyQu6Q4E0yQ3vbZy55Vx8B6S6/72iGbmlk0Os1ORbWQ=; b=V2FPrXgaMrJqRK3egHu5A+JwXejeUQUfX77Hvzzs4BAukaR8mgoqCNhKnEArnj6ejE LLJQyo/JX1w17bGi8jP57LeY9hjdpkhxQxxQ3fn0q2GP8KR/J2Q9pM8oVF/TSMl4Vi+5 IFp5r1cfrhoCrq9C7y8X9Nv1u0wXutBpbx45pwhHn48PFD/13+zg2rVGfat66vDJhvyN 4kAdV+O3jBwgHLrYqyhZZV+BqZuSMfTfYEZOUONEfEyDae/Gtu1TCGtRPNLA4UG8I5jg K2L/WfRhV7x7K2uOjQfec0Z3xef/7o6y9tu1H/HLNHo7AYP4/IO7/PnAxw80lgJidL1C ysdg==
X-Gm-Message-State: APzg51DSZHEa+mcF4dm5ZateEAKTNvZFajobimc7PME3fJyePjbnXK9L vbN4WQ3isIqftjOgSCMyYZ0fRGp3cnh6M0HTAZdWKQ==
X-Google-Smtp-Source: ANB0VdZh9ydSOrqurbe8yNpngAsV31PFbDt0d9sNuNqs/Kvt+VsYOCFZPG65oy03yph5k8vQ2KjmzQe4++6EY4k2vJs=
X-Received: by 2002:a19:2d16:: with SMTP id k22-v6mr2708223lfj.67.1536785403549; Wed, 12 Sep 2018 13:50:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a19:48c9:0:0:0:0:0 with HTTP; Wed, 12 Sep 2018 13:50:02 -0700 (PDT)
In-Reply-To: <20180912.220805.1931099349419935246.mbj@tail-f.com>
References: <20180912.113446.2017030234338816835.mbj@tail-f.com> <013a970e210d4b9693116818f3d5688e@XCH-RTP-013.cisco.com> <CABCOCHQjpcRjjqYOyPKMkr0GVgZ-TWDnivjCduqj60FtZLM+AQ@mail.gmail.com> <20180912.220805.1931099349419935246.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 12 Sep 2018 13:50:02 -0700
Message-ID: <CABCOCHQ9Pqon8b=ehf-OBOdxvv62TsZY35qwNbMtjx+VdzaVWg@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: "Eric Voit (evoit)" <evoit=40cisco.com@dmarc.ietf.org>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000001331570575b2bc61"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/_BL4j1RwohbKFlDBvCGpeM9TXQk>
Subject: Re: [Netconf] mbj's WGLC review of subscribed-notifications-16
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Sep 2018 20:50:12 -0000
On Wed, Sep 12, 2018 at 1:08 PM, Martin Bjorklund <mbj@tail-f.com> wrote: > Andy Bierman <andy@yumaworks.com> wrote: > > On Wed, Sep 12, 2018 at 11:35 AM, Eric Voit (evoit) < > > evoit=40cisco.com@dmarc.ietf.org> wrote: > > > > > Hi Martin, > > > > > > Much incorporated. Latest is at: > > > https://github.com/netconf-wg/rfc5277bis/blob/master/draft- > > > ietf-netconf-subscribed-notifications-17.txt > > > > > > Specific responses in-line... > > > > > > > From: Martin Bjorklund, September 12, 2018 5:35 AM > > > > > > > > "Eric Voit (evoit)" <evoit@cisco.com> wrote: > > > > > Thanks for the comments Martin, thoughts in-line... > > > > > > > > > > > From: Martin Bjorklund, September 10, 2018 1:42 PM > > > > > > > > [...] > > > > > > > > > > o Section 2.1 > > > > > > > > > > > > The text says: > > > > > > > > > > > > It is out of the scope of this document > > > > > > to identify [...] b) how event records are defined > > > > > > > > > > > > Is this really what we want? Shouldn't this document specify > that > > > > > > an event record is an instance of a YANG "notification" > statement? > > > > > > Do we want to support event records that are not defined in > YANG? > > > > > > > > > > > > This was discussed in the thread "comments on > > > > > > draft-ietf-netconf-subscribed-notifications-12", and it seems > that > > > > > > noone really have any use case for non-YANG-defined event > records, > > > > > > accessed with YANG-defined operations. > > > > > > > > > > Yes this was discussed previously. My reading was that others > wanted > > > > > to support subscription to non-YANG events. > > > > > E.g., see Andy & Tianran's thoughts in > > > > > https://www.ietf.org/mail-archive/web/netconf/current/ > msg14764.html > > > > > > > > Yes, but read on in that thread, see > > > > https://www.ietf.org/mail-archive/web/netconf/current/msg14766.html > > > > for a clarification. > > > > > > > > AFAIK, noone has presented a use case for sending non-YANG-defined > data > > > > here. > > > > > > As anything can be YANG wrapped, per the thread above. I am fine with > > > this. > > > > > > > > > I think my concern was simply that I take notice any time anyone > > uses the term MUST in an I-D. I ask myself "What harm to > interoperability > > will result if this MUST is not followed? If I cannot think of anything > > (as in this case) then MUST is probably a SHOULD instead. > > As I wrote earlier in the thread, if this is supposed to work with any > (or just other?) DMLs, I think the document has to be explain how it > is supposed to work, and describe the requirements for such a DML. > > One thing that would harm interoperability is the requirement to be > able to use multiple encodings; today both XML and JSON are defined, > maybe there will be more in the future. > > > The use-case I have in mind -- protobuffs -- I don't see why it is > > important to > > require a YANG module for every .proto file. Even worse, why is the > > subscription draft making this requirement? > > Can you describe this use case? The SN doc simply says that the event > records that you can subscribe to and filter and apply NACM rules to > are defined using YANG's "notification" statement. > > I don't have any real objection to the requirement, since it is unenforceable anyway. One can easily construct a YANG model using an empty container or "anydata" as a wrapper. > > /martin > > Andy > > > > > > Andy > > > > > > > > > > > > I think that this document should state that an event record > is an > > > > > > instance of a YANG "notification" statement. If not, it is > unclear > > > > > > both how subtree/xpath filters and xml/json/... encodings would > > > work. > > > > > > > > > > Applying xpath filters against XML based event records seems > viable to > > > > > me. > > > > > > > > Where does it say that it has to be XML? Whatabout mixed-content? > > > > What if such a notification is sent when the encoding is JSON? > > > > > > > > If you want to make this specification open for other data modeling > > > languages, > > > > I think you need to carefully define how that is supposed to work; > > > essentially > > > > similar to how we handle transports; we have a set of requirement on > > > what a > > > > transport document must define. IMO this is super complicated and > > > overkill. > > > > This draft is complex enough. > > > > Don't add even more complexity. > > > > > > If you are just saying that we can put everything into a YANG wrapper, > > > that is fine with me. To clarify this, I have tweaked the first > sentence > > > of Section 2.1 to: > > > "An event stream is a named entity on a publisher which exposes a > > > continuously updating set of YANG encoded event records." > > > > > > And I have tweaked the first sentence of the third paragraph to: > > > "As YANG encoded event records are created by a system,..." > > > > > > > > Of course it will be up to the definition of any particular stream > to > > > > > articulate the event record contents sufficiently for filters to be > > > > > created. > > > > > > > > > > > o Section 2.1 > > > > > > > > > > > > The text says: > > > > > > > > > > > > Among > > > > > > these included NETCONF XML event records are individual YANG > 1.1 > > > > > > notifications described in section 7.16 of [RFC7950]. > > > > > > > > > > > > First of all, does this mean that there can be event records > on the > > > > > > "NETCONF" stream that are *not* defined with a "notification" > > > > > > statement? > > > > > > > > > > For the NETCONF stream, personally I only care about things YANG > > > > > notification statement. But looking again at Andy's comment from: > > > > > https://www.ietf.org/mail-archive/web/netconf/current/ > msg14764.html > > > > > he says "I would say SHOULD be defined in YANG, for the "NETCONF" > > > > > stream." > > > > > > > > I strongly disagree. > > > > > > > > > So for -v16 I updated the text in a way that doesn't preclude this. > > > > > > > > See above. If all events records are defined in YANG we can remove > this. > > > > > > Per above, I have included text above so that YANG encapsulation is > > > required. I think YANG Data should be an allowable structure (so I > didn't > > > specify just a "Notification"). If you think that YANG Data should be > > > excluded from the allowed event records. I can refine the words. > > > > > > > > > Second, this seems to imply that *all* notifications defined > in all > > > > > > YANG modules end up in the "NETCONF" stream, but I don't think > this > > > > > > is the intention. At least I hope so. ("yp:push-update" is an > > > > > > example of a notification that will not be sent on the > "NETCONF" > > > > > > stream.) > > > > > > > > > > The NETCONF stream has a very broad/inclusive definition in > RFC-5277. > > > > > This definition is: "This stream contains all NETCONF XML event > > > > > notifications supported by the NETCONF server". > > > > > > > > This is very underspecified. IIRC the original intention was > > > notifications related > > > > to NETCONF, hence "*NETCONF* XML event notifications". > > > > > > > > > To me, thinking about how that statement and applying it to YANG, > this > > > > > translates as YANG 1.1 notifications should go into the NETCONF > > > > > stream, unless explicitly excluded. > > > > > > > > I disagree. This is not how 5277 works. Until we have worked out a > > > useful way > > > > to assign notifications to streams, we shouldn't restrict anything in > > > this regard. > > > > > > Ok. Effectively we are naming the stream NETCONF without improving the > > > definition of what membership in that stream should be. And that is > fine. > > > As people seem to understand what this is supposed to be, I will > return to > > > the original definition. See text, and let me know if you have issues. > > > > > > > > This provides a very simple way > > > > > determining which types of notifications should be placed on the > > > > > stream. (Otherwise, how is a developer of a YANG notification > > > > > supposed to know whether it should go into the NETCONF stream or > not? > > > > > > > > They don't. But note that it might be an operator decision for how > to > > > assign > > > > notifications to streams. > > > > > > Ok. A stream membership definition is out-of-scope for all other > streams, > > > we can leave it this way for the "NETCONF" stream. Someone else can > pick > > > up and define this in another draft the WG feels it necessary. > > > > > > > > The alternative would seem to be having each notification opt-in to > > > > > the NETCONF stream.) > > > > > > > > > > So if you agree with this reasoning, how about: > > > > > > > > > > The "NETCONF" event stream contains all instances of YANG 1.1 > > > > > notifications generated by a publisher, except where a type of > > > > > notification has explicitly been excluded from the stream. > > > > > > > > I think that this document should keep the definition of the NETCONF > > > stream as > > > > defined in RFC 5277. > > > > > > Ok > > > > > > > Also, I think it should state that an event record is an > instantiation > > > of a YANG > > > > "notification" statement (any version of YANG). > > > > > > What about a YANG Data? (Per above) > > > > > > > [...] > > > > > > > > > > o Section 2.4.2 > > > > > > > > > > > > The text says: > > > > > > > > > > > > The transport selected by the subscriber > > > > > > to reach the publisher MUST be able to support multiple > > > "establish- > > > > > > subscription" requests made within the same transport > session. > > > > > > > > > > > > This seems to indicate that RESTCONF cannot be used with this > > > > > > specification, since RESTCONF doesn't have sessions. > > > > > > > > > > The desired behavior is that a subscriber can request multiple > > > > > subscriptions without each requiring a separate transport session > > > > > establishment. I think we are ok here with RESTCONF because > > > > > underneath RESTCONF is HTTP, TLS, TCP. And each of those lower > layers > > > > > can have sessions. > > > > > > > > > > To clarify further, I have tweaked the text to: > > > > > > > > > > "The transport selected by the subscriber to reach the publisher > MUST > > > > > be able to support multiple "establish-subscription" requests > without > > > > > each requiring a separate persistent transport connection." > > > > > > > > > > > This makes me wonder, why does this document specify this > > > > > > requirement? I agree that this is the behaviour we want from > > > > > > NETCONF, but then I think that should be defined in the > > > > > > netconf-notif draft. > > > > > > > > > > By saying something in SN about this requirement, I believe we can > > > > > preclude an implementation which can only support one subscription > per > > > > > subscriber. In any case, the specific "how" details will still > need > > > > > to be articulated in each transport draft. > > > > > > > > I think you are mixing the specification and implementation. If a > > > transport > > > > document says that an implemention MUST support multiple > subscriptions > > > per > > > > session (in a transport-specific way), then an implementation cannot > just > > > > support a sinlge subscription. > > > > > > > > My point is that this a transport-specific requirement, and it > doesn't > > > belong in > > > > this document. > > > > > > I can see why you don't see it applicable to Section 2.4.2. However > > > Section 5.3 provides guidelines for transport document developers > (this is > > > a section Kent requested.) And so I have moved the requirement > there. Is > > > that sufficient. > > > > > > > > > o Section 2.4.2 > > > > > > > > > > > > s/"start-time"/"replay-start-time"/ (3 occurrences) > > > > > > > > > > Fixed > > > > > > > > > > > Also, the text says that the replay-start-time MUST be in the > past. > > > > > > > > > > > > Suppose the server receives a "replay-start-time" of > 12:00:00.001, > > > > > > and the replay buffer is empty. > > > > > > > > > > > > A) If the current time is 12:00:00.002, the request is > accepted, > > > and > > > > > > a "replay-completed" notif is sent. > > > > > > > > > > > > B) If the current time is 12:00:00.000, the request is rejected > > > with > > > > > > an error. > > > > > > > > > > > > Why is this important? Why not simply just send the > > > > > > replay-completed notif in both cases? > > > > > > > > > > For (B), if an event occurs at 12:00:00.0005, should it be sent? > > > > > Should it be sent before or after the "replay-start-time"? How > long > > > > > should we allow the clocks to drift before we reject the > subscription? > > > > > As we don't support future/pending subscriptions, we don't have to > > > > > worry about these questions with the current definition. > > > > > > > > I would simply say that if the replay-start-time is later than any > > > buffered notif, > > > > then "replay-complete" is immediately sent. It dont' > > > > matter if it is one microsecond or one year later. > > > > > > Tweaked the sentence: > > > > > > "If the given "replay-start-time" is later than the time marked within > any > > > event records retained within the replay buffer, then the publisher > MUST > > > send a "replay-completed" notification immediately after a successful > > > establish-subscription RPC response." > > > > > > > The problem otherwise is how to decide if something is "in the past". > > > > In the past when the client sent the request? When the server parsed > > > the XML? > > > > When the instrumentation code runs? > > > > > > > > But this is not a big issue. > > > > > > Hopefully with the tweak, we can leave it as modified. > > > > > > [..] > > > > > > o Section 2.4.6 > > > > > > > > > > > > The text says: > > > > > > > > > > > > 1. "establish-subscription-stream-error-info": This MUST be > > > returned > > > > > > if an RPC error reason has not been placed elsewhere > within > > > the > > > > > > transport portion of a failed "establish-subscription" > RPC > > > > > > response. > > > > > > > > > > > > (and similar for the other errors) > > > > > > > > > > > > What exactly does "if an RPC error reason has not been placed > > > > > > elsewhere" mean? > > > > > > > > > > The intent is to match how NETCONF & RESTCONF historically handles > > > > > errors. As you know with NETCONF, each error identity will be > > > > > inserted as the "error-app-tag". > > > > > > > > It could also be in "error-tag" and/or "error-message". My point is > > > that I don't > > > > think that you mean that if an implementation populate say > > > "error-message", > > > > then it should not popluate error-info with > > > establish-subscription-stream- > > > > error-info. > > > > > > I do mean that. I don't think we should send: "establish-subscription- > stream-error-info" > > > for NETCONF when there is no hint included. All the necessary error > info > > > is already in the existing message. > > > > > > > > And therefore placing the YANG data > > > > > "establish-subscription-stream-error-info" would be redundant. > For > > > > > NETCONF, "establish-subscription-stream-error-info" are only > needed > > > > > when hints to be provided. > > > > > > > > > > Therefore assuming you are looking for an alternative way to make > this > > > > > point, I have tweaked the text to: > > > > > "This MUST be returned if an RPC error reason has not been mapped > down > > > > > into transport specific error objects contained within a failed > > > > > "establish-subscription" RPC response." > > > > > > > > Howabout simply removing this sentence? > > > > > > Done > > > > > > > > > o Section 2.5.1 > > > > > > > > > > > > In the second diagram (for the valid state), the states are > called > > > > > > "receiver connecting", "reciever timeout" etc. I find this a > bit > > > > > > confusing; it is not the *receiver* that is connecting, it is > the > > > > > > publisher. Ok, the legend then says: > > > > > > > > > > > > dashed boxes which include the word 'receiver' show the > possible > > > > > > states for an individual receiver > > > > > > > > > > > > But since all dashed boxes include the word "receiver", and the > > > > > > diagram specifically is the state machine *per receiver*, maybe > we > > > > > > can simply remove the word "receiver" from the boxes? > > > > > > > > > > There have been some discussions on this. I agree it is certainly > > > > > valid to remove "receiver" from these four boxes. However I have > > > > > found that getting readers to really internalize that the state > > > > > machine is actually per-receiver rather than per-subscription, it > > > > > seems to go faster/cleaner when receiver is shown in the four > boxes. > > > > > > > > > > Nevertheless, if you absolutely want "receiver" removed from the > > > > > boxes, I can do that. > > > > > > > > Maybe you can remove receiver from the individual boxes and then > change > > > the > > > > word "valid" from the outer box to "per-receiver state machine"? > > > > > > > > Or maybe remove the outer box and add a Figure title: 'per-receiver > state > > > > machine for the subscription's "valid" state' > > > > > > > > Also not a big deal, but I found it confusing. > > > > > > All are viable. But I have found the current diagram useable. Do you > have > > > a major issue if we leave it as it is? > > > > > > > [...] > > > > > > > > > > o Section 2.5.6 > > > > > > > > > > > > I know that this feature was presented in Montreal. I think > it is > > > > > > problematic, and suggest it is removed. > > > > > > > > > > This issue was discussed in Montreal. The feature is of course is > > > > > optional. There are a large number of downsides for someone who > > > > > chooses not to implement for certain use cases. Please see the > > > > > Montreal slides and the long threads with Kent for more details. > > > > > > > > I did watch the Montreal session, but I didn't see any discussion on > > > > this issue (just your presentation). Can you send a pointer to the > > > > email thread with Kent? > > > > > > Some minutes on the topic can be seen at: > > > https://datatracker.ietf.org/doc/minutes-102-netconf/ > > > With the WG vote in Montreal, I would love not to re-open. > > > > > > The previous exchange was long. Some items include: > > > https://www.ietf.org/mail-archive/web/netconf/current/msg14575.html > > > https://www.ietf.org/mail-archive/web/netconf/current/msg14902.html > > > > > > > > If > > > > > you want to pursue this further it is probably best to start a new > > > > > thread dedicated to this topic alone. > > > > > > > > > > > For example, what happens if the transport session is lost and > > > > > > re-established; are all event records in the buffer replayed > again? > > > > > > > > > > No. The publisher will not lose context of what was sent. > > > > > > > > This is not clear from the text. In fact, the text explicitly says: > > > > > > > > The leading event record sent will be the first event record > > > > subsequent to the latest of three different times: the > > > > "replay-log-creation-time", "replay-log-aged- time", or the most > > > > recent publisher boot time. > > > > > > I see your point. I have tweaked the text to: > > > > > > " If the publisher does not know the next record intended for the > > > receiver, the leading event record..." > > > > > > I have also made a corresponding tweak to the YANG model. > > > > > > > > > What happens if a new receiver is added to a subscription that > > > > > > already has a receiver, will all events in the buffer be > replayed > > > to > > > > > > the new receiver? > > > > > > > > > > Yes. (To clarify, I added "to each configured receiver" at the > end of > > > > > the last sentence of the first paragraph.) > > > > > > > > > > > When a new subscription is configured with configured-replay > set, > > > > > > the publisher will immediately try to connect to the publisher > and > > > > > > send all buffered event from the last reboot. Is this really > > > > > > useful? > > > > > > > > > > Yes. See the security cases reviewed on the earlier threads with > > > > > Kent. If someone doesn't care about log entries since boot, they > > > > > simply don't have to implement this optional feature. > > > > > > > > > > > If the mechansim relies on the subscriber being able to also > use > > > > > > dynamic subscriptions for replay of all event records, maybe we > > > > > > could simplify things by always relying on dynamic > subscriptions > > > for > > > > > > replay for configured subscriptions. Specifically, remove > > > > > > "configured-replay" etc, but keep the > "replay-previous-event-time" > > > > > > in the "subscription-started" notification. Then a subscriber > can > > > > > > simply check this value to see if anything is missing, and if > it > > > is, > > > > > > use a dynamic subscription to request replay from the latest > time > > > he > > > > > > knows about. > > > > > > > > > > This is a valid approach, and can be used as an alternative to this > > > > > optional feature. However there are still many downsides to the > > > > > alternative. See the slides from Montreal, as well as the previous > > > > > thread discussions for details. > > > > > > > > > > > o Section 2.6 > > > > > > > > > > > > It just occurred to me that this text about using the > > > <notification> > > > > > > message shouldn't be in this document, but in the netconf-notif > > > (and > > > > > > restconf-notif) document. It is highly transport and encoding > > > > > > specific. > > > > > > > > > > I think you are referring to both the sentence: "This notification > > > > > message MUST be encoded in a <notification> message as defined > within > > > > > [RFC5277], Section 4. And per [RFC5277]'s "eventTime" object > > > > > definition, the "eventTime" is populated with the event occurrence > > > > > time." As well as to the example compliant message in Figure 10. > > > > > > > > > > While the text could be extracted and placed in the netconf-notif > > > > > document, extracting it fully from SN would leave no baseline > message > > > > > format. > > > > > > > > Things like this are inevitable when you have a transport-independent > > > > specification. Of course, you can require that all transports MUST > use > > > the 5277 > > > > spec of a notification. But then I think you rule out transports > like > > > CoMI and > > > > possibly other future binary protocols. > > > > > > Ok, I am fine with the move. I have moved the identified text to > > > NETCONF-Notif. (Actually the text was already there too. So I just > > > tweaked it.) > > > > > > Thanks, > > > Eric > > > > > > > > Perhaps others will have a problem if the SN solution does not have > > > > > some pre-defined structure to hold event records? > > > > > > > > > > I can move this if I hear no objection. As you know, I am hoping > that > > > > > draft-ietf-netconf-notification-messages at some point displaces > the > > > > > <notification> message of [RFC5277], Section 4. And this is > easier to > > > > > do with fewer references to RFC5277 within SN. > > > > > > > > [...] > > > > /martin > > > > > > _______________________________________________ > > > Netconf mailing list > > > Netconf@ietf.org > > > https://www.ietf.org/mailman/listinfo/netconf > > > >
- [Netconf] mbj's WGLC review of subscribed-notific… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Andy Bierman
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Andy Bierman
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Reshad Rahman (rrahman)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Martin Bjorklund
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)
- Re: [Netconf] mbj's WGLC review of subscribed-not… Eric Voit (evoit)