[netmod] rfc7223bis (interfaces) enabled leaf vs SNMP admin-state

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Thu, 26 October 2017 17:04 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 69DD213F3AC for <netmod@ietfa.amsl.com>; Thu, 26 Oct 2017 10:04:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.92
X-Spam-Level:
X-Spam-Status: No, score=-1.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 G22xCR8WWFvY for <netmod@ietfa.amsl.com>; Thu, 26 Oct 2017 10:04:33 -0700 (PDT)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30133.outbound.protection.outlook.com [40.107.3.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5BB8913F088 for <netmod@ietf.org>; Thu, 26 Oct 2017 10:04:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=+Ceu6bKLzVMyvfgMYMEM2cuEK8IxwH3Wg0Hfx9Iznv0=; b=ACCOFcUS+hSgEfg+HO7hvF8nvY/OK4hnJEk5Wuhj+fmdVOcrtb8eYpiCgwZXtXbVIljt4wozJtDfpRNgoSwWDcucU1Ea4glnPjjUlg3QqQmzxNWXfL4Zl9wajxjz3QE4dUBoKP/+Tk173Gm8xiggNR2YFVYj0Yieak5sh5rTKp0=
Received: from VI1PR07MB1135.eurprd07.prod.outlook.com (10.163.168.144) by VI1PR07MB1135.eurprd07.prod.outlook.com (10.163.168.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.178.3; Thu, 26 Oct 2017 17:04:30 +0000
Received: from VI1PR07MB1135.eurprd07.prod.outlook.com ([fe80::b526:9a86:1da8:4072]) by VI1PR07MB1135.eurprd07.prod.outlook.com ([fe80::b526:9a86:1da8:4072%14]) with mapi id 15.20.0178.003; Thu, 26 Oct 2017 17:04:30 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: rfc7223bis (interfaces) enabled leaf vs SNMP admin-state
Thread-Index: AdNOevP2Ug0r6+CiQ+ipzdRijgA3aQ==
Date: Thu, 26 Oct 2017 17:04:30 +0000
Message-ID: <VI1PR07MB113551260F552B8CF644A1FB9B450@VI1PR07MB1135.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [135.245.20.10]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; VI1PR07MB1135; 6:VWhhkN43V+MEKpvS+2RLZE5mHf/yUWRgM3+1imL+KE2EhbseKqdL3MxTPbPZOmZLSb4vOxGOBSxh0vT/kcX1+j1mIWLZZvtoOJ55h+AEpdc7rj9fYH6Dv1bUxXQckjy7Fkn4FCYtIN4zikzpPgOiM48EUQMQYn3zUWhPciCjC/VlnT8bdkgvTe7JShuWFlbc5d4/InubHnJa6y6rzHZd0CiF81/z9pnYV3uRFHqKPrOOoGFIsKd0eEX3fQa8vBoVKAdxeVgfy8DSrw3hYEdVRWWYf2ta3lPzNNps+DbCi3ndTSm6dpNbsdWVXN9gHZbLi3QeQyiEqLNyncdRWRjLKrdfav5c1WEaCknoCMncGa4=; 5:hboCSAbeOY34SAp3pxcjbwDQmDwguB07SBE3VQLqLIBamX+dDF9Wvif/UB1J0UABZCrUXMMAhPomWo+tDNUxlz10cWdH3t/7im2iXWqVxQS+fGuqdkQ5VwauFqm1tHPaPyDyr6G04R+RB8gn8gnyHBPDSLQXedIJxoHcOX/ZX+Y=; 24:c8R4CvcBUmeIA3YzNz26cB/6BahAAzvrbSXuti/ickCTpE3lsF0FY/j4h4C5t7NIOW7/cjfLDd2necFviY+4BxKcM0nqUW9TdeCiIccJPzc=; 7:qq8qmv+hCFGh4GNwxSCvR54T9/u9HBtdjoptAQMuFzSb/3vFuce9GcaWYPb6FX3Wwj4UbEu74PKSqWhu8BZBrGrRg4DnGLA379kXRF16nydJ9WPhnY0RkMtNs8vAUno4afr0RgxSmzgmKRJ/8lZBKdDezwsPYOa4+Y/z1rCUXG0mBL6HHZSZkLSyWsVJmtAxYQdCReGJqPgVacLXm14vVh+ne9x/RuR+y07kx34SheqkQrKmCYor61B7mSdtIuBU
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: d4607cd7-c16c-429d-2044-08d51c939fb6
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(4534020)(4602075)(4627075)(201703031133081)(201702281549075)(2017052603238); SRVR:VI1PR07MB1135;
x-ms-traffictypediagnostic: VI1PR07MB1135:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=jason.sterne@nokia.com;
x-exchange-antispam-report-test: UriScan:(120809045254105);
x-microsoft-antispam-prvs: <VI1PR07MB113556A51FACB1429F8BA3669B450@VI1PR07MB1135.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(10201501046)(3231020)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:VI1PR07MB1135; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:VI1PR07MB1135;
x-forefront-prvs: 04724A515E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(376002)(346002)(377424004)(13464003)(53754006)(189002)(199003)(2900100001)(105586002)(86362001)(14454004)(106356001)(3280700002)(6916009)(2906002)(54356999)(102836003)(1730700003)(9686003)(53936002)(99286003)(8936002)(6506006)(5660300001)(6306002)(316002)(55016002)(33656002)(3660700001)(101416001)(81156014)(81166006)(7696004)(50986999)(8676002)(305945005)(189998001)(97736004)(74316002)(68736007)(5640700003)(3846002)(6116002)(66066001)(6436002)(7736002)(25786009)(4001150100001)(5250100002)(53546010)(478600001)(966005)(2351001)(2501003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR07MB1135; H:VI1PR07MB1135.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: nokia.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d4607cd7-c16c-429d-2044-08d51c939fb6
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Oct 2017 17:04:30.6982 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR07MB1135
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/Tmw6gDs7BDXUJplZfz0qwG01Sjw>
Subject: [netmod] rfc7223bis (interfaces) enabled leaf vs SNMP admin-state
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: Thu, 26 Oct 2017 17:04:36 -0000

Hi all,

The issue I'm raising isn't new to the 'bis' version of RFC7223, but I'm questioning whether we should consider changing something about it while we're in there.

The 'enabled' leaf has this in the description:

             Changes in this leaf in the intended configuration are
             reflected in ifAdminStatus, but if ifAdminStatus is
             changed over SNMP, this leaf is not affected.

As an example of "working code", Nokia's SR OS has supported full router configuration via SNMP for many years.  When someone enables an interface via CLI, that is reflected in ifAdminStatus and vice-versa.   i.e. configuration via two different interfaces (SNMP & CLI) that use different data models, map rw leafs from the two interfaces/models to the same underlying internal object.

In general, many SNMP rw objects will map to the same underlying internal rw object as the equivalent rw leaf in a YANG model (for products that actually support config management via SNMP as well as NETCONF).  Changing the leaf/object via SNMP affects the equivalent leaf/object in NETCONF.  Why make this one a special case ?

I'd propose that we remove that sentence.

Rgds,
Jason

> -----Original Message-----
> From: netmod [mailto:netmod-bounces@ietf.org] On Behalf Of internet-
> drafts@ietf.org
> Sent: Monday, October 16, 2017 9:25
> To: i-d-announce@ietf.org
> Cc: netmod@ietf.org
> Subject: [netmod] I-D Action: draft-ietf-netmod-rfc7223bis-00.txt
> 
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> This draft is a work item of the Network Modeling WG of the IETF.
> 
>         Title           : A YANG Data Model for Interface Management
>         Author          : Martin Bjorklund
> 	Filename        : draft-ietf-netmod-rfc7223bis-00.txt
> 	Pages           : 47
> 	Date            : 2017-10-15
> 
> Abstract:
>    This document defines a YANG data model for the management of network
>    interfaces.  It is expected that interface-type-specific data models
>    augment the generic interfaces data model defined in this document.
>    The data model includes definitions for configuration and system
>    state (status information and counters for the collection of
>    statistics).  This document obsoletes RFC 7223.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-netmod-rfc7223bis/
> 
> There are also htmlized versions available at:
> https://tools.ietf.org/html/draft-ietf-netmod-rfc7223bis-00
> https://datatracker.ietf.org/doc/html/draft-ietf-netmod-rfc7223bis-00
> 
> 
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod