Re: [i2rs] ephemeral RPC?
"Susan Hares" <shares@ndzh.com> Wed, 01 June 2016 11:18 UTC
Return-Path: <shares@ndzh.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 91F4812D0E1 for <i2rs@ietfa.amsl.com>; Wed, 1 Jun 2016 04:18:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.738
X-Spam-Level: *
X-Spam-Status: No, score=1.738 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, RDNS_NONE=0.793] autolearn=no autolearn_force=no
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 QqVsDr1a_NS6 for <i2rs@ietfa.amsl.com>; Wed, 1 Jun 2016 04:18:04 -0700 (PDT)
Received: from hickoryhill-consulting.com (unknown [50.245.122.97]) (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 534D212D17D for <i2rs@ietf.org>; Wed, 1 Jun 2016 04:18:04 -0700 (PDT)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=74.43.47.63;
From: Susan Hares <shares@ndzh.com>
To: 'Joel Halpern Direct' <jmh.direct@joelhalpern.com>, i2rs@ietf.org
References: <ac12ae3a-571d-410e-50bb-cd48d58dea82@joelhalpern.com> <005601d1bb7a$5aacbfd0$10063f70$@ndzh.com> <7147944e-fe4d-4ea2-47af-1264188f426c@joelhalpern.com>
In-Reply-To: <7147944e-fe4d-4ea2-47af-1264188f426c@joelhalpern.com>
Date: Wed, 01 Jun 2016 07:17:58 -0400
Message-ID: <009301d1bbf7$40fa5980$c2ef0c80$@ndzh.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIhcry/DffX1766+S6/UC1Jb9Ue0QFfwZxbAzHogSqfEHmScA==
Content-Language: en-us
X-Authenticated-User: skh@ndzh.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/i2rs/MSgpkpLH7rutx1hmFs2b8Z8AKIk>
Subject: Re: [i2rs] ephemeral RPC?
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: Wed, 01 Jun 2016 11:18:05 -0000
Joel: I am simply stating that I2RS RIB data model is an ephemeral-only data model, and uses an rpc to do rib add/delete, route add/delete, nexthop add/delete. The rpc function must handle ephemeral datastore information. The authors utilized the input capabilities of the rpc. For a ephemeral-only model, it does not matter if the rpc is "ephemeral" or "non-ephemeral". However, in a mixed model (see my example of the bgp-global-config changes), this constraints the functionality. The <get-config> and <edit-config> is a separate function from rpc. The protocol-strawman indicates these need to be changed to handle ephemeral datastore. Sue -----Original Message----- From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Joel Halpern Direct Sent: Tuesday, May 31, 2016 4:27 PM To: Susan Hares; i2rs@ietf.org Subject: Re: [i2rs] ephemeral RPC? This may well be just me leaping to assumptions about function structuring. My apologies for raising a red herring if so. I think this may be following the paradigm in Juergen's draft, where accessing data <get...> and <set...> in different data stores uses different RPCs? Is that your intent? Until I read Juergen's draft, it had never occurred to me that one would do it that way. I had expected that one would perform an operation, and target it at a data store. But if indeed we use different RPCs for the different data stores, then I guess we do need versions of <get...> and <set...> that point at ephemeral. Yours, Joel On 5/31/16 4:23 PM, Susan Hares wrote: > Joel: > > I2RS data model is a ephemeral-only data model, and uses an rpc to do > rib add/delete, route add/delete, nexthop add/delete. Therefore, we > need ephemeral rpc support. > > > Sue > > -----Original Message----- > From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Joel M. Halpern > Sent: Tuesday, May 31, 2016 12:34 PM > To: i2rs@ietf.org > Subject: [i2rs] ephemeral RPC? > > We have agreed that non-ephemeral data must not reference ephemeral data. > > However, we have, up till now, not had the notion of ephemeral RPCs. > I see that the recent ephemeral requirements draft, as a side-effect > of improving clarity, creates the notion of an ephemeral RPC. > > What is an ephemeral RPC, and why do we have it? > We have been, up till now, assuming that we could use normal NetConf > RPCs to set and get the ephemeral information. > > Thank you, > Joel > > _______________________________________________ > 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
- [i2rs] ephemeral RPC? Joel M. Halpern
- Re: [i2rs] ephemeral RPC? Susan Hares
- Re: [i2rs] ephemeral RPC? Joel Halpern Direct
- Re: [i2rs] ephemeral RPC? Jeffrey Haas
- Re: [i2rs] ephemeral RPC? Susan Hares
- Re: [i2rs] ephemeral RPC? Juergen Schoenwaelder
- Re: [i2rs] ephemeral RPC? Susan Hares
- Re: [i2rs] ephemeral RPC? Susan Hares
- Re: [i2rs] ephemeral RPC? Joel M. Halpern
- Re: [i2rs] ephemeral RPC? Joel M. Halpern
- Re: [i2rs] ephemeral RPC? Juergen Schoenwaelder
- Re: [i2rs] ephemeral RPC? Jeffrey Haas