Re: [mpls] [netmod] YANG - Intended-Config & Applied-Config & Derived-State & Operational-state...grrrr... !!

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 06 April 2016 06:29 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C867412D63D; Tue, 5 Apr 2016 23:29:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham 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 VrL-YLlSqCph; Tue, 5 Apr 2016 23:29:07 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD12A12D72E; Tue, 5 Apr 2016 23:29:05 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id 15707F6E; Wed, 6 Apr 2016 08:29:04 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.220]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id BEVJv9YTTCfp; Wed, 6 Apr 2016 08:28:52 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS; Wed, 6 Apr 2016 08:29:03 +0200 (CEST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2CD6720045; Wed, 6 Apr 2016 08:29:03 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 0fscBIUp6jNm; Wed, 6 Apr 2016 08:29:02 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 26F4020043; Wed, 6 Apr 2016 08:29:02 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id 2E7A03A72C5A; Wed, 6 Apr 2016 08:28:59 +0200 (CEST)
Date: Wed, 06 Apr 2016 08:28:59 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Rajiv Asati (rajiva)" <rajiva@cisco.com>
Message-ID: <20160406062858.GA60806@elstar.local>
Mail-Followup-To: "Rajiv Asati (rajiva)" <rajiva@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>, "mpls@ietf.org" <mpls@ietf.org>
References: <6A55F6E8-8A67-459D-BAB6-CC41F8D7BF30@cisco.com> <20160401090207.GA50653@elstar.local> <473C6D05-BC35-4069-8931-665F0122A32A@cisco.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <473C6D05-BC35-4069-8931-665F0122A32A@cisco.com>
User-Agent: Mutt/1.4.2.3i
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/yaz9RJaIunDAo0SZKyabwM3pvsw>
Cc: "mpls@ietf.org" <mpls@ietf.org>, "netmod@ietf.org" <netmod@ietf.org>
Subject: Re: [mpls] [netmod] YANG - Intended-Config & Applied-Config & Derived-State & Operational-state...grrrr... !!
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2016 06:29:11 -0000

On Wed, Apr 06, 2016 at 02:28:03AM +0000, Rajiv Asati (rajiva) wrote:
> Hi Juergen,
> 
> Thanks for the clarity. I somewhat agree. Different lifetime shouldn't really cause any impact.
> 
> One nit,
> 
> When I pull out a configured interface, the operational state of this
> interface is gone but not the config - if I put the interface back, it
> should come up configured as before.
> 
> Depends. If LC itself is removed, then all the related interfaces would be removed from the running-config. And reinserting the LC may not bring their individual conf back (ignoring the notifications).

Assuming LC means line card if not discard the following (and explain
what LC means). I believe the answer here is that systems treat this
differently and there is no universal answer. Some systems seem to
store line card config on the line card itself, other systems
associate config with the physical location of a port or interface,
yet others associate config with a name of an interface (which may not
indicate the physical location of an interface). Since implementations
really differ here, we support multiple implementation options in the
interfaces data model.

/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/>