Re: [i2rs] modeling options for draft-ietf-i2rs-yang-network-topo

"Susan Hares" <shares@ndzh.com> Thu, 16 February 2017 18:57 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 32433129611 for <i2rs@ietfa.amsl.com>; Thu, 16 Feb 2017 10:57:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.956
X-Spam-Level:
X-Spam-Status: No, score=0.956 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DOS_OUTLOOK_TO_MX=2.845, HTML_MESSAGE=0.001, T_KAM_HTML_FONT_INVALID=0.01] 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 XwSRhh5yPHXm for <i2rs@ietfa.amsl.com>; Thu, 16 Feb 2017 10:57:27 -0800 (PST)
Received: from hickoryhill-consulting.com (50-245-122-97-static.hfc.comcastbusiness.net [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 E4D4612951B for <i2rs@ietf.org>; Thu, 16 Feb 2017 10:57:26 -0800 (PST)
X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=50.36.167.252;
From: Susan Hares <shares@ndzh.com>
To: 'Kent Watsen' <kwatsen@juniper.net>, 'Alexander Clemm' <alexander.clemm@huawei.com>, 'Martin Bjorklund' <mbj@tail-f.com>
References: <644DA50AFA8C314EA9BDDAC83BD38A2E0DF80205@SJCEML703-CHM.china.huawei.com> <20170215.091219.721914825568257957.mbj@tail-f.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DF80493@SJCEML703-CHM.china.huawei.com> <20170215.194126.118198588680956999.mbj@tail-f.com> <644DA50AFA8C314EA9BDDAC83BD38A2E0DF804DE@SJCEML703-CHM.china.huawei.com> <36186505-9F9E-49EA-B033-D4AFDFD66661@juniper.net>
In-Reply-To: <36186505-9F9E-49EA-B033-D4AFDFD66661@juniper.net>
Date: Thu, 16 Feb 2017 13:51:55 -0500
Message-ID: <04fc01d28885$bf3eaf70$3dbc0e50$@ndzh.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_04FD_01D2885B.D669B8E0"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJmRgmU/Xe+ods6juchSbrEmCYsFQFedek0AUU1L9gBd9nDtAK9vGWnAkMzOeKf+5huAA==
Content-Language: en-us
X-Authenticated-User: skh@ndzh.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2rs/vYm6HZyVuXrDJJNpRY8405hWu-A>
Cc: i2rs@ietf.org
Subject: Re: [i2rs] modeling options for draft-ietf-i2rs-yang-network-topo
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: Thu, 16 Feb 2017 18:57:28 -0000

Kent, Alex, and Martin: 

 

These are clarifying question regarding the future when revised data stores
is deployed:  

 

1)      If I2RS topology model and L3 Topology models are generic model in
the configuration data store,  . 

a.       is disabling validation using the require-instance false path in
configuration is the best mechanism you can obtain for the configuration not
being there?  

b.      Is get-state the appropriate information to determine what is the
applied data store? 

c.       Can notifications operate on changes in operational state in the
applied data store?  That is, if the server-supplied information is updated
can notifications provide the signaling of the topology node being added to
the operational state? 

 

2)      If I2RS topology model and L3 Topology model are models in the
ephemeral data store? 

a.       Can the long-term solution Kent proposed in
https://www.ietf.org/mail-archive/web/i2rs/current/msg04316.html

                      be supported by the basic get-data
<datastore-ephemeral>,  write-data <datastore-ephemeral> (or your
equivalent) 

                     get-state <applied-state> and notification services?  

 

Sue Hares 

 

 

-----Original Message-----
From: i2rs [mailto:i2rs-bounces@ietf.org] On Behalf Of Kent Watsen
Sent: Wednesday, February 15, 2017 2:28 PM
To: Alexander Clemm; Martin Bjorklund
Cc: i2rs@ietf.org
Subject: Re: [i2rs] modeling options for draft-ietf-i2rs-yang-network-topo

 

 

> So, the suggested solution would be to not have validation of 

> information, but simply have misconfigured stuff that violates 

> integrity constraints never show up in the state tree.

 

A leafref with require-instance false, even if pointing to a path in the
configuration, effectively disables validation.  Still, I think a leafref is
better than just a description statement.

 

> Perhaps this is the best that YANG can support today, although I still 

> find this not very satisfying.  At a minimum, it would be good if the 

> framework would support an indication whether the configured topology 

> information went into effect or not.

 

The revised-datastore solution is intended to provide a way to show this.
See draft-ietf-netmod-opstate-reqs.

 

> The implication is that a client will need to achieve this now by 

> retrieving the corresponding state tree after each configuration 

> operation (and if the configuration would not show correspondingly in 

> the state tree, troubleshoot to see

> what's wrong).   So, if this is taken as design pattern, it

> would be good to introduce operations to support that.

 

See draft-ietf-netmod-opstate-reqs.

 

> Likewise, it would be good to have a "diffing" operation in which 

> state tree and configuration tree are checked for differences and 

> discrepancies are reported (e.g. config not in state, and possibly 

> vice versa).

 

See opstate-reqs, requirement 2-C.

 

> These should probably

> be added as requirements for I2Rs and the next revision of 

> the overall YANG+associated protocols framework.    

 

Sure, but I don't think this is needed, as we already have the opstate-reqs
draft.

 

 

Kent

 

 

_______________________________________________

i2rs mailing list

 <mailto:i2rs@ietf.org> i2rs@ietf.org

 <https://www.ietf.org/mailman/listinfo/i2rs>
https://www.ietf.org/mailman/listinfo/i2rs