Re: [netmod] Fw: draft-sambo-netmod-yang-fsm-04

nicola sambo <nicosambo@gmail.com> Fri, 28 December 2018 09:29 UTC

Return-Path: <nicosambo@gmail.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 B34B3128CE4 for <netmod@ietfa.amsl.com>; Fri, 28 Dec 2018 01:29:42 -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_PASS=-0.001, URIBL_BLOCKED=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 b0r8cMHrBtFt for <netmod@ietfa.amsl.com>; Fri, 28 Dec 2018 01:29:40 -0800 (PST)
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 3D2BA1200D7 for <netmod@ietf.org>; Fri, 28 Dec 2018 01:29:40 -0800 (PST)
Received: by mail-pf1-x436.google.com with SMTP id c123so10286909pfb.0 for <netmod@ietf.org>; Fri, 28 Dec 2018 01:29:40 -0800 (PST)
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 :cc; bh=y6WFtXyu1RdwyHsDqTwA5e+GasHXmRGJhM+we1Fb5lM=; b=pDjsHoV7Q+3kzciCvVKJ5nl9j6PQWiOMa04cVU4CpkBUts1ZuSv417/ZYQS8tkybkA rO/FW+8/Ushuqg3mR0cCsKbNzv3PrKN5uDeQM3kPkhw4fTjYvEADUQbpek5DIjsBrHQ8 MnUBDpr1B2GjOMYf5HM2MYMJcBCNUJcFNfh1+fd6n4LaBMKbsLvz0tK/KgERaf7hffe9 oDq1hD1dM2/0JtJf1kF5GWmpJce1ZMentHlT00FczJmLaRX9Gep7u0G5orBdlr2lZWrK 9EDVg/xMK8e5Fuv8XnXG11n3AizQX3LYRTE6wDz2Tb11f4q3Cvptm+X5xJPEOj0MxSDc E+tA==
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:cc; bh=y6WFtXyu1RdwyHsDqTwA5e+GasHXmRGJhM+we1Fb5lM=; b=SYqPyhnGucsUgeywYETL1TBvW1sKpxmBHylXNOcCwjYp+1Vhlss0SW6HUlqIHb2sJu QdK7+SnrhEw9pwJIRLmRHrf773xEjtLOGTz0UmVrCZYsk93wcJTBvFVhyqtssgBywdJ1 CcpelMxVZf1DGiNyT9PJIEvScXb7/FLB/yIVYQUkk2E3e2iu09OLcDnrLsD6TWXbid+g DtHIOt/BOnN3wodCfOv1sSveI7hgzj4LnVL88nInw+FfSui92NYrcuRPNzj8QAkMSpcQ oHfYpe5+lwnPGaWHmkJSVYKdvliUjgn2EbTmp4RckAjvgFFKdOi2eX8S0UFGe/RjJxvv gSIw==
X-Gm-Message-State: AA+aEWYzonoRXTbHd7t/JNNz8Z12eWZnftnBCYS9aWjx/ZusLK0Gai9M tU/+3A9ijPVBaH7I9e/1uFd1YzMiyttbzUs43fY=
X-Google-Smtp-Source: AFSGD/UPe1Untv6W+F9NgbENSLkfEZu12U8zVpPI52trdItuoK8iA8ci0Z1y8IRrt+5N+Gisg2GWGi6xUZELONFVW+s=
X-Received: by 2002:a62:1289:: with SMTP id 9mr27707859pfs.102.1545989379516; Fri, 28 Dec 2018 01:29:39 -0800 (PST)
MIME-Version: 1.0
References: <web-135392761@ucs.santannapisa.it>
In-Reply-To: <web-135392761@ucs.santannapisa.it>
From: nicola sambo <nicosambo@gmail.com>
Date: Fri, 28 Dec 2018 10:29:28 +0100
Message-ID: <CADqwGbc5S3yK11jdAEuiRQ4V9Wd7gNGsxeUvvn90e8XQ_pJ51A@mail.gmail.com>
To: Ottawa Guy <ottawaguy81@yahoo.com>
Cc: netmod@ietf.org, Giuseppe Fioccola <giuseppe.fioccola@huawei.com>, piero.castoldi@sssup.it, Haoyu song <haoyu.song@huawei.com>
Content-Type: multipart/alternative; boundary="000000000000caee3f057e11b303"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ptBLKzTu0Whtdy4WPs091Shx5OA>
Subject: Re: [netmod] Fw: draft-sambo-netmod-yang-fsm-04
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 28 Dec 2018 09:29:43 -0000

Hi Hadi,

thanks, please find answers inline:

From: Ottawa Guy <ottawaguy81@yahoo.com>
> To: "nicola.sambo@sssup.it" <nicola.sambo@sssup.it>it>, "
> piero.castoldi@sssup.it" <piero.castoldi@sssup.it>it>, "
> giuseppe.fioccola@huawei.com" <giuseppe.fioccola@huawei.com>om>, "
> haoyu.song@huawei.com" <haoyu.song@huawei.com>
> Cc:
> Bcc:
> Date: Mon, 24 Dec 2018 21:09:15 +0000 (UTC)
> Subject: Fw: draft-sambo-netmod-yang-fsm-04
>
>
> Hi,
>
> I am working for Ciena. We are exploring use of generic FSM propose in IETF "draft-sambo-netmod-yang-fsm" for our product. I have few questions about the proposed yang model.
>
>
> 1. Where can I download the latest version of the FSM yang file. Is there
> any github location.
>

The github location is https://github.com/nicola-sambo/FSM

anyway, the last version of the draft should include the whole code:
https://datatracker.ietf.org/doc/draft-sambo-netmod-yang-fsm/?include_text=1


> 2. I didn't find "filter-type" in the yang definition described the
> section 7.2 of the document.
>

I think we removed it, but it is still in the text for a mistake. Please,
let me better check.


> 4.  "transition-type" takes a identity value "ON_CHANGE" . What other
> value can it assume. I am looking for some use cases.
>

This draft defines a general finite state machine. Then, each use case
should have a proper implementation with proper attributes' values.
Currently, the use case that we implemented is the reaction to a change of
BER (
https://datatracker.ietf.org/doc/draft-sambo-ccamp-yang-fsm-transponder-reconf/),
thus we assumed that type of transition. Consider that the work is in
progress and if you have in mind other use cases we can include the values
you think are relevant. We are happy to collaborate with you on the
augmentation of the model. Regarding the transponder reconfiguration,
please check this implementation
https://datatracker.ietf.org/doc/draft-sambo-ccamp-yang-fsm-transponder-reconf/?include_text=1

Please, also consider that, there, the "filter" has been replaced with
"threshold-parameter" and "threshold-operator", but the concept is the
same, thus something which permits to better describe the transition.


> 4. The state-id-type  is defined as uint32.  Is there any reason why
> "identity" was not used. That way derived module could extent the state-id.
>

Currently, the identity is associated to the type of transition not to the
state, the state has an id and a description. If there is a reason to add
"identity" to the state, this is not a problem.


> 5. Is there other yang example where this generic FSM is being used.
>

the other identified use cases up to now (performance measurements,
telemetry) are described in draft-sambo-netmod-yang-fsm-04 . As above, we
implemented the case of transponder reconfiguration. But there are others
we are thinking about, also with respect to the ones already identified.


> 6. How do I join in the mailing list.
>

subscription here: https://datatracker.ietf.org/wg/netmod/about/
I am already replying to the mailing list.

I am now on travel, let's update after January 6. We can set also a
conference call if it's easier.

Thanks and best regards,
Nicola