[pim] Important: Guidelines for YANG module authors

"Alvaro Retana (aretana)" <aretana@cisco.com> Tue, 18 July 2017 15:08 UTC

Return-Path: <aretana@cisco.com>
X-Original-To: pim@ietfa.amsl.com
Delivered-To: pim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C63F91317CA for <pim@ietfa.amsl.com>; Tue, 18 Jul 2017 08:08:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.522
X-Spam-Level:
X-Spam-Status: No, score=-14.522 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 CHvxVFB4WU0b for <pim@ietfa.amsl.com>; Tue, 18 Jul 2017 08:08:10 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BD109131714 for <pim@ietf.org>; Tue, 18 Jul 2017 08:08:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13554; q=dns/txt; s=iport; t=1500390489; x=1501600089; h=from:to:subject:date:message-id:mime-version; bh=QyDSuHRpYPdq4HlZF3WpRXGJTRQm7ZfT7Pex00IBwQ4=; b=Tat9m+0bYyi6yJ4iPOK60Fh1WoXkkIxjBTRtgWxnOiGbYsUkG7Dp/xo2 l61aJkDEfRAJBmnm0dUyiBj4wQVA7TfPOWS5OSCCKpTXQ1vxjZR3K/xnE U9MOcqS8jInD7yKnGeCsP4hdVV8r/NS+6Ukn1UGZZI1xMRNQaRxKaprg/ s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A7AQD1I25Z/5BdJa1bGgEBAQECAQEBAQgBAQEBgm8+LWSBFAeOBKI9hSyCESEBCoRMTwIagzc/GAECAQEBAQEBAWsdC4UYAQcBIUsdARkBAgECKAMCBCULFAMGCgQTG4kwZBCuX4ImJ4pmAQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWDKINNgWEriAMWgiA9MIIxBYlchz+GJ4dyAodIYYtrggyFT4pUkGaEcAEfOIEKdRVJCAoBgWiFG3aGGSqBCIENAQEB
X-IronPort-AV: E=Sophos;i="5.40,378,1496102400"; d="scan'208,217";a="269629335"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jul 2017 15:08:08 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id v6IF88fk017636 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <pim@ietf.org>; Tue, 18 Jul 2017 15:08:08 GMT
Received: from xch-aln-002.cisco.com (173.36.7.12) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 18 Jul 2017 10:08:08 -0500
Received: from xch-aln-002.cisco.com ([173.36.7.12]) by XCH-ALN-002.cisco.com ([173.36.7.12]) with mapi id 15.00.1210.000; Tue, 18 Jul 2017 10:08:08 -0500
From: "Alvaro Retana (aretana)" <aretana@cisco.com>
To: "pim@ietf.org" <pim@ietf.org>
Thread-Topic: Important: Guidelines for YANG module authors
Thread-Index: AQHS/9epW2xIZqEhOECdgNaJwJFnhg==
Date: Tue, 18 Jul 2017 15:08:07 +0000
Message-ID: <A9B57C16-5C74-431C-A527-2D2AEC5BBB88@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.22.0.170515
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.24.116.132]
Content-Type: multipart/alternative; boundary="_000_A9B57C165C74431CA5272D2AEC5BBB88ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/pim/Xl8vmBZIsZlSBzhGrrM78tMoGLw>
Subject: [pim] Important: Guidelines for YANG module authors
X-BeenThere: pim@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Protocol Independent Multicast <pim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pim>, <mailto:pim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/pim/>
List-Post: <mailto:pim@ietf.org>
List-Help: <mailto:pim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pim>, <mailto:pim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 18 Jul 2017 15:08:12 -0000

Hi!

Here’s the Guidelines I mentioned at today’s WG meeting.  [Benoit sent it to netmod and it was later forwarded to rtgwg.]

Reminder: the RTG YANG Coordination list (rtg-yang-coord@ietf.org)<mailto:rtg-yang-coord@ietf.org)> is a good resource if you have any questions related to this topic or how it applies to a specific model.

Alvaro.


---------- Forwarded message ----------
From: Benoit Claise <bclaise@cisco.com<mailto:bclaise@cisco.com>>
Date: Fri, Jun 9, 2017 at 9:56 AM
Subject: [netmod] Important: Guidelines for YANG module authors
To: NETMOD Working Group <netmod@ietf.org<mailto:netmod@ietf.org>>

Dear all,

Now that the new NETMOD and NETCONF charters have been approved, it's time to think about the guidelines for YANG module authors.

The Network Management Datastore Architecture (NMDA) addresses the so-called "OpState problem" that has been the subject of much discussion in the IETF. NMDA is still in development, and there will be a transition period before NMDA solutions are universally available.

The NETMOD Datastore Design Team and the Routing Yang Architecture Design Team have worked with Alia and Benoit to create initial guidelines for how the NMDA, as defined in draft-ietf-netmod-revised-datastores<https://datatracker.ietf.org/doc/draft-ietf-netmod-revised-datastores/>, impacts Yang models. The draft-dsdt-nmda-guidelines<https://datatracker.ietf.org/doc/draft-dsdt-nmda-guidelines/> individual draft was foundational in helping creating those guidelines.

If you have questions or concerns on how these guidelines should apply to work of interest, please contact your WG Chairs or ADs.

It is our strong recommendation, as ADs with agreement from the NETMOD WG Chairs, that models SHOULD move as quickly as possible to the NMDA. The specific approach to be taken for models being developed now and during the NMDA transition period should be based on both the expected usage and the maturity of the data model.

1. New models and models that are not concerned with the operational state of configuration information SHOULD immediately be structured to be NMDA-compatible.

2. Models that require immediate support for "in use" and "system created" information SHOULD be structured for NMDA. Then derived versions of these models SHOULD be created, either by hand or with suitable tools, that follow the current modeling strategies. In some cases, the non-NMDA model may be an existing model and not derived from the NMDA model. In all cases, the NMDA and non-NMDA modules SHOULD be published in the same document, with NMDA modules in the document main body and the non-NMDA modules in an Appendix. The use of the non-NMDA model will allow temporary bridging of the time period until NMDA implementations are available. The non-NMDA module names should include ’-state’ appended.

We would like to thank Kent Watsen, Lou Berger, Rob Wilton, Martin Bjorklund, Phil Shafer, Acee Lindem, Chris Hopps, Juergen Schoenwaelder, and all others who helped develop these guidelines.

Regards,
Alia Atlas, Routing AD
Deborah Brungard, Routing AD
Alvaro Retana, Routing AD
Warren Kumari, Operations & Management AD
Benoit Claise, Operations & Management AD

_______________________________________________
netmod mailing list
netmod@ietf.org<mailto:netmod@ietf.org>
https://www.ietf.org/mailman/listinfo/netmod