[netmod] augment YANG 1.0 with YANG 1.1 OK?

Andy Bierman <andy@yumaworks.com> Sat, 14 October 2017 20:11 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1702C127005 for <netmod@ietfa.amsl.com>; Sat, 14 Oct 2017 13:11:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.199
X-Spam-Level:
X-Spam-Status: No, score=-1.199 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=yumaworks-com.20150623.gappssmtp.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 iLcH7PR8twDk for <netmod@ietfa.amsl.com>; Sat, 14 Oct 2017 13:11:25 -0700 (PDT)
Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 3274612426E for <netmod@ietf.org>; Sat, 14 Oct 2017 13:11:25 -0700 (PDT)
Received: by mail-lf0-x22b.google.com with SMTP id d10so12993579lfg.11 for <netmod@ietf.org>; Sat, 14 Oct 2017 13:11:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=YoIs4a4zBeNLUNUr/81VU6oQvNT38bPDvDuJa/yokwY=; b=Y6pFd5L5LpoBRogdSUGAbPRviBXUlJPtj2ULoeLSuxdlNd2aq6XtC5XlxYW7v9rMmH AktuG5p0VRtD8DcCNVOxq7o4q8Mydkvt2IEQya7u8YOOzIdHSP8FiwOm5GHKwsxFhAdo O5xIvhGaCDVbNjHlERiyFhIr/4GBNeqOZ7PHanicSPK9T/H/GnvZHSUUk6g4JTDEMlVu jk9vJtvgVfjOpOHQqBJaVM/eSWDr/Vl9zM2z8bu87isFUEdGZxUFdw5AFPHuZdoJhTkB JwWcMRVY9DDcfQp+uQFGEKYr0RyidkCo9Rk4TG+d0iUwgGDuP8qC3XW3J/AlXnYvCklW vKPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YoIs4a4zBeNLUNUr/81VU6oQvNT38bPDvDuJa/yokwY=; b=S/Unv3wpQcywFxe92y+PYVDUuHGJTuKEeW9Y9MTAcIlzKla6r5JgaGSHMdsu6fK8LS W9dWJwqGyftiFgqeAuXrAS/2ytGnLxbmwaHgVE+K1d3GDVqGkWB/W3EiMxiE1vQgyetX 4vlggirUL6kRl2U/WnZ2DVKw06zd38JJi5SEdMvitFMBeFDsy2y+F/qHdksfAx0mK+Ny BgefZy8667CBIhgOVPv98lUJ7UNHOkJ33AAfvL+TM7ZGLfMBaoSlH64++37cMnSBeUGb igCqdrc1DpzgujVt32jpaCh/3Zl5X23dG6voBehwvlbOhgpjwFZoc5H06IEKcgYlWMJe gFng==
X-Gm-Message-State: AMCzsaWFzRK24Gd9pIqgvy1Vb6XwpkQxxajQZ/Wy/sP1PCxV+ZbsnNOJ l6P8DUNsbnrZMhNqSywYGnLPOwqVPJ/VLAamj9Wac9YX
X-Google-Smtp-Source: ABhQp+SMTXs5j8/lDmcCRq1JDOSJ/bwr0DoSGkAps4fkkPAxXfiSJRb4a2y47EIoYhW3DN6AicLzXoihXAIssvf4KsE=
X-Received: by 10.46.15.18 with SMTP id 18mr2031083ljp.151.1508011883073; Sat, 14 Oct 2017 13:11:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.150.198 with HTTP; Sat, 14 Oct 2017 13:11:22 -0700 (PDT)
From: Andy Bierman <andy@yumaworks.com>
Date: Sat, 14 Oct 2017 13:11:22 -0700
Message-ID: <CABCOCHQhPHxen2YD-ZPHqpGZN5YrE_7RVe7_3qUkdazL+PTSmg@mail.gmail.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cfe569ba3eb055b8760d4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/VevVEHLFLx3VfeXScK9sT-OE-4A>
Subject: [netmod] augment YANG 1.0 with YANG 1.1 OK?
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Oct 2017 20:11:27 -0000

Hi,

RFC 7950 has no text at all that addresses this specific point:

module if-aug {
  yang-version 1.1;
  namespace "http://netconfcentral.org/ns/if-aug";
  prefix ifa;
  import ietf-interfaces { prefix if; }
  revision "2017-10-14";

  augment "/if:interfaces-state/if:interface" {
    action reset {
      description "Reset this interface";
    }
  }
}

Both pyang and yangdump-pro accept this module with no warnings or errors.
Sec. 12 should address this issue.


Andy