[forces] FW: New Version Notification for draft-ietf-forces-model-extension-05.txt

"Haleplidis Evangelos" <ehalep@gmail.com> Fri, 12 September 2014 22:36 UTC

Return-Path: <ehalep@gmail.com>
X-Original-To: forces@ietfa.amsl.com
Delivered-To: forces@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FD831A0077 for <forces@ietfa.amsl.com>; Fri, 12 Sep 2014 15:36:05 -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
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 2FBYWkdUFCw1 for <forces@ietfa.amsl.com>; Fri, 12 Sep 2014 15:36:03 -0700 (PDT)
Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3181C1A004C for <forces@ietf.org>; Fri, 12 Sep 2014 15:36:03 -0700 (PDT)
Received: by mail-we0-f178.google.com with SMTP id q58so1444307wes.9 for <forces@ietf.org>; Fri, 12 Sep 2014 15:36:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:thread-index:content-language; bh=nyMrJ9nNxUuTY3Zmy5lP4HZiXInDfLC05OtjXwGZpRE=; b=iuThI1UwPpUis4BQeHkN81UCzQPfaaLZYfB+brJMSGNaWksv09hO304JoXjtSFwcxH nI+EN0NSttp/fUynwP8VybRBAQPKfsjLNWgjlHN+dFBlf4LqNi7wKdbsqd8+S2PoD27x eqpBkvdlVe7bQissusZdUdiH00n87Y4OeoVAp9/wuytw8uqMmuheXbvnIR5MQCehi1NQ clQrYL4m685NuTd8L/hEnT5KWyXd5bwWCfC9WBWL/7EZH7p8vpRsX1q0H/Z44T0WYW3m jlKM6UzVIGp6l0+fvMEhKo1Z1JtZWfoTbUjA7J9DApj+FHIm8sqy22q7RGWRAlCrqXC4 vcdw==
X-Received: by 10.180.228.106 with SMTP id sh10mr5884963wic.65.1410561361803; Fri, 12 Sep 2014 15:36:01 -0700 (PDT)
Received: from EhalepXPS (ppp079166104131.access.hol.gr. [79.166.104.131]) by mx.google.com with ESMTPSA id n5sm5903095wja.38.2014.09.12.15.36.00 for <forces@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Sep 2014 15:36:01 -0700 (PDT)
From: Haleplidis Evangelos <ehalep@gmail.com>
To: forces@ietf.org
Date: Sat, 13 Sep 2014 01:36:05 +0300
Message-ID: <01fa01cfced9$f2810300$d7830900$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac/OC28L2HAiY428RfeToqS9SQeL7wAxupBQ
Content-Language: el
Archived-At: http://mailarchive.ietf.org/arch/msg/forces/Ed1HASHKyI0ccF7k9nCVWgrfVTc
Subject: [forces] FW: New Version Notification for draft-ietf-forces-model-extension-05.txt
X-BeenThere: forces@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: ForCES WG mailing list <forces.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/forces>, <mailto:forces-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/forces/>
List-Post: <mailto:forces@ietf.org>
List-Help: <mailto:forces-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/forces>, <mailto:forces-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Sep 2014 22:36:05 -0000

Greetings to the list,

The model extension draft was updated yesterday. There was a small issue with the default values for datatypes, but with the help and suggestions by Joel this was resolved.

The problem was that allowing typeRef and atomic values to have default values directly could create confusion and didn't make sense, as you may had multiple default value definitions in one place (e.g. if you created an LFB component this is atomic and both could have default values). 

So, the solution, suggested by Joel, was to move the default value from typeRef and atomic to the dataTypeDefinition altogether, similar to the component definition in LFBs.

So in effect the goal of having default values in datatypes is achieved in a simpler and cleaner way.

Now, there is a small overhead penalty. In order to define, e.g. a struct with 5 components with different default values, a developer would have to create 5 new datatypes. However the simplicity and gains are better that the alternative. In addition this scheme supports hierarchical default values. E.g. Define an data type once (e.g. an IPv4 address), and reuse it to define different default values as different datatypes as needed (localhost, broadcast, etc.). 

Examples are provided in the draft.

On a final notice, the following formal restrictions on default values were defined in order to remove ambiguity:

   1.  Default Values MUST be ignored if the data type is not an atomic
       or a base data type.

   2.  When a datatype X with default value A is referenced from a
       datatype Y with a default value B, the default value of the
       datatype that references overrides the referenced default value,
       e.g. in this case Y's default value will be B.

   3.  Default Values of LFB components overrides any default value
       specified from the dataTypeDef definition.

   4.  Default Values of datatypes reference in capabilities or metadata
       MUST be ignored.

Regards,
Evangelos Haleplidis.

> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> Sent: Friday, September 12, 2014 12:57 AM
> To: Evangelos Haleplidis; Evangelos Haleplidis
> Subject: New Version Notification for draft-ietf-forces-model-
> extension-05.txt
> 
> 
> A new version of I-D, draft-ietf-forces-model-extension-05.txt
> has been successfully submitted by Evangelos Haleplidis and posted to
> the IETF repository.
> 
> Name:		draft-ietf-forces-model-extension
> Revision:	05
> Title:		ForCES Model Extension
> Document date:	2014-09-11
> Group:		forces
> Pages:		30
> URL:            http://www.ietf.org/internet-drafts/draft-ietf-forces-
> model-extension-05.txt
> Status:         https://datatracker.ietf.org/doc/draft-ietf-forces-
> model-extension/
> Htmlized:       http://tools.ietf.org/html/draft-ietf-forces-model-
> extension-05
> Diff:           http://www.ietf.org/rfcdiff?url2=draft-ietf-forces-
> model-extension-05
> 
> Abstract:
>    This memo extends the Forwarding and Control Element Separation
>    (ForCES) model defined in RFC 5812 and updates RFC5812 to allow
>    complex datatypes for metadata, optional default values for
>    datatypes, optional access types for structures.  It fixes an issue
>    with Logical Functional Block (LFB) inheritance.  It also introduces
>    two new features a new event condition BecomesEqualTo and LFB
>    properties.  The changes introduced in this memo do not alter the
>    protocol and retain backward compatibility with older LFB models.
> 
> 
> 
> 
> Please note that it may take a couple of minutes from the time of
> submission until the htmlized version and diff are available at
> tools.ietf.org.
> 
> The IETF Secretariat