[CCAMP] AD review of draft-ietf-ccamp-rwa-wson-encode

"Adrian Farrel" <adrian@olddog.co.uk> Fri, 02 January 2015 20:14 UTC

Return-Path: <adrian@olddog.co.uk>
X-Original-To: ccamp@ietfa.amsl.com
Delivered-To: ccamp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com []) by ietfa.amsl.com (Postfix) with ESMTP id 62C9E1A09CF for <ccamp@ietfa.amsl.com>; Fri, 2 Jan 2015 12:14:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -96.879
X-Spam-Status: No, score=-96.879 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FRT_SLUT=2.522, J_CHICKENPOX_21=0.6, RCVD_IN_DNSWL_NONE=-0.0001, USER_IN_WHITELIST=-100] autolearn=no
Received: from mail.ietf.org ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id OaO0NUd5UA9U for <ccamp@ietfa.amsl.com>; Fri, 2 Jan 2015 12:14:54 -0800 (PST)
Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com []) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EC06C1A009E for <ccamp@ietf.org>; Fri, 2 Jan 2015 12:14:53 -0800 (PST)
Received: from asmtp1.iomartmail.com (localhost.localdomain []) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id t02KEp76024246; Fri, 2 Jan 2015 20:14:51 GMT
Received: from 950129200 (089144233147.atnat0042.highway.a1.net []) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id t02KElOs024218 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 2 Jan 2015 20:14:48 GMT
From: "Adrian Farrel" <adrian@olddog.co.uk>
To: <draft-ietf-ccamp-rwa-wson-encode.all@tools.ietf.org>
Date: Fri, 2 Jan 2015 20:14:47 -0000
Message-ID: <00dd01d026c8$c3bd9280$4b38b780$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdAmyKqM3E2i5eP+S/KXayUoWZed4Q==
Content-Language: en-gb
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-
X-TM-AS-Result: No--11.280-10.0-31-10
X-imss-scan-details: No--11.280-10.0-31-10
X-TMASE-MatchedRID: O84fAHwL3yYO1mBHjZk2Z2zBijri5+RVQPCWRE0Lo8INht78/JfyBH4i YBGxt1fkimtAwSiXdMtKfNd/iba9Mghqh+u1IaR7vR08UROkEAfiXOoSlo9AtYie9XwPLRloWDy 2IMXTT3OdBKKWd1ffcre9jPJWA+Z/gRy3HHXz6cZiv30iYhlp+Isp+viXR4XPEvoxTu3fj1skMu XjuduJJBIN0bzkIrLm973/oIMFf3XyvcecKfVZZrMjW/sniEQKO4pKSa7Lv+h9LdeLUfy09FdvB nmDaArQ26g0kDjoXKRuBT6o3iOHLu7ou6E91dhwlUgQqGVMqmzNXgP7liZ5IpnNlSgGlfGpkdvI xNucy79gB3SIGroEhuAbxsLrrMxvJVWqk0NljVxCnGIuUMP0VTpA2zZYJjv1tWFMPVR2CrwDXUJ oExxkYVK50ScIKuW/3ZVgL7zR0YOsrZTs2119PGZUc2jtcaSdecvjbu/xDjrGcoKvwj5q6MxFQx p3PhHy3Jcd+STYx3M1JoIJPO9ekae6VD7Jgj7YttAWxuM5sl5Aq6/y5AEOOn3hz57t9YhwIDyud jRTUrMZCUGt3x2RMeQWkLhsbF5/NtywwIf5ksXCz1ymGcrCUeZ0LhZsHFMkmP1Huhu1yDJf20sY TM3N/zM2G9lx61E59tznvLHRcTxFSULGbXbuRMOvQCMFyZ9GlzlaNFD3vRR0QbvL4PujkEdOR0K gb7aXiNl9h5S6sqlvWlwOrq3+QR6Hacd6Ohq7gnu8EE+WsiWbKpAlY2y6STdZML5k/9dKmk14jx up4NFbxNgmsP4hvMTVAQw8lyq7Gbix+omBY2yeAiCmPx4NwLTrdaH1ZWqCHOI0tZ7A+B36C0ePs 7A07YnxgmBGuBcXo0xeBPTo8Mqkgy5YF8m5Y528B9uAHu4vH+0ecsOF9dM=
Archived-At: http://mailarchive.ietf.org/arch/msg/ccamp/12UA5MgvRO8TY4K7xnltK7qI3-c
Cc: ccamp@ietf.org, ccamp-chairs@tools.ietf.org
Subject: [CCAMP] AD review of draft-ietf-ccamp-rwa-wson-encode
X-BeenThere: ccamp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: adrian@olddog.co.uk
List-Id: Discussion list for the CCAMP working group <ccamp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ccamp>, <mailto:ccamp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ccamp/>
List-Post: <mailto:ccamp@ietf.org>
List-Help: <mailto:ccamp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ccamp>, <mailto:ccamp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Jan 2015 20:14:57 -0000


I've now done my AD review of this document. I am rather regretting
starting the IETF last call for draft-ietf-ccamp-general-constraint-
encode on which this document depends because it seems that this
document introduces WSON-specific encodings (all of those before
Section 4) that should/could have been made generic. In fact, I
thought the point of the general encodings document was to produce
protocol objects that could be used by technology-specific documents
like this one.

If you can respond to my comments below, we can work out whether the
general encodings document needs to be brought back for more work.

Thanks for your efforts with this.




   while other parts are fairly specific to WSONs.

They are either specific or they are not. I think you need
s/fairly specific/specific/


Shouldn't the Introduction include a discussion of and reference to


The Introduction has

   This document provides efficient encodings


   Note that since these encodings are relatively efficient

Which are they? And relative to what?


Section 1.1 has

   Refer to Section 5 of [Gen-Encode] for the terminology of Resources,
   Resources Blocks, and Resource Pool.

I think you mean [RWA-Info]. That would also make [RWA-Info] a normative
reference which seems correct anyway.


Section 1.1 makes RFC 6163 a normative reference.


Section 2.1 seems somewhere between a copy of and a modification of
the Link Set Field in 2.3 of [Gen-Encode].

Some clarification would be useful. If this is different, why is it not
using one of the generic encodings applied in a specific way? If it is
the same, you should probably just reference the encoding in
[Gen-Encode] and describe here how the fields are used, but if you
insist in re-drawing the figure it should be aligned with the figure in


Section 2.1

   The RB identifier represents the ID of the resource block which is a
   32 bit integer.

You might note that the scope of the RB identifier is local to the node
on which it is applied although that node may choose to use a globally
known encoding such as from RFC 6205.

I assume that flexi-grid is out of scope for WSON. If it is not, then
you need to think further about your 32 bit identifiers.


Section 3.1

Why isn't the Resource Accessibility Field expressed in terms of the
use of a generic Connectivity Matrix Field from section 2.1 of
[Gen-Encode]? I thought the whole point of [Gen-Encode] was to derive
application agnostic encodings that could be used without modification
(but with applicability notes) by specific technologies.


Section 3.2

I looked for the equivalent of the Resource Wavelength Constraints
Field in [Gen-Encode]. I understand that Input Wavelength Constraints
Field and Output Wavelength Constraints Field are encoded using the
generic Label Set of  [Gen-Encode], but I thought that the whole concept
of Resource Constraints would be generic.


Section 3.3

As with the previous section I don't see anything that is WSON-specific
in the concept of the 3.3. Resource Block Pool State (RBPoolState) Field
and I wondered why [Gen-Encode] doesn't have anything to cover this.


Section 3.3

   Where Action = 0 denotes a list of 16 bit integers and Action = 1
   denotes a bit map. In both cases the elements of the RB Set field
   are in a one-to-one correspondence with the values in the usage RB
   usage state area.

This is not clear. I think the Action field is explaining how the
RB Usage State field is encoded.
- Not sure why you call it "Action"
- Would be good if you could make it clear that "16 bit integers"
  or "bit map" apply to the RB Usage State field.


   RB#i State (16 bits, unsigned integer): indicates Resource Block #i
   is in use or available.

- You might say what value of the 16 bit unsigned integer indicates in
  use and what value indicates available.
- You should explain to me why a list of 16 bit integers to encode a
  set of Booleans is in anyway efficient or appropriate.

It is *really* hard to parse from this section that the state applies
to the whole RB when Action is 0, but applies to the elements of the RBs
when Action is 1. At least, that is what I think I parsed from the text
although I also found text in the section that convinced me you meant
something else.

In short, this section is not clear!


Why don't Sections 3.4 and 4 have a B-bit like that in 3.2?


Sections 3.4 and 4 should list the allowed settings of I and O
(presumably: 01, 10, 11). Cf. Section 3.2.


Section 4

How do I know the length of the ResourceBlockInfo field? I need to know
this to decide whether to try to parse the next bytes as another
Optional subfield. I *do* when I reach the end of one Optional subfield,
but I don't know whether another follows.

Possibly you intend the object that includes a ResourceBlockInfo field
to provide the length information, but other fields defined in this
document do include lengths or enough information to deduce the lengths.


Section 4.1

   The following I and E combination are defined:



Section 4.1

           1: [ITU-G.698.1] application code.

           2: [ITU-G.698.2] application code.

           3: [ITU-G.959.1] application code.

           4: [ITU-G.695] application code.

You should use the same format as in the references section. E.g.,

Do you mean 698 or 694? You have references for 694.1 and 694.2, but
not 698.1 or 698.2. But 694.1 does not seem to include any "application
codes" - they're in 698.1 and 698.2.

Each of the subsections 4.1.1-4.1.4 should include a citations.


Section 4.1
How do I interpret a Vendor-Specific Application Code? Is there an OUI
I'm missing?


I discussed sections 4.1.1-4.1.4 with the authors and the WG chairs and
have asked the chairs to send a liaison to ITU-T Q6/15 asking them to
cast an eye over the text of these sections.



   Where (values between parenthesis refer to ITU defined values as
   reported above):

Please remove the parentheses from this sentence.


4.1.1 and 4.1.2

      An Optional F can be added indicating a FEC Encoding.

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      |B|  D  |S|   c   |   W   |   y   |   t   |   z   |  v  |   F   |
      |                           reserved                            |

         F (suffix): = 0 reserved, = 1 Fec Encoding

      Values not mentioned here are not allowed in this application

If F is optional but only one value is allowed (viz. 1) how do I opt to
not indicate a FEC Encoding?


4.1.1 and 4.1.2

Your definition of parameter c makes RFC 6205 a normative reference.
I think you could usefully point with more precision to Figure 2 in 
Section 3.2 of RFC 6205.

However, I wonder whether you want to allow new values that may be added
to the IANA registry created by Section 5.2 of RFC 6205


4.1.3 and 4.1.4

         n: maximum number of channels (10 bits, up to 1024 channels)

Hmmm, 2^10 is 1024, but 10 bits can only encode 1023 unless you say that
n=0 is not valid and so n is actually max channels minus one.



   The processing capability list field is then given by:

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     |            Reserved           |        Processing Cap ID      |
     |   Possible additional capability parameters depending upon    |
     :   the processing ID                                           :

   When the processing Cap ID is "regeneration capability", the

I don't believe you have told me how to encode "regeneration
capability" into the Processing Cap ID field. Possibly you mean that the
numbered list above is intended to define the settings of this field.
If so then:
- say so
- explain that "Fault and performance monitoring" and "Vendor Specific
  capability" have no additional capability parameters
- probably remove the note about "Fault and performance monitoring" and
  "vendor specific capability" because if it isn't here it is, of
  course, for future study.



   Note that when the capability of regenerator is indicated to be
   Selective Regeneration Pools, regeneration pool properties such as
   input and output restrictions and availability need to be specified.
   The code point for this is subject to further study.

I think you mean to replace that final line with...

   These properties will be encoded in the capabilities field starting
   with the bits marked Reserved in the figure.  An additional
   specification describing the encoding of these parameters is required
   before the value C=2 can be used.


Section 6

In Section 6 and 6.1 you appear to be creating a new top-level registry
called "GMPLS Routing Parameters for WSON" with a sub-registry called
"Types for subfields of WSON Resource Block Information".

It's a shame to create a whole new top-level registry. I suppose you 
think that this information will only ever be used in routing and
never in signaling. Probably right, in which case you are good to go,
although your text could be clearer.


Section A.3 is using some form of BNF to represent information.

This is probably RBNF from RFC 5511. Anyway, you need to give a
reference so people can read it.

It would be nice to lay the BNF out on the page in a more readable way.