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

nicola sambo <> Fri, 28 December 2018 09:29 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B34B3128CE4 for <>; Fri, 28 Dec 2018 01:29:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.998
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: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id b0r8cMHrBtFt for <>; Fri, 28 Dec 2018 01:29:40 -0800 (PST)
Received: from ( [IPv6:2607:f8b0:4864:20::436]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 3D2BA1200D7 for <>; Fri, 28 Dec 2018 01:29:40 -0800 (PST)
Received: by with SMTP id c123so10286909pfb.0 for <>; Fri, 28 Dec 2018 01:29:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <>
In-Reply-To: <>
From: nicola sambo <>
Date: Fri, 28 Dec 2018 10:29:28 +0100
Message-ID: <>
To: Ottawa Guy <>
Cc:, Giuseppe Fioccola <>,, Haoyu song <>
Content-Type: multipart/alternative; boundary="000000000000caee3f057e11b303"
Archived-At: <>
Subject: Re: [netmod] Fw: draft-sambo-netmod-yang-fsm-04
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Fri, 28 Dec 2018 09:29:43 -0000

Hi Hadi,

thanks, please find answers inline:

From: Ottawa Guy <>
> To: "" <>it>, "
>" <>it>, "
>" <>om>, "
>" <>
> 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

anyway, the last version of the draft should include the whole code:

> 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 (,
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

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:
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,