Re: [netmod] Device profile in draft-shytyi-opsawg-vysm and YANG packages

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Tue, 19 May 2020 17:01 UTC

Return-Path: <jason.sterne@nokia.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 E67173A0C3E; Tue, 19 May 2020 10:01:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.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 rLfyiN2mYg6k; Tue, 19 May 2020 10:01:21 -0700 (PDT)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2090.outbound.protection.outlook.com [40.107.223.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3DCA33A0C00; Tue, 19 May 2020 10:01:17 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XhrGdlFO5XX0z9FrehAP8LmUx3SouAfAGCtpTaHN/BnsVqBmEQ7zYNWPhtzAImbucDXVOwWEj06U2ss5gBk9iDlQdwXEVqDpSuSs6klmA8LCc2VD8yUFACoV0kvPGEV6bVSQMH69jzmQEZa65WIaZCw/TlkBb8zNk9P1OiSGkkytAXJnqu19NdfVkM/GdQLMZEJZ9a61HXGcCRiPPX4YtRQ+qzW8OIQe2RTthRzXZHMHUghgwmTqvKwkD0l2y4vJT48wWkBaDfDH/VVcy5EtFguZaeUicK6Pl0YRtst3x6aOSUtT6RnsdrMX3tPj/CuK4uxie77nZyGgA7PAK93qQA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N3vQ2XRkUbxOKGCsL/lFsLY9cP/u99Lb+0G6WHR+cnU=; b=gEOgllLY4fmTj/JqulXcc2nTACP8poC+t8hOeaUbUP0IfUPMIgiToVUYk77Pl46sDVFYjpXjbc3H9IeGMLvAVoS+NmUh5G7v9Epc+kQp8ov2NZg5XNBqmVjiIqDgFNT1y7OPPS10K6xxeaUVgThzT+TbSEHCjURFGzSfpOv/c1FamL5khgH7dgYXU7pGQNUH166X4GjRUnLk1k4783eTVWYIXCIfaWen0MlDok+JyKM8fy3d9LZ0Q4e7mrMK7Nt6D6ZX5oVIVdoTTff9f+G6rd/7wEPk5Uoh7fFtMgs3v3vzBkBayjCewKDd8fuMq1qCr+xnNUQjmVfRnGOw1UsKQQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N3vQ2XRkUbxOKGCsL/lFsLY9cP/u99Lb+0G6WHR+cnU=; b=Ly+YgUnS5bZGbVt3NpH1F050GfD8GB805SSAte1QKsPXeRFntNxFeBkk+J0TPDlxuMaAVFaXsoYb0D7ukcwjfwQgpAlUAp4sJwMCB3IM1z2QuirTme3UmGa4hVtJ27vYjMzSwSQHFQbSTJvczEDeXZIeSOdGCqbIczxoZOmlJhQ=
Received: from DM5PR08MB2633.namprd08.prod.outlook.com (2603:10b6:3:ca::21) by DM5PR08MB2442.namprd08.prod.outlook.com (2603:10b6:3:6d::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.27; Tue, 19 May 2020 17:01:15 +0000
Received: from DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::487:cb2f:c598:65bc]) by DM5PR08MB2633.namprd08.prod.outlook.com ([fe80::487:cb2f:c598:65bc%9]) with mapi id 15.20.3000.034; Tue, 19 May 2020 17:01:15 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: Dmytro Shytyi <ietf.dmytro@shytyi.net>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "netmod@ietf.org" <netmod@ietf.org>
CC: "draft-shytyi-opsawg-vysm@ietf.org" <draft-shytyi-opsawg-vysm@ietf.org>, "opsawg@ietf.org" <opsawg@ietf.org>, "draft-ietf-netmod-yang-packages@ietf.org" <draft-ietf-netmod-yang-packages@ietf.org>
Thread-Topic: Device profile in draft-shytyi-opsawg-vysm and YANG packages
Thread-Index: AdYT2rnDN+JxgUMYQX6kbRmTVVAP4QZa8wOAAC4h9FA=
Date: Tue, 19 May 2020 17:01:15 +0000
Message-ID: <DM5PR08MB26336722E8AE48D9EB70BAA49BB90@DM5PR08MB2633.namprd08.prod.outlook.com>
References: <MN2PR11MB4366014DA047C8D6303F9E64B5D80@MN2PR11MB4366.namprd11.prod.outlook.com> <17229282ba7.e89cbf4d279790.2662904133268436346@shytyi.net>
In-Reply-To: <17229282ba7.e89cbf4d279790.2662904133268436346@shytyi.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: shytyi.net; dkim=none (message not signed) header.d=none;shytyi.net; dmarc=none action=none header.from=nokia.com;
x-originating-ip: [2607:fea8:e31f:da06:80cc:dfff:ebc7:2eaf]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: b0a01d94-5bac-45e1-45d9-08d7fc163dd4
x-ms-traffictypediagnostic: DM5PR08MB2442:
x-microsoft-antispam-prvs: <DM5PR08MB244271A8F3CC3D96CC2B3E299BB90@DM5PR08MB2442.namprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 040866B734
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: gJTS2W7mxH4zS8kChCk12jH/oY368xoQI8ZwYoiKUzeDdA1DqJG0GOvFE697wckl+rsylbj9UHzK5T+OaEZYq9oeLI1F0kidyQGgXvjx9smZf2ySftRnwlo+cyk+Fn1S6CBl41mbe3H8icM3EzoEUJ/bIKReL9CwADTreX/0TYeFdEghjceAxidq7lWupDFRMxzWe+LUGhCTYpnH1+j76FEitW9CHFgrv1/jptuGXW5wlQJUtT0XohkMYW4cXmlk2SsUV1DOiLd8scDeKk4Ckgc6OhTz0VZIQmE/4URyTd+GMuzMOXbeDs2MOGcXsK7mAFr8I/8RDY2DlRroJzGmdsqw1afhpX4kTU60KkwNNJByNCrRv1HH+SiaWFp4SOXrZ6cSsFegLMx1XrEF0A23l0zMJz8XrtAMC4D+xsdObWvSwPZehSoy+qOnih1NkNd5BaWEMZ49VV+jNdLSU/bfn1G0weqGbtk1F1ZuOi8hrLp5NAfJpNxM96ypVAUcuAbzanS7SEHsrIda2xHcvvo4rQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR08MB2633.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(39850400004)(376002)(396003)(136003)(366004)(5660300002)(71200400001)(186003)(2906002)(7696005)(8936002)(55016002)(33656002)(66946007)(76116006)(66556008)(66476007)(52536014)(86362001)(66446008)(316002)(54906003)(110136005)(6506007)(53546011)(4326008)(478600001)(8676002)(64756008)(9686003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: Irc1gO/ZQL4pG5jas+F+DaoOxkx/o73jXYKvheNHqBSNAXUN7Lqm9jZ8hU/A7Cewh/gp9AeE3e+Wf9Hxu0sh7Y/gR99bxYMcpl2RmCjkA9cQbiW5ULCg7K3JoWL3KoeRZLCD2OUOeFVRmlqGDa7pQePhl2Ovwf7qJQPFjgvcdCYgDzDTaaEKhG/UXIlv0KL85S/up2XlU+vp0u8uMMysYuwhrCURuHRiGIICbequs+cv//K+jvieRqUtLXdrJ19MXVvGCOm9/MsSCCiW8/CLdZQYxBHMDr/0G54jl6PSco7XtuddDvT7BX7bPDKoVu4LJCcE1cDkn2NLqgqvcQ0IWtVsKOpyC+1jdOd2olbAyoUw+ktYcyegUG3a4R8ecbVdNrHE5W6ubzlKopPSnVbyPpD9eneVt4UvLY9ZC8SLJSXjfrtRWcp4tAVWWfZAZDqAqMG2n1YnKOYM7ctYds5eUVkQxzumsqF6+MuCsryKptaXUMxB1bWLj1fUsjB9tSqATSW/KU97o5cESJxOeoMzuQ7Zzpmp07RLYPkBzuLOWT01f6DkjJhz4nvZecEmVaFu
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b0a01d94-5bac-45e1-45d9-08d7fc163dd4
X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2020 17:01:15.2626 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: BF6/zLy84IeBcjecazPf3teL9z6uTQbLVbGXg0/xhUu5eSk8TCY/1AwEHwA16+byZXtps6X4K89N4akXhIs9YQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR08MB2442
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Uhgme-F8I2DAltVVbeTyLlo1Ho8>
Subject: Re: [netmod] Device profile in draft-shytyi-opsawg-vysm and YANG packages
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 19 May 2020 17:01:29 -0000

+NETMOD

> -----Original Message-----
> From: Dmytro Shytyi <ietf.dmytro@shytyi.net>
> Sent: Monday, May 18, 2020 3:00 PM
> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> Cc: draft-shytyi-opsawg-vysm@ietf.org; opsawg@ietf.org; draft-ietf-netmod-
> yang-packages@ietf.org
> Subject: Re: Device profile in draft-shytyi-opsawg-vysm and YANG packages
> 
> Hello Rob,
> 
> 
> 
> Sorry for late response.
> Thank you for your comment.
> Indeed this document seems to be very interesting!
> (https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-packages/)
> 
> 
> 
> 
> After reading the "https://datatracker.ietf.org/doc/draft-ietf-netmod-yang-
> packages/", as you mentioned, it seems like current version of "netmod-yang-
> packages" does not describe the schema mounts.
> 
> 
> 
> Maybe in this case we could consider multiple points:
> 
> - If I understood correctly, one of the possible solutions is:  adding to each
> module in the package the "mountpoint" field.
> 
> - When we have augmentation statement in the YANG module maybe we
> should add it to the "mountpoint" field too.
> 
> - For import-only packages maybe it is a good idea to add an array mount point
> with two elements: "pakage_name-where-module-that-is-augmented-located"
> and "augmentation_path-to-module".
> 
> I.E. when we have:
> 
>        module m_A - initial module
> 
>       module m_B - module augments module m_A