[netconf] Query regarding rfc6241 - 7.2

aruna potti <arunapotti@gmail.com> Tue, 14 January 2020 16:12 UTC

Return-Path: <arunapotti@gmail.com>
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 8BC311208DF for <netconf@ietfa.amsl.com>; Tue, 14 Jan 2020 08:12:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 TivVU3g7p5BM for <netconf@ietfa.amsl.com>; Tue, 14 Jan 2020 08:12:43 -0800 (PST)
Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 67D771208CB for <netconf@ietf.org>; Tue, 14 Jan 2020 08:12:43 -0800 (PST)
Received: by mail-ed1-x533.google.com with SMTP id i16so12393556edr.5 for <netconf@ietf.org>; Tue, 14 Jan 2020 08:12:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DsDNMrRqE/46ln9E0WZB80qTCdXITbq4JxZrQuTEgPk=; b=LnnJDphNAb11aBVEv9g+NBbF2cDYNHRNlpe2xqp0wmVd/zHfRlR/gmxQOZu2jPgpoC mTE/Y6kFGrASPn6Lam4PC4p8jHO5GpVPGlsmArarTM+213kBrn8StVu2lI8jR5rOHhzS so+ZqRm7WLGn68SQSQ4cpsHDGMxPFisAeFsaG39xIsF775o66tc5Wbj1m1ywNv+cwRdD VW+QrbCCcnwt3BPMRmJqN0HwnVtRCZdC0cYxbB6bvkoK0j+pqvD5DiqutP8iG2TLEXcB MtmrxOkBQExiRYE+zITr9ukIKCXRv+ttQrXUdQWO9G5O7rhG0CoYRWhQ6FjW0jFoWn2I NUhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DsDNMrRqE/46ln9E0WZB80qTCdXITbq4JxZrQuTEgPk=; b=JudMZy3h/2vin7ScNL/ZyhgBwoRf9QQ+uUsQt21UrnNXYJfHElOGKGlHxXjzz02Xdw ulhsxdcZZw///l470p3vDOB0K7maMYD97ZNoQatJJwWRjHgG1Ye5dWypmstSWn8nr0PR VhctEd7QPel54qapX/Mq6fhQoYCaub6SLTq0y4Y3JgSRSWGzcoFusKex4NbJXcaELqK4 dLOcciztR1jeMf5iPF1BkqJqaW6D0kVYlQp0Sp0pBZZB0On8u6GVMVQ4bsjllhvd4ogw eLyw3swLmdbzHi9hXdw1GW5/uIw8k7irkbxRq2grIOECUEkLkTSaok5vqUJl5daQwSJy Rt9w==
X-Gm-Message-State: APjAAAXcN0fVmEOK6ZE2akVWXJ2GWYms/KZs7iVbDkwYrYyxwkQqnGmT 7HWNdYPGhEklJkmyjv/Ex71rLG7d7cPlZ/KIBgMUvvb6NrU=
X-Google-Smtp-Source: APXvYqz2GYwXEIRu/IUjTVNhy2jjajYWcFv1YAssgrOqPyjS4aAyuwXl74sNe+RUQO/CzE2pQ9tQiYF2z77FwqV/Uig=
X-Received: by 2002:aa7:cd7c:: with SMTP id ca28mr24165184edb.101.1579018361542; Tue, 14 Jan 2020 08:12:41 -0800 (PST)
MIME-Version: 1.0
From: aruna potti <arunapotti@gmail.com>
Date: Tue, 14 Jan 2020 08:13:45 -0800
Message-ID: <CACpTNnahb=o6PHqqzbdYi+QcN56HQBJNzBk+VqY8xGfC5ScpcA@mail.gmail.com>
To: netconf@ietf.org
Content-Type: multipart/alternative; boundary="000000000000889c85059c1bdc7b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/K0YcR-QDEkC_Y8AYOdjD9MklEWc>
Subject: [netconf] Query regarding rfc6241 - 7.2
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG 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: Tue, 14 Jan 2020 16:12:50 -0000

Hi,

I have a question in section 7.2 of rfc6241.

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).

As per the description I would like understand if my below query
response is defined or not.

If my request is not valid, please suggest how we can break it into
multiple valid edit-configs?


<nc:rpc
xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"
nc:message-id="FJ0883">

  <nc:edit-config>
    <nc:target>
      <nc:running/> </nc:target>
    <nc:config>
      <org-openroadm-device xmlns="http://org/openroadm/device">
        <interface>
          <name>odu-1-11-42/1.1.1</name>
          <type
xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:otnOdu</type>

          <administrative-state>outOfService</administrative-state>
          <odu xmlns="http://org/openroadm/otn-odu-interfaces"/>
</interface>
        <interface>
          <name>odu-1-11-2/1</name>
          <type
xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:otnOdu</type>

          <administrative-state>outOfService</administrative-state>
          <odu xmlns="http://org/openroadm/otn-odu-interfaces"/>
</interface>
        <interface>
          <name>eth-1-11-2/1</name>
          <type
xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>

          <administrative-state>outOfService</administrative-state>
        </interface>
        <interface nc:operation="delete">
          <name>odu-1-11-42/1.1.1</name>
          <type
xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:otnOdu</type>

        </interface>
        <interface nc:operation="delete">
          <name>odu-1-11-2/1</name>
          <type
xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:otnOdu</type>

        </interface>
        <interface nc:operation="delete">
          <name>eth-1-11-2/1</name>
          <type
xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>

        </interface>
        <odu-connection nc:operation="delete">
          <connection-name>odu-1-11-42_1.1.1_odu-1-11-2_1</connection-name>
        </odu-connection>
      </org-openroadm-device>
    </nc:config>
  </nc:edit-config>
</nc:rpc>


Thanks,

Aruna.