[Netconf] nmda-restconf operations (was: netconf-binary-encoding comments)

Kent Watsen <kwatsen@juniper.net> Mon, 09 July 2018 17:21 UTC

Return-Path: <kwatsen@juniper.net>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2A92131028; Mon, 9 Jul 2018 10:21:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=juniper.net
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 V2vVe0i52PBL; Mon, 9 Jul 2018 10:21:36 -0700 (PDT)
Received: from mx0b-00273201.pphosted.com (mx0b-00273201.pphosted.com [67.231.152.164]) (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 0E4D5130EAA; Mon, 9 Jul 2018 10:21:35 -0700 (PDT)
Received: from pps.filterd (m0108163.ppops.net [127.0.0.1]) by mx0b-00273201.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w69HJVEu024339; Mon, 9 Jul 2018 10:21:28 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=juniper.net; h=from : to : cc : subject : date : message-id : content-type : mime-version; s=PPS1017; bh=erkXQqxGJTHe5zncvLXSro8FGwobLvKQlJQXWy7D/ZI=; b=YR78FD1VJZ5syTm9k36leyluGnb9YGrMD43muyJcdTwP0/MkaLTkxXY5SWLD0IPfWhYM cXtz92vLbSJX7l3CwgIBQFyZzFXXWctwywYzHUOS8ZeVsql9UFsQxxmkno6LebRfDaqg jccRUgF25vaAsXinMlNrbhGEXYZtYFKMQGbBLLRa/u1CkoODKRZaoDdP4qU9ZmjQVZf+ QQwxuLgMde9HaDtPjnOv7O4kp6MqgctDt6cvYoj2hgni+1NtgDSBQwn6wRsazXtj9nwt RU4mxBZ9RylOZ+/1stUQindrpRurodqLOnzlydOL6WB5/CRnOLBH7YgGmT5C+qJlIQ9x jw==
Received: from nam01-sn1-obe.outbound.protection.outlook.com (mail-sn1nam01lp0111.outbound.protection.outlook.com [207.46.163.111]) by mx0b-00273201.pphosted.com with ESMTP id 2k4bjkr2p2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 09 Jul 2018 10:21:28 -0700
Received: from BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) by BYAPR05MB4230.namprd05.prod.outlook.com (52.135.200.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.9; Mon, 9 Jul 2018 17:21:26 +0000
Received: from BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc]) by BYAPR05MB4230.namprd05.prod.outlook.com ([fe80::959d:9fbe:90e4:3cc%4]) with mapi id 15.20.0952.013; Mon, 9 Jul 2018 17:21:26 +0000
From: Kent Watsen <kwatsen@juniper.net>
To: Qin Wu <bill.wu@huawei.com>, Andy Bierman <andy@yumaworks.com>
CC: "draft-ietf-netconf-nmda-restconf@ietf.org" <draft-ietf-netconf-nmda-restconf@ietf.org>, "netconf@ietf.org" <netconf@ietf.org>, Robert Wilton <rwilton=40cisco.com@dmarc.ietf.org>
Thread-Topic: nmda-restconf operations (was: netconf-binary-encoding comments)
Thread-Index: AQHUF6lET7OqF17zmUiYtvJ3MdJ3dg==
Date: Mon, 09 Jul 2018 17:21:26 +0000
Message-ID: <82A8420F-445C-42BD-9A47-DCF62A9864BC@juniper.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/f.20.0.170309
x-originating-ip: [66.129.241.11]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; BYAPR05MB4230; 7:eOcMBjAWwTK0r6X9OfKH09dH5kwoUBFYEDl6iQUY4me2dtmYWVfX0bw7Fx2gFIae056sZLDG6cyva5ajY5uEEsqn3gNfVMY+owIOOajn2Wl8Svu1/mrDTCzcoB9pMnRMbSK83JeH6IaEspGPUhjWIXzHaWQxp5HNcINjN7kAJV0Nz5vOb+lTY4g0XQJFb5WjdUwjn3HVZfc0Nvbl2a88GcEhLU7Kj56KiAExmRDcSjIhrbwbcMwpoB+njKO3p2Ji
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: eab6730b-25d4-4f07-1b59-08d5e5c066c1
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7153060)(7193020); SRVR:BYAPR05MB4230;
x-ms-traffictypediagnostic: BYAPR05MB4230:
x-microsoft-antispam-prvs: <BYAPR05MB4230E48FA3A645FDB69AE5B6A5440@BYAPR05MB4230.namprd05.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(158342451672863)(21748063052155);
x-ms-exchange-senderadcheck: 1
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BYAPR05MB4230; BCL:0; PCL:0; RULEID:; SRVR:BYAPR05MB4230;
x-forefront-prvs: 07283408BE
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(396003)(346002)(39860400002)(376002)(366004)(199004)(189003)(186003)(4326008)(33656002)(54906003)(6506007)(110136005)(6486002)(86362001)(26005)(6512007)(54896002)(316002)(2906002)(102836004)(66066001)(6306002)(105586002)(106356001)(476003)(36756003)(6436002)(58126008)(14454004)(486006)(2900100001)(2616005)(256004)(81166006)(81156014)(25786009)(8676002)(99286004)(6116002)(97736004)(3846002)(68736007)(5250100002)(5660300001)(53936002)(83716003)(478600001)(8936002)(82746002)(7736002); DIR:OUT; SFP:1102; SCL:1; SRVR:BYAPR05MB4230; H:BYAPR05MB4230.namprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
x-microsoft-antispam-message-info: GWyuXodUaCd7I9Fn8OlTA/lhkqCRT/1/AQio7tKM+0pqS3gF01+vyp2T49GGJyC9drMZ0kj/Yz90M5r397+c8UNx/CQ7TBOKiMCGG6Y2Nm8v+rbyNNWTgfOzn+XSbmpZ+2cfAjqw1IgMFm7xtyE/aF1bD4vY7VLJKhtOXogsvD4g7XeV6GT03zwddFZ1Ys3uSVoS+8XCZM50kbHYm930UoxISB//b7j5NfQ/wLXNW4mbwsIrR9HHKnCdufk4q3f8V7hFcJSHKwMDMJxtcH1MDkj/TW/ttizuhS/RxOO4viYmmnVAVM85lU1NLJ9KV1k2w5eXLa8VbRcfz5vRdLa4G/sjypNjgM4Sa/0qfXdaUoQ=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_82A8420F445C42BD9A47DCF62A9864BCjunipernet_"
MIME-Version: 1.0
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-Network-Message-Id: eab6730b-25d4-4f07-1b59-08d5e5c066c1
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jul 2018 17:21:26.2045 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4230
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-07-09_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807090197
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/lAMhudqh9EFC5WUVJSM8X6Z9XPQ>
Subject: [Netconf] nmda-restconf operations (was: netconf-binary-encoding comments)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Jul 2018 17:21:38 -0000

[changing the subject line]

>> nmda-restconf preserves the /data resource from RFC 8040.  My comment
>> is more about the lack of information for when the client chooses to use
>> <running> or <candidate> instead.  Maybe it's obvious, not sure, hence the
>> comment.
>
> If my understanding is correct, when :writable-running capability is
> supported, the client will chose to use <running>,only when <candidate>
> capability is supported, the client will choose to use <candidate>.


This isn't what I meant.  To be more specific, I'm wondering if the nmda-restconf
draft would benefit from having a sentence like:

   A RESTCONF server supporting NMDA datastores MAY implement the
   "ietf-netconf" [RFC6241] and "ietf-netconf-nmda" [I-D. ietf-netconf-nmda-
   netconf] modules to enable the NETCONF operations defined in those
   drafts to appear {+restconf}/operations resource.

Note: I put "MAY" as RESTCONF may someday have a more native way to do this.


Kent // contributor