Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)

Alia Atlas <akatlas@gmail.com> Fri, 03 February 2017 18:14 UTC

Return-Path: <akatlas@gmail.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 16342129548; Fri, 3 Feb 2017 10:14:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 vzD5VQVvHGle; Fri, 3 Feb 2017 10:14:53 -0800 (PST)
Received: from mail-yw0-x234.google.com (mail-yw0-x234.google.com [IPv6:2607:f8b0:4002:c05::234]) (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 B899C1294D3; Fri, 3 Feb 2017 10:14:51 -0800 (PST)
Received: by mail-yw0-x234.google.com with SMTP id l19so16672324ywc.2; Fri, 03 Feb 2017 10:14:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hComkGK1kyeFEUMYJjn3aizoAcZzVSRDjAnYtO/R3Pk=; b=jRMez6J+YQF140EB3f+ujwQ0T+ioJniRvhIxMe6IjKEM/YuCWDYQE28TPeytukbM81 uVginISijnZc14u7ftdqzLhuTkfHGgzgLvckEGwBnkRilmNnyK/t1qNLavwSIgNnxCHV AX7kWDNBWjNjRnd6GyYxvZ5xpApsYGKGiXZ4efKvCulcv/f1fzD5/WDC+c6iwAY6NVvQ SpeGzPjt3wHmcIo/CIzzSQvZk/lAstxREus9G/JY9SxfF5sqdfiLsIMOmD6o72nI7mua mzTqhtjr4tSx//uPrjNRoywlIe1fmZnj2k/zw0nYjW0WIjnboGtwru6LFlm9nez98UJq flAQ==
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=hComkGK1kyeFEUMYJjn3aizoAcZzVSRDjAnYtO/R3Pk=; b=fquIt1+SMZOAPuMovuTrGrOFd+76s9eKXyX2TwuHgQLh7/U3Aczhf3U0fR/NqXj6qt rdru4rsICQku0QnhXxYhMRHweZpBZm5GelRCY3N4VGwcKlNxbS6W/8WoUT31lJS6rh2d VKsKTvQNTQKgzoxMVtlPR4jMSpusQbvVY6k9Z2Jafc3yB2bji47K7rnsZvt6IkHD3o+i Qd/vbxdSF6GCClzYAUOMbvRYu/PR7R5Rtv0U5lo12HcIgGcECIh61ClDdK7vzYGibnM5 rhZAgqP+KI0keZrhc7RyXs6grWWDhxfJayqwVjg7gt6cACe0pnH3ujcq47c2OLOx0VcX SINg==
X-Gm-Message-State: AIkVDXI2fNSekHdbrK7lUNGJsm9PycS9vzLF3JSpoQOqapsNdmbqqlzaoZYZVC/5xsVDDQDqavg5POd/KhrELA==
X-Received: by 10.129.118.4 with SMTP id r4mr10596946ywc.85.1486145690765; Fri, 03 Feb 2017 10:14:50 -0800 (PST)
MIME-Version: 1.0
Received: by 10.129.50.2 with HTTP; Fri, 3 Feb 2017 10:14:49 -0800 (PST)
In-Reply-To: <030B0A7E-5238-4D78-BC97-2140B269D82A@juniper.net>
References: <BN3PR02MB1141BE8B907D10AAFAA6BDA7F14F0@BN3PR02MB1141.namprd02.prod.outlook.com> <20170203.163216.1400419881696462638.mbj@tail-f.com> <BN3PR02MB11416DD67AB92C6620CEF7E4F14F0@BN3PR02MB1141.namprd02.prod.outlook.com> <20170203.170800.1259525494650193374.mbj@tail-f.com> <BN3PR02MB114192FEEF7116B20D314658F14F0@BN3PR02MB1141.namprd02.prod.outlook.com> <030B0A7E-5238-4D78-BC97-2140B269D82A@juniper.net>
From: Alia Atlas <akatlas@gmail.com>
Date: Fri, 03 Feb 2017 13:14:49 -0500
Message-ID: <CAG4d1rcG2kJBR8V4_uuQer7RsLd+iMOxki3uS_vUgJHZ-TD9MQ@mail.gmail.com>
To: Kent Watsen <kwatsen@juniper.net>
Content-Type: multipart/alternative; boundary="f403045ef482fb92bb0547a441a9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/AVpqlrwehxBSE3I8Myx7SYMsWSE>
Cc: "draft-ietf-i2rs-yang-l3-topology@ietf.org" <draft-ietf-i2rs-yang-l3-topology@ietf.org>, Xufeng Liu <Xufeng_Liu@jabil.com>, Martin Bjorklund <mbj@tail-f.com>, "i2rs@ietf.org" <i2rs@ietf.org>
Subject: Re: [i2rs] Kathleen Moriarty's No Objection on draft-ietf-i2rs-yang-l3-topology-08: (with COMMENT)
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: Fri, 03 Feb 2017 18:14:55 -0000

Kent,

>From the 5000 foot view, this looks to me like the description changing the
behavior
of what a system should do.

What am I missing?

Thanks,
Alia

On Fri, Feb 3, 2017 at 1:11 PM, Kent Watsen <kwatsen@juniper.net> wrote:

>
> [Xufeng] Right. If we do so, the approach will be different from RFC7223,
> and requires the capability that a "config true" leafref references a
> "config false" leaf.
>
>
> I think my proposal was misunderstood, so here's a more complete example:
>
> Assume the following schema is used by client/servers that implement the
> long-term
> opstate solution presented in the revised-datastores draft:
>
>    module foo {
>       container nodes {
>          config true;
>          list node {
>             key "name";
>             leaf name { type string; }
>             leaf dependency {
>                type leafref {
>                  path "../node/name"
>                  require-instance false;
>                  description
>                    "In the case when a configured node (i.e. in the
> running DS)
>                     has a dependency on a node that is not configured, the
> system
>                     may try to resolve the dependency as operational state
> data
>                     (i.e. in the operational-state DS).  As operational
> state
>                     data may have a lifecycle independent of
> configuration, there
>                     is no guarantee that the opstate data will exist.
> Therefore,
>                     application of the configuration node is conditional,
> resulting
>                     in an effect much like pre-provisioning interfaces in
> RFC 7223.";
>                }
>             }
>          }
>      }
>    }
>
>
> Specifically, note that the leafref is from one config true node to
> another config
> true node.  I understand that the semantics are almost as if it were like
> a config
> true node were pointing to a config false node, but I believe that this
> should be
> okay, that is, that we should specifically define this convention as okay.
>
>
> Assuming that we're okay with the above, we proposal for a near-term
> solution, that
> does NOT utilize the opstate solution, follows:
>
>    module foo {
>       container nodes {
>          config true;
>          list node {
>             key "name";
>             leaf name { type string; }
>             leaf dependency {
>                type leafref {
>                  path "../node/name"
>                  require-instance false;
>                  description
>                    "In the case when a configured node (i.e. in the
> running DS)
>                     has a dependency on a node that is not configured, the
> system
>                     may try to resolve the dependency as operational state
> data
>                     (i.e. under the /nodes-state tree).  As operational
> state
>                     data may have a lifecycle independent of
> configuration, there
>                     is no guarantee that the opstate data will exist.
> Therefore,
>                     application of the configuration node is conditional,
> resulting
>                     in an effect much like pre-provisioning interfaces in
> RFC 7223.";
>                }
>             }
>          }
>       }
>       container nodes-state {
>          config false;
>          list node {
>             key "name";
>             leaf name { type string; }
>             leaf dependency {
>                type leafref {
>                  path "../node/name"
>                  require-instance false;
>                }
>             }
>          }
>       }
>    }
>
>
> This module is semantically identical to the first, but now, in additional
> to the leafref potentially hopping datastores, it also needs to hop paths
> (i.e. s/nodes/nodes-state/). Note the minute change in the first sentence
> of the description statement.  Yes, it's a hack, but since the hopping is
> implemented internally anyway, maybe it's okay as a stop-gap short-term
> solution?
>
>
> Kent
>
>
>
> _______________________________________________
> i2rs mailing list
> i2rs@ietf.org
> https://www.ietf.org/mailman/listinfo/i2rs
>