[Rtg-yang-coord] YANG leaf writing to running-datastore

Mahesh Jethanandani <mjethanandani@gmail.com> Mon, 02 March 2015 22:43 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: rtg-yang-coord@ietfa.amsl.com
Delivered-To: rtg-yang-coord@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 928301A8A7E for <rtg-yang-coord@ietfa.amsl.com>; Mon, 2 Mar 2015 14:43:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, SPF_PASS=-0.001] autolearn=ham
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 Z3cNGqyAKl4D for <rtg-yang-coord@ietfa.amsl.com>; Mon, 2 Mar 2015 14:43:01 -0800 (PST)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 566631A8A79 for <rtg-yang-coord@ietf.org>; Mon, 2 Mar 2015 14:42:57 -0800 (PST)
Received: by mail-oi0-f49.google.com with SMTP id v63so29827221oia.8 for <rtg-yang-coord@ietf.org>; Mon, 02 Mar 2015 14:42:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=L5kRSWiil/WD4dc1DFiuylnLTQQ28tq/KnZ/epqk5GY=; b=Fgm9+CrqGsT8IkcqI9cSShIVNQIeSnd3IIpc2L5o96xkEsn+3bwG7f3SuxMUNEzvvV C6zuKkBSOHun1JvKD5/krFaxuVT5ggD7VfeEAxG/HEU0rNEQS/j+LAOyTlQtPaXiaZwW ikKRKShVjuMDCP6Yx+aNw+6ungPjnYGw4fJ27NzZWn4g4QeLTyHRitSz0UOGDdAKfG3T qzOAop8qm7fkQpU5qdyL0FaGMvg9jaI8HelJl2/TyGU0/GkJhVGM/Ffjxv7Wk0p8ZnvN fprwcTV3o8RWIhkJdwrMM6hw91midtFwJl/XAlnVGaWG+OlLZ3ejzvua42ZihhayXjsa 8gWg==
X-Received: by 10.202.186.85 with SMTP id k82mr19621464oif.69.1425336176626; Mon, 02 Mar 2015 14:42:56 -0800 (PST)
MIME-Version: 1.0
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Date: Mon, 02 Mar 2015 22:42:55 +0000
Message-ID: <CAAchPMsaZJE=TRKaDyyA8JRyQ4dt5nptD8o0pkUK-1tfNT9vgA@mail.gmail.com>
To: "rtg-yang-coord@ietf.org" <rtg-yang-coord@ietf.org>
Content-Type: multipart/alternative; boundary="001a113cdeba7e4ff8051055f008"
Archived-At: <http://mailarchive.ietf.org/arch/msg/rtg-yang-coord/OYT4nLOP2VoMZMuTmZPlOpo9LnY>
Subject: [Rtg-yang-coord] YANG leaf writing to running-datastore
X-BeenThere: rtg-yang-coord@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "\"List to discuss coordination between the Routing related YANG models\"" <rtg-yang-coord.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtg-yang-coord/>
List-Post: <mailto:rtg-yang-coord@ietf.org>
List-Help: <mailto:rtg-yang-coord-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtg-yang-coord>, <mailto:rtg-yang-coord-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Mar 2015 22:43:03 -0000

Is there a way to restrict having a leaf be written to running datastore
only? In other words, the leaf should never be written to startup
datastore. Along the lines of an ephemeral datastore, except in this case
it is a configuration parameter, and not something the device has learnt.

The particular case that comes to mind is putting an ethernet port in
loopback mode. This is done mainly to put the port in a debug mode, and is
meant to be temporary. But under no circumstance should it ever be written
to a saved datastore in a way that the port comes up in loopback mode.

If there is no such capability today, can we consider adding it?