Re: [Netconf] Does NMDA support synchronous configuration operation?

Henry Yu <hyu2010b@gmail.com> Mon, 25 June 2018 23:11 UTC

Return-Path: <hyu2010b@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 5735E130F1E for <netconf@ietfa.amsl.com>; Mon, 25 Jun 2018 16:11:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, 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 uTe7C5zSWYAe for <netconf@ietfa.amsl.com>; Mon, 25 Jun 2018 16:11:24 -0700 (PDT)
Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (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 26D4E130F09 for <netconf@ietf.org>; Mon, 25 Jun 2018 16:11:24 -0700 (PDT)
Received: by mail-ed1-x541.google.com with SMTP id t3-v6so6418098eds.3 for <netconf@ietf.org>; Mon, 25 Jun 2018 16:11:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=d9cLCvc8PVLI1lsQB2U6UatXDMK1jNkOrDrOfEl8tEA=; b=dWBRcFPGobWJn1RDXHgo4LA1HuNsRLYcpNRkbkhrrvZUl0y6XgdyscdSCGnmHjUh5o ukaaqooaGnVQDP0nvqVamaEoMCRWetEo7E7pPxQn/lrod25IUNd1xFVPXfx2A9ot60gq 0RiFAK4ZjYosAx14w0AlVmNn6w3YCdRe5pqdwF7WU71waDY3U/8mKRiZN03yti2T+dUY FHb3aSh7ZWlYrx00ew0sioOaP3vKH3oB2Y6DIer5lUnAGEFt5SUPZl6fxMTpT3Cp2JRL 6deJm8AZum4xPQwL+1I4uTcwt7egYiTqGIeZDTD1/TbZYaJ0bJH+ghYrIcX8jzkfhYGk QxYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=d9cLCvc8PVLI1lsQB2U6UatXDMK1jNkOrDrOfEl8tEA=; b=dl6RwciI9NlWn/DYF5g0AMScD5Ito7y8UXr/XipvN/ZHO9HnC0p0H1ulNfJlEwWqt+ f1k8mSKlf9Y9fSX5PtkoeXfPFmIGoxTgIReNcW0jq/a1XK+K/Q7IViyFzooNp904iCzG v+CQ78bmMW6W757WByhpKfly6zlAXoxRmTcs/OxSjAMdzeEQvqnMTLB4jPD0FcMlrZbQ m+xtGvJ/qsp+NpNl0jcqUyPoUbigu3NH0r+0LiraJPhwXJFYAMaomtSZDVSBjnuGsd5S wZSp+Z+1p6MIlV2Yq3MFHxg9drwe1kBM1pvCvb7jzFUVf4VenxalqnblMQdJ2qm4f0Xr gceA==
X-Gm-Message-State: APt69E28n22YBpoaI2ZbghA+FFYq3HdrrsKGHpdNKrZQG7hMp36lAiV1 XfrYgZcCIbqEXoH/h8k62Q0eq/TzWSJgFtgRuZ0=
X-Google-Smtp-Source: ADUXVKIGxHoJ4j5Lf4TNTuE+fg2bky9K4fDvVjD/i4T62tRJt06n8FZFHFW37ubbKnvX6tKWCVmS4vpXurFWx1OM4GY=
X-Received: by 2002:a50:b003:: with SMTP id i3-v6mr12991014edd.293.1529968282661; Mon, 25 Jun 2018 16:11:22 -0700 (PDT)
MIME-Version: 1.0
References: <CAFsbzLmF+=x7Uiru8mT_17gGxmPwaLn_k735JMDVyo3OTumZRQ@mail.gmail.com> <20180622224731.dvjo3vzcxkc46ggl@anna.jacobs.jacobs-university.de> <CAFsbzL==MsLiQznaLgjEsPV5D5tBPgpgcdG76riD4Yy_DODHOA@mail.gmail.com> <20180624082954.jboxxqxpuj732vat@anna.jacobs.jacobs-university.de> <CAFsbzLmWQ4me9=bsnJSNM6cKdHdGoh4EWNCxwobwtxbAVhqHRg@mail.gmail.com> <A2A3EF88-AA18-4E9B-857A-A0EEA83A163B@juniper.net> <CAFsbzLnEP=wQW32y_4CRriB8XxhjXtVSc1cFZ6ogg0nWs28DLg@mail.gmail.com> <20180625190014.4iysuylegm5ji6lw@anna.jacobs.jacobs-university.de>
In-Reply-To: <20180625190014.4iysuylegm5ji6lw@anna.jacobs.jacobs-university.de>
From: Henry Yu <hyu2010b@gmail.com>
Date: Mon, 25 Jun 2018 19:11:11 -0400
Message-ID: <CAFsbzLmtYAUtOMSqkhyJYqUUMUHJRkZu8zADPRWe95SV68e_Zw@mail.gmail.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, kwatsen@juniper.net, netconf@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/VvsvQADHcZ53bPJC3xC3agcqXT4>
Subject: Re: [Netconf] Does NMDA support synchronous configuration operation?
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.26
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, 25 Jun 2018 23:11:27 -0000

Hi Juergen,

On Mon, Jun 25, 2018 at 3:00 PM Juergen Schoenwaelder
<j.schoenwaelder@jacobs-university.de> wrote:
>
[snip snip snip]
>
> Note that once you deal with pluggable hardware, you often loose the
> synchronous behaviour since <running> and <operational> can deviate
> depending on hardware resources present. (This may also be true for
> pluggable software, i.e., software features controlled by licenses.)

You mentioned, in an earlier response as well, that "the change of
<running>, however, does not require that all changes have propagated
to <operational>".  I interpret it as that, in case of this pluggable
hardware scenario, when client, for example, POST a configuration,
server should save it into <running>, even when the target pluggable
is unavailable. This, of course, would cause difference between
<running> and <operational>. But the POST operation itself is
successful and returns success to client.

The above would be my implementation of the server. However, some
people believe a different implementation:  that the config should not
be saved to <running> if the pluggable is unavailable. And when
pluggable is unavailable, server should fail the POST config operation
and return error to client. We need to know which implementation is
correct. That's why I asked for clarification.

Thanks,
Henry

>
> /js
>

>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>