[netmod] Question on edit-config statement (section 7.2)

"Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com> Tue, 13 March 2018 12:45 UTC

Return-Path: <bart.bogaert@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 60DDA12D892 for <netmod@ietfa.amsl.com>; Tue, 13 Mar 2018 05:45:37 -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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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 u-WGNBcIwff1 for <netmod@ietfa.amsl.com>; Tue, 13 Mar 2018 05:45:35 -0700 (PDT)
Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0096.outbound.protection.outlook.com [104.47.2.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 027C11241F5 for <netmod@ietf.org>; Tue, 13 Mar 2018 05:45:34 -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=7aJXy/HWLvDwnkgM5FpWtJhJSD1/0H7uozJWmuEPWgM=; b=cZgt981F26zgP3SvZC9+OTMAJ1+g7sKmsWGLWe0c6zcdVIWs3QaTXEzbzkW+z+DrbljGYO64DuIPE5ET5awe0HwkC2Yy9WsKGJlVwks0S41WRCQA5ByDnmokWc46nta/00ZOgWPvwEPJ1clYRMjmz3ulPnKrhXxAx1MoPDLHcKA=
Received: from AM4PR07MB1716.eurprd07.prod.outlook.com (10.166.133.24) by AM4PR07MB3201.eurprd07.prod.outlook.com (10.171.188.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.7; Tue, 13 Mar 2018 12:45:30 +0000
Received: from AM4PR07MB1716.eurprd07.prod.outlook.com ([fe80::34d9:5205:4b82:61e3]) by AM4PR07MB1716.eurprd07.prod.outlook.com ([fe80::34d9:5205:4b82:61e3%4]) with mapi id 15.20.0588.013; Tue, 13 Mar 2018 12:45:30 +0000
From: "Bogaert, Bart (Nokia - BE/Antwerp)" <bart.bogaert@nokia.com>
To: "netmod@ietf.org" <netmod@ietf.org>
Thread-Topic: Question on edit-config statement (section 7.2)
Thread-Index: AdO6x+OjHckyvYd9S0OTgdY4vNFymA==
Date: Tue, 13 Mar 2018 12:45:30 +0000
Message-ID: <AM4PR07MB1716CCD3E164A54E98F94AEC94D20@AM4PR07MB1716.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=bart.bogaert@nokia.com;
x-originating-ip: [2a02:1811:e41a:9e00:1cbc:6ca0:6496:3e47]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; AM4PR07MB3201; 7:Ar1072StEZ2B4Cj/THFB7y/qWbjOCMknGRSHeRFGGHLb4gun54PpDLY+3GSPoy+ZcoAODpF2eERhr9HHWSM0Un7nVesrn7yzcb7yCygBjJHYzo9zVSzzCmPKRk1/WAQmnGy3QZ6VusKChxd9HcNhZreVYa3Pnbbxxbkv2UJZzMEeeTiy/dVv/aaDHgXIrQ9mgCnGRU+Swx00U+ebBXrYLOgGBXZwp2+XK6j3QF/tZUt7lv6Z4EygrBp9W6yCrEMJ
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 6dfd67a0-1a79-41b2-2902-08d588e04e34
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020); SRVR:AM4PR07MB3201;
x-ms-traffictypediagnostic: AM4PR07MB3201:
x-microsoft-antispam-prvs: <AM4PR07MB320143BA9AAE3965A110349394D20@AM4PR07MB3201.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(21748063052155);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231221)(11241501184)(806099)(944501244)(52105095)(3002001)(10201501046)(6055026)(6041310)(20161123558120)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM4PR07MB3201; BCL:0; PCL:0; RULEID:; SRVR:AM4PR07MB3201;
x-forefront-prvs: 0610D16BBE
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39860400002)(39380400002)(366004)(346002)(376002)(396003)(57704003)(189003)(199004)(55016002)(2900100001)(74316002)(6436002)(5640700003)(5660300001)(53936002)(478600001)(54896002)(9686003)(6306002)(86362001)(6916009)(25786009)(14454004)(105586002)(186003)(8676002)(1730700003)(81156014)(102836004)(6506007)(316002)(8936002)(2501003)(106356001)(97736004)(81166006)(5250100002)(33656002)(790700001)(6116002)(7736002)(68736007)(2351001)(2906002)(7696005)(3660700001)(99286004)(46003)(3280700002)(5630700001); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR07MB3201; H:AM4PR07MB1716.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)
x-microsoft-antispam-message-info: 1+uAef64+jzSAx8KSjg3S8MEENDoM4MaH9V2cTrA1toWp8HR6+M4JeqgFqFwFMoe9brISla7RVe49ZPsAaEIYsfyGzHNEb8q+FsMdRnL6lsphR5x39vv90FcZ6TE6+ZlTgZq3u7bAQYtdUto++Lp2SM4hv82G7mcvg30wlHvHRn5teC2VtLe03iyrmrnCy9dT0YzV69I1NxbCXZLTAE0LipaNCKEL07odqHbBaIlL4+rNF5Pl0UAFqIxQ5AYLAqHyGLdJx+kKP03txE5HBMd1gngLyRfXszOK1SA9GbLch7W31/kjSuT9Kjnsn3+KyE0qQa54DrAbND8F3DGeCFVWk1Q7zQ9kd+Fv0WO2fK4LDfb3kr2YBmqBNGjC1R2ZwYx
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_AM4PR07MB1716CCD3E164A54E98F94AEC94D20AM4PR07MB1716eurp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6dfd67a0-1a79-41b2-2902-08d588e04e34
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2018 12:45:30.8065 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR07MB3201
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ml_NaHuMKtez9yqdVIekyGWKYUU>
Subject: [netmod] Question on edit-config statement (section 7.2)
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: Tue, 13 Mar 2018 12:45:37 -0000

Hi,

We have a question about the following statement in the edit-config RPC section:

"If the <edit-config> operation contains multiple sub-operations
that apply to the same conceptual node in the underlying data
model, then the result of the operation is undefined (i.e.,
outside the scope of the NETCONF protocol)."

How do we need to read this?  Does this mean that if there is an edit-config in which, say, 10 interfaces are created these 10 interfaces need to be grouped in the same "section" of the edit-config as this:
<edit-config>
  ...
  <interfaces>
    <interface>
      <name>one</name>
      ...
    </interface>
   <interface>
      <name>two</name>
      ...
    </interface>
  </interfaces>
  ...
</edit-config>

And not like this:
<edit-config>
  ...
  <interfaces>
    <interface>
      <name>one</name>
      ...
    </interface>
  </interfaces>
  ...
  <interfaces>
    <interface>
      <name>two</name>
    </interface>
  </interfaces>
  ...
</edit-config>

Regards, Bart