Re: [netmod] comments on revised-datastores-00
Andy Bierman <andy@yumaworks.com> Mon, 14 November 2016 21:42 UTC
Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 113B512941A for <netmod@ietfa.amsl.com>; Mon, 14 Nov 2016 13:42:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 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] 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 TxkACYTjxJvW for <netmod@ietfa.amsl.com>; Mon, 14 Nov 2016 13:42:19 -0800 (PST)
Received: from mail-ua0-x22d.google.com (mail-ua0-x22d.google.com [IPv6:2607:f8b0:400c:c08::22d]) (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 9A70012946C for <netmod@ietf.org>; Mon, 14 Nov 2016 13:42:19 -0800 (PST)
Received: by mail-ua0-x22d.google.com with SMTP id 12so73556700uas.2 for <netmod@ietf.org>; Mon, 14 Nov 2016 13:42:19 -0800 (PST)
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=c1cyz1YMOAiLQVp2jlLZ5Jd4ySXPtuty4eVb2kTmUYA=; b=Mv7xL08YLpK8qazSUkTinWNmxHQ+arHhtWmTzLXAbFRL9Sz0LRKo9MxsuaKqPv4uqg h5YCUuiSUzJvJQ1H0jwh5NEA/L5yuwOmq42+FHBwJ8UAkZua41g+FKGyZrCBWvcpVJLW LSufs8GqQbSLiXjQOXba2x94/zYbRefUTso4lf+Tk2xqLXo+Uxa29P/yrKmCgLtzLyeW 3/4lp9jWDomLXRi4VBYYmEb/Gzhb2i0oqFjvhqwRXc9571EZAtbogSSqzSCwtQara/S4 Rf+4CljcAQXC8m6VNp67ofNStJXT4gwVjmPyPSbgrUnGlM9YSVPrljTTMfaZKSApDjuF rYyw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=c1cyz1YMOAiLQVp2jlLZ5Jd4ySXPtuty4eVb2kTmUYA=; b=PWXOyeqmnAqWzNce32hc3icAYs4uv1Gh+1h/n/0hdxaM682+eI7aUkepLOaFPzOfpg 56LO6DAOhEBZF7Hzjv8CrQFOWO9HdWelLs7lebsnUu80TayHGCl+ScGuhHpDmukrnPM3 aE1cZ2GPvlUatWz8cB8JNqMyLfdxGCnXh0zkBY8i0rSXl3yGgrb84H4IIuaeHIjM8d2U QDLSIxOenzZRsqqK1Gv96d1eA2VzSrAithlct3zBp4YLCD5fZk+uyQ/tGCbinD2VgK5C CDz1Dl75xlp+CHpqYGEWexH1KNL81VEfPlqUduUH1d5Wu3VvRGJiufXqfj5RVgS6dGrl TWgA==
X-Gm-Message-State: ABUngvf7oZEiLLAlNRmZpTAOQkGcZyglWMg8B4vQejKHZ95JRLgYHW1eK6KxnJehcPEkZfSNNMQD9mVQTDzqFA==
X-Received: by 10.176.1.112 with SMTP id 103mr9281367uak.154.1479159738699; Mon, 14 Nov 2016 13:42:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.103.64.129 with HTTP; Mon, 14 Nov 2016 13:42:18 -0800 (PST)
In-Reply-To: <20161114.221032.493268666299851173.mbj@tail-f.com>
References: <m2zil2er5j.fsf@dhcp-8ee8.meeting.ietf.org> <20161114094210.GA45946@elstar.local> <002801d23eae$de9bf4c0$9bd3de40$@ndzh.com> <20161114.221032.493268666299851173.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Mon, 14 Nov 2016 13:42:18 -0800
Message-ID: <CABCOCHQzGWqrAeXEAh3PWixkMsLP7dnciAG2Wm=-7SKu-dGWRA@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Content-Type: multipart/alternative; boundary="001a113e2b58caa816054149b65c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/oZQrxYOPJjabWPYwjK_NB44lnm8>
Cc: "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [netmod] comments on revised-datastores-00
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Nov 2016 21:42:22 -0000
Hi,
How do the YANG validation rules for datastores apply to this new framework?
The YANG RFC just refers to a 'valid' datastore. Is validation ever done
on the 'intended' datastore, or just 'running' (what we have now).
The framework you propose seems reasonable but the real issues show
up in the protocol interaction model(s) that are out of scope for this
draft.
Each datastore (running, intended, applied) can all be different, they can
all be YANG-valid, but I;m not sure that buys anything. It seems
complicated
to determine that my specific edit is applied yet, while there are many
writers to the data subtrees.
Andy
On Mon, Nov 14, 2016 at 1:10 PM, Martin Bjorklund <mbj@tail-f.com> wrote:
> Hi,
>
> "Susan Hares" <shares@ndzh.com> wrote:
> > Juergen and Lada:
> >
> > #2 - is interesting to me. Is dynamic configuration protocol = I2RS? Or
> > control-plane protocols = I2RS?
>
> Details tbd, but this architecture allows for a new kind of datastore
> ("control-plane datastore") which could be defined for i2rs.
>
> > On #5 - how do you merge I2RS RIB static routes + routing-configuration
> rib
> > routes?
>
> That is not covered by this architecture. It has to be defined in i2rs.
>
> > Can you see the difference in the applied configuration?
>
> You can see the result in the applied configuration, and you can see
> the statically configured routes in <intended> and the i2rs-defined
> routes in the-new-i2rs-datastore.
>
>
> /martin
>
>
> >
> > Thanks,
> >
> > Sue
> >
> > -----Original Message-----
> > From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of Juergen
> > Schoenwaelder
> > Sent: Monday, November 14, 2016 4:42 AM
> > To: Ladislav Lhotka
> > Cc: netmod@ietf.org
> > Subject: Re: [netmod] comments on revised-datastores-00
> >
> > On Mon, Nov 14, 2016 at 11:23:04AM +0900, Ladislav Lhotka wrote:
> > > Hi,
> > >
> > > I've read the revised-datastores-00 document, in general I like it,
> > > here are my initial comments and questions:
> > >
> > > 1. Even if <intended> is valid, it can still be in conflict with the
> > > actual content of <applied> that may come from e.g. dynamic
> > > configuration protocols. How are such cases supposed to be resolved?
> >
> > Yes. The whole idea is to expose these potential differences instead of
> > hiding them behind a curtain.
> >
> > > 2. What is the distinction between dynamic configuration protocols and
> > > control-plane protocols?
> >
> > Good question. I believe this to be at the end implementation specific.
> > The question I think really is whether a control-plane protocol interacts
> > with the configuration management component or not.
> >
> > > 3. Shared <candidate> has known problems. Maybe it's time to part with
> > > it in this new datastore model?
> >
> > This clearly was not the focus of this work.
> >
> > > 4. Templates are briefly mentioned in several places, it would be
> useful
> > > to explain this concept in more detail.
> >
> > I agree.
> >
> > > 5. Is it necessary that "<operational-state> datastore contains all
> > > configuration data actually used by the system"? For example, static
> > > routes should appear in RIBs, so having them separately in
> operational
> > > state seems redundant.
> >
> > I do not understand your question. Is the RIB exposed or not? Anyway, we
> > need a general model and not a model for specific aspects such as
> routing.
> > Yes, there can be redundancy but there can also be semantic differences.
> The
> > <operational-state> datastore tells me what is actually used (regardless
> of
> > what has happened with the statically configured values). In other
> words, if
> > I want to debug what my box is actually doing, looking at the
> > <operational-state> datastore is probably a good idea.
> >
> > /js
> >
> > --
> > Juergen Schoenwaelder Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587 Campus Ring 1 | 28759 Bremen | Germany
> > Fax: +49 421 200 3103 <http://www.jacobs-university.de/>
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> >
> > _______________________________________________
> > netmod mailing list
> > netmod@ietf.org
> > https://www.ietf.org/mailman/listinfo/netmod
> >
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>
- [netmod] comments on revised-datastores-00 Ladislav Lhotka
- Re: [netmod] comments on revised-datastores-00 Juergen Schoenwaelder
- Re: [netmod] comments on revised-datastores-00 Susan Hares
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund
- Re: [netmod] comments on revised-datastores-00 Andy Bierman
- Re: [netmod] comments on revised-datastores-00 Juergen Schoenwaelder
- Re: [netmod] comments on revised-datastores-00 Susan Hares
- Re: [netmod] comments on revised-datastores-00 Ladislav Lhotka
- Re: [netmod] comments on revised-datastores-00 Juergen Schoenwaelder
- Re: [netmod] comments on revised-datastores-00 Ladislav Lhotka
- Re: [netmod] comments on revised-datastores-00 Juergen Schoenwaelder
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund
- Re: [netmod] comments on revised-datastores-00 Ladislav Lhotka
- Re: [netmod] comments on revised-datastores-00 Andy Bierman
- Re: [netmod] comments on revised-datastores-00 Ladislav Lhotka
- Re: [netmod] comments on revised-datastores-00 Phil Shafer
- Re: [netmod] comments on revised-datastores-00 Ladislav Lhotka
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund
- Re: [netmod] comments on revised-datastores-00 Martin Bjorklund