Re: [yang-doctors] Yangdoctors early review of draft-ietf-opsawg-mud-08, Re: Yangdoctors early review of draft-ietf-opsawg-mud-08

Eliot Lear <lear@cisco.com> Mon, 28 August 2017 09:53 UTC

Return-Path: <lear@cisco.com>
X-Original-To: yang-doctors@ietfa.amsl.com
Delivered-To: yang-doctors@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0D87132932; Mon, 28 Aug 2017 02:53:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, 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 8aRBJ9uAKFEJ; Mon, 28 Aug 2017 02:53:58 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA952132811; Mon, 28 Aug 2017 02:53:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3007; q=dns/txt; s=iport; t=1503914038; x=1505123638; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=1NIFh+QlrJeGecORVSNsA27F1uomxsb9zIaPOxsOUnI=; b=JyU5JczZxHH73T9p2on/jRk+vGmlTLk07PQSAyo/4EIVu3ukDLd3tcsT 0DFdC83EUpYxaKvAEdMD28W3Qz6I+v/V2Kndol4iIsHjPRfsV/5YThwQZ f+6EZa++evgKwSgXjzY5AecCgycy27RnBsQJJMFfoaKsNNbecShPvUs4D I=;
X-Files: signature.asc : 481
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CSAwDN56NZ/xbLJq1cGgEBAQECAQEBAQgBAQEBiUqLEZBwIpg4B4VAAoQ2FQECAQEBAQEBAWsohRkBBAEjVgULCw4tBwICVwYNCAEBiiUIsXCCJ4taAQEBAQEBAQMBAQEBAQEBEg+DKoUzKwuCcogIgkIfBZgqiDqENIIhjXGLUYcXlj01IoENMiEIHBWGFoFQPoseAQEB
X-IronPort-AV: E=Sophos;i="5.41,441,1498521600"; d="asc'?scan'208";a="655254859"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2017 09:53:53 +0000
Received: from [10.61.198.200] ([10.61.198.200]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id v7S9rrqC004014; Mon, 28 Aug 2017 09:53:53 GMT
To: Martin Bjorklund <mbj@tail-f.com>
Cc: yang-doctors@ietf.org, draft-ietf-opsawg-mud.all@ietf.org, opsawg@ietf.org
References: <150340909415.6001.14045177084948571272@ietfa.amsl.com> <150340909415.6001.14045177084948571272@ietfa.amsl.com> <eec794de-73b4-2e95-b014-fc1bfab82873@cisco.com> <20170828.105242.1597048530111501551.mbj@tail-f.com>
From: Eliot Lear <lear@cisco.com>
Message-ID: <fc390fd3-2471-3535-e552-38b51678d427@cisco.com>
Date: Mon, 28 Aug 2017 11:53:53 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <20170828.105242.1597048530111501551.mbj@tail-f.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="iTUdKj5bInqGgappmd7oUDr40Da7RgBNm"
Archived-At: <https://mailarchive.ietf.org/arch/msg/yang-doctors/JiTbv4eZWdjcCOG882Mi_TDZjy4>
Subject: Re: [yang-doctors] Yangdoctors early review of draft-ietf-opsawg-mud-08, Re: Yangdoctors early review of draft-ietf-opsawg-mud-08
X-BeenThere: yang-doctors@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Email list of the yang-doctors directorate <yang-doctors.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/yang-doctors/>
List-Post: <mailto:yang-doctors@ietf.org>
List-Help: <mailto:yang-doctors-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/yang-doctors>, <mailto:yang-doctors-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Aug 2017 09:54:00 -0000

Hi Martin,

Trimming:


On 8/28/17 10:52 AM, Martin Bjorklund wrote:

>> ONLY.
> Ok.  The text says "a small number ... including ...".  I suggest this
> is clarified.

So clarified.

> Ok, but --ietf does not check indentation etc.

Ok.

>> Yes.  This has been the subject of considerable discussion.  I
>> propose to modify the model to include an rc:yang-data
>> statement,
> Ok, but note that this makes your usage of access-lists problematic -
> if you define "rc:yang-data mud", you cannot have a file with
> "access-lists" within the "mud" container.  I don't know how to solve
> this...

That would be quite bad.  Then in the alternative, if we go without
rc:yang-data, could we then simply leave the mud container as a presence
container?  Given the presence of the MUD-URL this has roughly the
concept intended with presence as I understand it.
>
>> For what purpose?
> So that the MUD controller knows how to parse the mud file?  OTOH, if
> it turns out to be necessary, you can add it as a mandatory leaf in a
> future model.

ok.  Let's have a think about that one.  If the file is aiming towards
self-describing, then this is a good add.

Eliot